Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-break/page-break-important.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>CSS Break: !important flag parsing</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<div id="target" style="page-break-before: always !important">Some text.</div>
</body>
<script>
test(() => {
assert_equals(target.style.pageBreakBefore, 'always');
});
</script>
</html>