tor-browser

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

shape-outside-ellipse-005.html (1706B)


      1 <!DOCTYPE html>
      2 <html>
      3    <head>
      4        <title>Shape Outside Ellipse Valid Radii - length units</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="reviewer" title="Alan Stearns" href="mailto:stearns@adobe.com"> <!-- 2014-03-04 -->
      8        <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#funcdef-ellipse">
      9        <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-property">
     10        <meta name="assert" content="An ellipse's radii may be in any valid length unit.">
     11        <meta name="flags" content="ahem dom">
     12        <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1">
     13        <script src="/resources/testharness.js"></script>
     14        <script src="/resources/testharnessreport.js"></script>
     15        <script src="support/parsing-utils.js"></script>
     16        <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     17    </head>
     18    <body>
     19        <div id="log"></div>
     20        <script type="text/javascript">
     21            setup({explicit_done: true});
     22            generate_tests(ParsingUtils.testInlineStyle, ParsingUtils.buildRadiiTests('ellipse', 'lengthUnit + inline', ParsingUtils.validUnits));
     23            ParsingUtils.setupFonts();
     24            document.fonts.load("10px Ahem").then(()=> {
     25                generate_tests(ParsingUtils.testComputedStyle,
     26                                ParsingUtils.buildRadiiTests('ellipse', 'lengthUnit + computed', ParsingUtils.validUnits));
     27                ParsingUtils.restoreFonts();
     28                done();
     29            });
     30        </script>
     31    </body>
     32 </html>