shape-outside-shape-initial-000.html (1328B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>Shape Outside Box Initial Value</title> 5 <link rel="author" title="Adobe" href="http://html.adobe.com/"> 6 <link rel="author" title="Bear Travis" href="mailto:betravis@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/#shape-outside-property"> 9 <meta name="assert" content="Shape-outside takes its default value of none when assigned the 'initial' value"> 10 <meta name="flags" content="ahem dom"> 11 <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1"> 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 test(function() { 20 ParsingUtils.testInlineStyle("initial", "initial"); 21 }, "shape-outside can be assigned 'initial' value"); 22 test(function() { 23 ParsingUtils.testComputedStyle("initial", "none"); 24 }, "'initial' value computes to the default value"); 25 </script> 26 </body> 27 </html>