tor-browser

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

ellipse-function-invalid.html (1158B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Shapes Module Level 1: parsing the ellipse() function</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-ellipse">
      7 <meta name="assert" content="Tests parsing of the ellipse() function">
      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("shape-outside", "ellipse(10px)");
     15 test_invalid_value("shape-outside", "ellipse(10px -20px)");
     16 test_invalid_value("shape-outside", "ellipse(20px, 40px at center)");
     17 test_invalid_value("shape-outside", "ellipse(farthest-side at)");
     18 test_invalid_value("shape-outside", "ellipse(1% 2% top right)");
     19 test_invalid_value("shape-outside", "ellipse(3% at 100% 0%)");
     20 test_invalid_value("shape-outside", "ellipse(closest-side)");
     21 test_invalid_value("shape-outside", "ellipse(farthest-side at 100% 0%)");
     22 test_invalid_value("shape-outside", "ellipse(10% -20% at 30% 40%)");
     23 test_invalid_value("shape-outside", "ellipse(-50px 60px at 70% 80%)");
     24 </script>
     25 </body>
     26 </html>