tor-browser

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

shape-outside-invalid-position.html (1404B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Shapes Module Level 1: parsing shape-outside with invalid position values</title>
      6 <link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromium.org">
      7 <link rel="help" href="https://drafts.csswg.org/css-values-4/#typedef-position">
      8 <meta name="assert" content="shape-outside positions support only the '<position>' grammar.">
      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 // The following were supported in an earlier version of the spec.
     16 // https://github.com/w3c/csswg-drafts/issues/2140
     17 test_invalid_value("shape-outside", "circle(at center left 1px)");
     18 test_invalid_value("shape-outside", "circle(at center top 2px)");
     19 test_invalid_value("shape-outside", "circle(at right 3% center)");
     20 test_invalid_value("shape-outside", "circle(at left 4px top)");
     21 test_invalid_value("shape-outside", "circle(at right 5px top)");
     22 test_invalid_value("shape-outside", "ellipse(at right top 5px)");
     23 test_invalid_value("shape-outside", "ellipse(at bottom 6% center)");
     24 test_invalid_value("shape-outside", "ellipse(at bottom 7% left)");
     25 test_invalid_value("shape-outside", "ellipse(at bottom right 8%)");
     26 test_invalid_value("shape-outside", "ellipse(at right 10px top)");
     27 </script>
     28 </body>
     29 </html>