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 <p>Test computed style for the border-image property and sub-properties</p> | 8 <p>Test computed style for the border-image property and sub-properties</p> |
9 <div id="console"></div> | 9 <div id="console"></div> |
10 <script> | 10 <script> |
11 | 11 |
12 var testDiv = document.createElement('div'); | 12 var testDiv = document.createElement('div'); |
13 testDiv.style.borderWidth = '10px'; | 13 testDiv.style.borderWidth = '10px'; |
14 document.body.appendChild(testDiv); | 14 document.body.appendChild(testDiv); |
15 | 15 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 shouldBe("computedBorderImageStyle('url(dummy://test.png) 10 / 13px / 11px', 'bo
rder-image')", "'url(dummy://test.png) 10 / 13px / 11px stretch'"); | 77 shouldBe("computedBorderImageStyle('url(dummy://test.png) 10 / 13px / 11px', 'bo
rder-image')", "'url(dummy://test.png) 10 / 13px / 11px stretch'"); |
78 shouldBe("checkComputedStyleValue()", "true"); | 78 shouldBe("checkComputedStyleValue()", "true"); |
79 | 79 |
80 shouldBe("computedBorderImageStyle('url(test.png) 10 / 13px / 11px repeat stretc
h', 'border-image-outset')", "'11px'"); | 80 shouldBe("computedBorderImageStyle('url(test.png) 10 / 13px / 11px repeat stretc
h', 'border-image-outset')", "'11px'"); |
81 shouldBe("computedBorderImageStyle('url(dummy://test.png) 10 / 13px / 11px repea
t stretch', 'border-image')", "'url(dummy://test.png) 10 / 13px / 11px repeat st
retch'"); | 81 shouldBe("computedBorderImageStyle('url(dummy://test.png) 10 / 13px / 11px repea
t stretch', 'border-image')", "'url(dummy://test.png) 10 / 13px / 11px repeat st
retch'"); |
82 shouldBe("checkComputedStyleValue()", "true"); | 82 shouldBe("checkComputedStyleValue()", "true"); |
83 | 83 |
84 </script> | 84 </script> |
85 </body> | 85 </body> |
86 </html> | 86 </html> |
OLD | NEW |