| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <script src="../../js/resources/js-test-pre.js"></script> | 5 <script src="../../../resources/js-test.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <script> | 8 <script> |
| 9 | 9 |
| 10 description("Test to make sure padding shorthand property returns CSSValueList p
roperly.") | 10 description("Test to make sure padding shorthand property returns CSSValueList p
roperly.") |
| 11 | 11 |
| 12 var testContainer = document.createElement("div"); | 12 var testContainer = document.createElement("div"); |
| 13 testContainer.contentEditable = true; | 13 testContainer.contentEditable = true; |
| 14 document.body.appendChild(testContainer); | 14 document.body.appendChild(testContainer); |
| 15 | 15 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 46 shouldBe("computedStyle.getPropertyCSSValue('padding').item(0).getFloatValue(CSS
PrimitiveValue.CSS_NUMBER)", "5"); | 46 shouldBe("computedStyle.getPropertyCSSValue('padding').item(0).getFloatValue(CSS
PrimitiveValue.CSS_NUMBER)", "5"); |
| 47 shouldBe("computedStyle.getPropertyCSSValue('padding').item(1).getFloatValue(CSS
PrimitiveValue.CSS_NUMBER)", "6"); | 47 shouldBe("computedStyle.getPropertyCSSValue('padding').item(1).getFloatValue(CSS
PrimitiveValue.CSS_NUMBER)", "6"); |
| 48 shouldBe("computedStyle.getPropertyCSSValue('padding').item(2).getFloatValue(CSS
PrimitiveValue.CSS_NUMBER)", "7"); | 48 shouldBe("computedStyle.getPropertyCSSValue('padding').item(2).getFloatValue(CSS
PrimitiveValue.CSS_NUMBER)", "7"); |
| 49 shouldBe("computedStyle.getPropertyCSSValue('padding').item(3).getFloatValue(CSS
PrimitiveValue.CSS_NUMBER)", "8"); | 49 shouldBe("computedStyle.getPropertyCSSValue('padding').item(3).getFloatValue(CSS
PrimitiveValue.CSS_NUMBER)", "8"); |
| 50 | 50 |
| 51 document.body.removeChild(testContainer); | 51 document.body.removeChild(testContainer); |
| 52 | 52 |
| 53 </script> | 53 </script> |
| 54 </body> | 54 </body> |
| 55 </html> | 55 </html> |
| OLD | NEW |