| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Shape Outside Box Valid Values</title> | 4 <title>Shape Outside Box Valid Values</title> |
| 5 <link rel="author" title="Adobe" href="http://html.adobe.com/"> | 5 <link rel="author" title="Adobe" href="http://html.adobe.com/"> |
| 6 <link rel="author" title="Bear Travis" href="mailto:betravis@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 --> | 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"> | 8 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-
property"> |
| 9 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#typedef-shape-
box"> | 9 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#typedef-shape-
box"> |
| 10 <meta name="assert" content="Shape-outside may be one of the box model b
ox values"> | 10 <meta name="assert" content="Shape-outside may be one of the box model b
ox values"> |
| 11 <meta name="flags" content="dom"> | 11 <meta name="flags" content="dom"> |
| 12 <script src="../../../../../resources/testharness.js"></script> | 12 <script src="/resources/testharness.js"></script> |
| 13 <script src="../../../../../resources/testharnessreport.js"></script> | 13 <script src="/resources/testharnessreport.js"></script> |
| 14 <script src="support/parsing-utils.js"></script> | 14 <script src="support/parsing-utils.js"></script> |
| 15 </head> | 15 </head> |
| 16 <body> | 16 <body> |
| 17 <div id="log"></div> | 17 <div id="log"></div> |
| 18 <script type="text/javascript"> | 18 <script type="text/javascript"> |
| 19 var valid_shape_boxes = [ | 19 var valid_shape_boxes = [ |
| 20 { | 20 { |
| 21 "actual": "content-box", | 21 "actual": "content-box", |
| 22 "expected_inline": "content-box", | 22 "expected_inline": "content-box", |
| 23 "expected_computed": "content-box" | 23 "expected_computed": "content-box" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 38 "expected_computed": "margin-box" | 38 "expected_computed": "margin-box" |
| 39 } | 39 } |
| 40 ]; | 40 ]; |
| 41 generate_tests( ParsingUtils.testInlineStyle, | 41 generate_tests( ParsingUtils.testInlineStyle, |
| 42 ParsingUtils.buildTestCases(valid_shape_boxes, 'inli
ne') ); | 42 ParsingUtils.buildTestCases(valid_shape_boxes, 'inli
ne') ); |
| 43 generate_tests( ParsingUtils.testComputedStyle, | 43 generate_tests( ParsingUtils.testComputedStyle, |
| 44 ParsingUtils.buildTestCases(valid_shape_boxes, 'comp
uted') ); | 44 ParsingUtils.buildTestCases(valid_shape_boxes, 'comp
uted') ); |
| 45 </script> | 45 </script> |
| 46 </body> | 46 </body> |
| 47 </html> | 47 </html> |
| OLD | NEW |