tor-browser

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

background-position-y-invalid.html (1151B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Backgrounds and Borders Module Level 4: parsing background-position-y with invalid values</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-backgrounds-4/#propdef-background-position-y">
      7 <meta name="assert" content="background-position-y supports only the grammar '[ center | [ top | bottom | y-start | y-end ]? <length-percentage>? ]#'.">
      8 <script src="/resources/testharness.js"></script>
      9 <script src="/resources/testharnessreport.js"></script>
     10 <script src="/css/support/parsing-testcommon.js"></script>
     11 </head>
     12 <body>
     13 <script>
     14 test_invalid_value("background-position-y", "left");
     15 test_invalid_value("background-position-y", "right");
     16 test_invalid_value("background-position-y", "x-start");
     17 test_invalid_value("background-position-y", "x-end");
     18 test_invalid_value("background-position-y", "center 10px");
     19 test_invalid_value("background-position-y", "20% top");
     20 test_invalid_value("background-position-y", "bottom top");
     21 test_invalid_value("background-position-y", "y-start center");
     22 test_invalid_value("background-position-y", "top, center bottom");
     23 </script>
     24 </body>
     25 </html>