shape-outside-ellipse-002.html (1882B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>Shape Outside Ellipse Valid Positions</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="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"> 8 <link rel="reviewer" title="Alan Stearns" href="mailto:stearns@adobe.com"> <!-- 2014-03-04 --> 9 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#funcdef-ellipse"> 10 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-property"> 11 <link rel="help" href="http://www.w3.org/TR/css3-values/#lengths"> 12 <meta name="assert" content="An ellipse's position argument may be any of the valid combinations: 13 [ percentage|length left|center|right ] 14 or [ percentage|length left|center|right ] [ percentage|length top|center|bottom ] 15 or [ left|center|right ] 16 or [ left|center|right top|center|bottom ] 17 or [ top|center|bottom ]. "> 18 <meta name="flags" content="ahem dom"> 19 <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1"> 20 <script src="/resources/testharness.js"></script> 21 <script src="/resources/testharnessreport.js"></script> 22 <script src="support/parsing-utils.js"></script> 23 </head> 24 <body> 25 <div id="log"></div> 26 <script type="text/javascript"> 27 generate_tests(ParsingUtils.testInlineStyle, ParsingUtils.buildPositionTests('ellipse', true, 'inline', 'px')); 28 generate_tests(ParsingUtils.testComputedStyle, ParsingUtils.buildPositionTests('ellipse', true, 'computed', 'px')); 29 </script> 30 </body> 31 </html>