OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <script src="parsing-test-utils.js"></script> | 7 <script src="parsing-test-utils.js"></script> |
8 <script> | 8 <script> |
9 description('Test parsing of the CSS shape-padding property.'); | 9 description('Test parsing of the CSS shape-padding property.'); |
10 | 10 |
11 // The test functions and globals used here are defined parsing-test-utils.js. | 11 // The test functions and globals used here are defined parsing-test-utils.js. |
12 | 12 |
13 validShapeLengths.forEach(function(value, i, a) { | 13 validShapeLengths.forEach(function(value, i, a) { |
14 testShapeSpecifiedProperty("shape-padding", value, value); | 14 testShapeSpecifiedProperty("shape-padding", value, value); |
(...skipping 19 matching lines...) Expand all Loading... |
34 testNotInheritedShapeChildProperty, | 34 testNotInheritedShapeChildProperty, |
35 [// [property, parentValue, childValue, expectedChildValue] | 35 [// [property, parentValue, childValue, expectedChildValue] |
36 ["shape-padding", "0", "0", "0px"], | 36 ["shape-padding", "0", "0", "0px"], |
37 ["shape-padding", "0", "1px", "1px"], | 37 ["shape-padding", "0", "1px", "1px"], |
38 ["shape-padding", "1px", "-1em", "0px"], | 38 ["shape-padding", "1px", "-1em", "0px"], |
39 ["shape-padding", "2px", "1px", "1px"]] | 39 ["shape-padding", "2px", "1px", "1px"]] |
40 ); | 40 ); |
41 </script> | 41 </script> |
42 </body> | 42 </body> |
43 </html> | 43 </html> |
OLD | NEW |