tor-browser

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

shape-image-threshold-002.html (1321B)


      1 <!DOCTYPE html>
      2 <html>
      3    <head>
      4        <title>Shape Image Threshold - Invalid values</title>
      5        <link rel="author" title="Adobe" href="http://html.adobe.com/">
      6        <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com">
      7        <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-image-threshold-property">
      8        <meta name="assert" content="shape-image-threshold is set to 0 when an invalid value is specified.">
      9        <meta name="flags" content="ahem dom">
     10        <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1">
     11        <script src="/resources/testharness.js"></script>
     12        <script src="/resources/testharnessreport.js"></script>
     13        <script src="support/parsing-utils.js"></script>
     14    </head>
     15    <body>
     16        <div id="log"></div>
     17        <script type="text/javascript">
     18        // TODO
     19        var shape_image_threshold_invalid_tests = [
     20            {"name": "-0.5" },
     21            {"name": "-100" },
     22            {"name": "nonNumber" },
     23            {"name": "3/4" },
     24            {"name": "20%" }
     25        ];
     26        generate_tests( ParsingUtils.testShapeThresholdInlineStyle,
     27                        ParsingUtils.buildTestCases(shape_image_threshold_invalid_tests, 'inline - invalid') );
     28        </script>
     29    </body>
     30 </html>