widows-computed.html (648B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Fragmentation Module Level 3: getComputedStyle().widows</title> 6 <link rel="help" href="https://drafts.csswg.org/css-break/#propdef-widows"> 7 <meta name="assert" content="widows computed value is specified integer."> 8 <script src="/resources/testharness.js"></script> 9 <script src="/resources/testharnessreport.js"></script> 10 <script src="/css/support/computed-testcommon.js"></script> 11 </head> 12 <body> 13 <div id="target"></div> 14 <script> 15 test_computed_value("widows", "1"); 16 test_computed_value("widows", "234"); 17 test_computed_value("widows", "calc(1 + 234)", "235"); 18 </script> 19 </body> 20 </html>