| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Shape Outside Box Shape and Box Valid Values</title> | 4 <title>Shape Outside Box Shape and 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 a pair of shape and bo
x values"> | 10 <meta name="assert" content="Shape-outside may be a pair of shape and bo
x 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 shape_box_valid_tests = [ | 19 var shape_box_valid_tests = [ |
| 20 { | 20 { |
| 21 "actual": "polygon(nonzero, 1px 1px) content-box", | 21 "actual": "polygon(nonzero, 1px 1px) content-box", |
| 22 "expected_inline": "polygon(1px 1px) content-box", | 22 "expected_inline": "polygon(1px 1px) content-box", |
| 23 "expected_computed": "polygon(1px 1px) content-box" | 23 "expected_computed": "polygon(1px 1px) content-box" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 "expected_computed": "polygon(1px 1px) margin-box" | 58 "expected_computed": "polygon(1px 1px) margin-box" |
| 59 } | 59 } |
| 60 ]; | 60 ]; |
| 61 generate_tests( ParsingUtils.testInlineStyle, | 61 generate_tests( ParsingUtils.testInlineStyle, |
| 62 ParsingUtils.buildTestCases(shape_box_valid_tests, "inli
ne") ); | 62 ParsingUtils.buildTestCases(shape_box_valid_tests, "inli
ne") ); |
| 63 generate_tests( ParsingUtils.testComputedStyle, | 63 generate_tests( ParsingUtils.testComputedStyle, |
| 64 ParsingUtils.buildTestCases(shape_box_valid_tests, "comp
uted") ); | 64 ParsingUtils.buildTestCases(shape_box_valid_tests, "comp
uted") ); |
| 65 </script> | 65 </script> |
| 66 </body> | 66 </body> |
| 67 </html> | 67 </html> |
| OLD | NEW |