| 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 background shorthand properties returns CSSValueL
ist properly.") | 10 description("Test to make sure background shorthand properties returns CSSValueL
ist properly.") |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0
).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "45"); | 210 shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0
).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "45"); |
| 211 shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1
).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "50"); | 211 shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1
).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "50"); |
| 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 <script src="../../js/resources/js-test-post.js"></script> | |
| 221 </body> | 220 </body> |
| 222 </html> | 221 </html> |
| OLD | NEW |