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 background shorthand properties returns CSSValueL
ist properly.") | 10 description("Test to make sure background shorthand properties returns CSSValueL
ist properly.") |
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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(0).getStr
ingValue()", "'contain'"); | 212 shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(0).getStr
ingValue()", "'contain'"); |
213 shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(1).getStr
ingValue()", "'border-box'"); | 213 shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(1).getStr
ingValue()", "'border-box'"); |
214 shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(2).getStr
ingValue()", "'padding-box'"); | 214 shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(2).getStr
ingValue()", "'padding-box'"); |
215 shouldBe("checkComputedStyleValue()", "true"); | 215 shouldBe("checkComputedStyleValue()", "true"); |
216 | 216 |
217 document.body.removeChild(testContainer); | 217 document.body.removeChild(testContainer); |
218 | 218 |
219 </script> | 219 </script> |
220 </body> | 220 </body> |
221 </html> | 221 </html> |
OLD | NEW |