tor-browser

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

shape-image-threshold-valid.html (949B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Shapes Module Level 1: parsing shape-image-threshold 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-shapes/#shape-image-threshold-property">
      8 <meta name="assert" content="shape-image-threshold supports the full grammar '<number>'.">
      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("shape-image-threshold", "12.5");
     16 test_valid_value("shape-image-threshold", "-7");
     17 
     18 // https://github.com/w3c/csswg-drafts/issues/4102
     19 test_valid_value("shape-image-threshold", "-100%", "-1");
     20 test_valid_value("shape-image-threshold", "50%", "0.5");
     21 test_valid_value("shape-image-threshold", "300%", "3");
     22 </script>
     23 </body>
     24 </html>