tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

float-valid.html (1422B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS basic box model: parsing float with valid values</title>
      6 <link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromium.org">
      7 <link rel="help" href="https://drafts.csswg.org/css-box-3/#propdef-float">
      8 <link rel="help" href="https://drafts.csswg.org/css-logical/#float-clear">
      9 <meta name="assert" content="float supports the full grammar 'left | right | top | bottom | start | end | none | <page-floats>'.">
     10 <meta name="assert" content="float supports 'inline-start | inline-end'.">
     11 <script src="/resources/testharness.js"></script>
     12 <script src="/resources/testharnessreport.js"></script>
     13 <script src="/css/support/parsing-testcommon.js"></script>
     14 </head>
     15 <body>
     16 <script>
     17 test_valid_value("float", "left");
     18 test_valid_value("float", "right");
     19 test_valid_value("float", "none");
     20 
     21 test_valid_value("float", "inline-start");
     22 test_valid_value("float", "inline-end");
     23 
     24 // The following are not yet supported by browsers:
     25 // test_valid_value("float", "top");
     26 // test_valid_value("float", "bottom");
     27 // test_valid_value("float", "start"); // not permitted in https://drafts.csswg.org/css-page-floats/#float-property
     28 // test_valid_value("float", "end"); // not permitted in https://drafts.csswg.org/css-page-floats/#float-property
     29 
     30 // Page floats are now defined in
     31 // https://drafts.csswg.org/css-page-floats/#float-property
     32 </script>
     33 </body>
     34 </html>