tor-browser

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

image-resolution-invalid.html (915B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Images Module Level 4: parsing image-resolution with invalid values</title>
      6 <link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromium.org">
      7 <link rel="help" href="https://drafts.csswg.org/css-images-4/#propdef-image-resolution">
      8 <meta name="assert" content="image-resolution supports only the grammar '[ from-image || <resolution> ] && snap?'.">
      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_invalid_value("image-resolution", "auto");
     16 test_invalid_value("image-resolution", "100%");
     17 test_invalid_value("image-resolution", "2");
     18 test_invalid_value("image-resolution", "3dpi snap from-image");
     19 test_invalid_value("image-resolution", "from-image snap 4dppx");
     20 </script>
     21 </body>
     22 </html>