| 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="../../js/resources/js-test-pre.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <script> | 8 <script> |
| 9 | 9 |
| 10 description("Test to make sure border-image-slice is correctly parsed.") | 10 description("Test to make sure border-image-slice is correctly parsed.") |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 for (i = 0; i < testValues.length; i++) { | 24 for (i = 0; i < testValues.length; i++) { |
| 25 e.style.borderImageSlice = ""; | 25 e.style.borderImageSlice = ""; |
| 26 e.style.borderImageSlice = testValues[i]; | 26 e.style.borderImageSlice = testValues[i]; |
| 27 shouldBe("computedStyle.getPropertyValue('border-image-slice')", expectedVal
ues[i]); | 27 shouldBe("computedStyle.getPropertyValue('border-image-slice')", expectedVal
ues[i]); |
| 28 shouldBe("computedStyle.getPropertyCSSValue('border-image-slice').cssText",
expectedValues[i]); | 28 shouldBe("computedStyle.getPropertyCSSValue('border-image-slice').cssText",
expectedValues[i]); |
| 29 } | 29 } |
| 30 document.body.removeChild(testContainer); | 30 document.body.removeChild(testContainer); |
| 31 | 31 |
| 32 </script> | 32 </script> |
| 33 <script src="../../js/resources/js-test-post.js"></script> | |
| 34 </body> | 33 </body> |
| 35 </html> | 34 </html> |
| OLD | NEW |