tor-browser

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

flow-tolerance-invalid.html (1271B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Grid Lanes: flow-tolerance parsing</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-grid-3">
      7 <link rel="author" title="Sam Davis Omekara Jr." href="mailto:samomekarajr@microsoft.com">
      8 <meta name="assert" content="flow-tolerance supports only the grammar 'normal | <length-percentage>'.">
      9 <meta name="assert" content="flow-tolerance rejects negative <length-percentage>.">
     10 <script src="/resources/testharness.js"></script>
     11 <script src="/resources/testharnessreport.js"></script>
     12 <script src="/css/support/parsing-testcommon.js"></script>
     13 </head>
     14 <body>
     15 <script>
     16 test_invalid_value("flow-tolerance", "auto");
     17 
     18 test_invalid_value("flow-tolerance", "10");
     19 test_invalid_value("flow-tolerance", "10px 20px");
     20 test_invalid_value("flow-tolerance", "1fr");
     21 test_invalid_value("flow-tolerance", "-1px");
     22 test_invalid_value("flow-tolerance", "-10%");
     23 test_invalid_value("flow-tolerance", "normal 10px");
     24 test_invalid_value("flow-tolerance", "infinite 10px");
     25 test_invalid_value("flow-tolerance", "10px normal");
     26 test_invalid_value("flow-tolerance", "10px infinite");
     27 test_invalid_value("flow-tolerance", "normal infinite");
     28 test_invalid_value("flow-tolerance", "infinite normal");
     29 </script>
     30 </body>
     31 </html>