tor-browser

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

overflow-valid.html (1367B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS basic box model: parsing overflow 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-overflow">
      8 <meta name="assert" content="overflow supports the full grammar '[ visible | hidden | scroll | auto | no-display | no-content ]{1,2}'.">
      9 <script src="/resources/testharness.js"></script>
     10 <script src="/resources/testharnessreport.js"></script>
     11 <script src="/css/support/parsing-testcommon.js"></script>
     12 </head>
     13 <body>
     14 <script>
     15 test_valid_value("overflow", "visible");
     16 test_valid_value("overflow", "hidden");
     17 test_valid_value("overflow", "scroll");
     18 test_valid_value("overflow", "auto");
     19 
     20 test_valid_value("overflow-x", "visible");
     21 test_valid_value("overflow-x", "hidden");
     22 test_valid_value("overflow-x", "scroll");
     23 test_valid_value("overflow-y", "auto");
     24 
     25 // The following are not yet supported by browsers:
     26 // test_valid_value("overflow", "no-display");
     27 // test_valid_value("overflow", "no-content");
     28 // test_valid_value("overflow", "visible hidden");
     29 // test_valid_value("overflow", "auto scroll");
     30 // test_valid_value("overflow", "no-display no-content");
     31 // test_valid_value("overflow-y", "no-display");
     32 // test_valid_value("overflow-y", "no-content");
     33 </script>
     34 </body>
     35 </html>