clear-computed.html (748B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS basic box model: getComputedStyle().clear</title> 6 <link rel="help" href="https://drafts.csswg.org/css-box-3/#propdef-clear"> 7 <link rel="help" href="https://drafts.csswg.org/css-logical/#float-clear"> 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("clear", "none"); 16 test_computed_value("clear", "left"); 17 test_computed_value("clear", "right"); 18 test_computed_value("clear", "both"); 19 20 test_computed_value("clear", "inline-start"); 21 test_computed_value("clear", "inline-end"); 22 </script> 23 </body> 24 </html>