shape-outside-inset-003

Shape Outside Inset Valid Round Length Units

WeasyPrint

This browser

Flags
dom, script
Assertion
An inset's radial component's values can be in any length unit

Source

 1 <!DOCTYPE html>
 2 <html><head>
 3         <title>Shape Outside Inset Valid Round Length Units</title>
 4         <link href="http://html.adobe.com/" rel="author" title="Adobe">
 5         <link href="mailto:rhauck@adobe.com" rel="author" title="Rebecca Hauck">
 6         <link href="mailto:stearns@adobe.com" rel="reviewer" title="Alan Stearns"> <!-- 2014-03-04 -->
 7         <link href="http://www.w3.org/TR/css-shapes-1/#funcdef-inset" rel="help">
 8         <link href="http://www.w3.org/TR/css-shapes-1/#shape-outside-property" rel="help">
 9         <link href="http://www.w3.org/TR/css3-values/#lengths" rel="help">
10         <meta content="An inset's radial component's values can be in any length unit" name="assert">
11         <meta content="dom" name="flags">
12         <script src="/resources/testharness.js"></script>
13         <script src="/resources/testharnessreport.js"></script>
14         <script src="support/parsing-utils.js"></script>
15     </head>
16     <body>
17         <div id="log"></div>
18         <script type="text/javascript">
19            ParsingUtils.validUnits.forEach(function(unit) {
20                 generate_tests(ParsingUtils.testInlineStyle, ParsingUtils.generateInsetRoundCases(unit, 'inline'));
21            });
22            ParsingUtils.validUnits.forEach(function(unit) {
23                 generate_tests(ParsingUtils.testComputedStyle, ParsingUtils.generateInsetRoundCases(unit, 'computed'));
24            });
25         </script>
26     
27 
28 </body></html>