shape-outside-inset-003.html (1848B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>Shape Outside Inset Valid Round 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-inset"> 9 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-property"> 10 <link rel="help" href="http://www.w3.org/TR/css3-values/#lengths"> 11 <meta name="assert" content="An inset's radial component's values can be in any length unit"> 12 <meta name="flags" content="ahem dom"> 13 <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1"> 14 <script src="/resources/testharness.js"></script> 15 <script src="/resources/testharnessreport.js"></script> 16 <script src="support/parsing-utils.js"></script> 17 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 18 </head> 19 <body> 20 <div id="log"></div> 21 <script type="text/javascript"> 22 setup({explicit_done: true}); 23 ParsingUtils.validUnits.forEach(function(unit) { 24 generate_tests(ParsingUtils.testInlineStyle, ParsingUtils.generateInsetRoundCases(unit, 'inline')); 25 }); 26 ParsingUtils.setupFonts(); 27 document.fonts.load("10px Ahem").then(()=> { 28 ParsingUtils.validUnits.forEach(function(unit) { 29 generate_tests(ParsingUtils.testComputedStyle, ParsingUtils.generateInsetRoundCases(unit, 'computed')); 30 }); 31 ParsingUtils.restoreFonts(); 32 done(); 33 }); 34 </script> 35 </body> 36 </html>