| Index: LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-shorthand.html
|
| diff --git a/LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-shorthand.html b/LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-shorthand.html
|
| index 6bb9a9053f9c235871489cc4a783a28abef930dc..7433649f388281b514dc11ee879e2684dbf27b3c 100644
|
| --- a/LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-shorthand.html
|
| +++ b/LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-shorthand.html
|
| @@ -26,9 +26,9 @@ function checkComputedStyleValue() {
|
| }
|
|
|
| e.style.background = "red";
|
| -shouldBe("computedStyle.getPropertyValue('background')", "'rgb(255, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'");
|
| +shouldBe("computedStyle.getPropertyValue('background')", "'rgb(255, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').toString()", "'[object CSSValueList]'");
|
| -shouldBe("computedStyle.getPropertyCSSValue('background').cssText", "'rgb(255, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'");
|
| +shouldBe("computedStyle.getPropertyCSSValue('background').cssText", "'rgb(255, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').length", "2");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).length", "5");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).length", "3");
|
| @@ -39,17 +39,17 @@ shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(1).getStr
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringValue()", "'repeat'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringValue()", "'scroll'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).toString()", "'[object CSSValueList]'");
|
| -shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "0");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "0");
|
| +shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "0");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringValue()", "'auto'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringValue()", "'padding-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringValue()", "'border-box'");
|
| shouldBe("checkComputedStyleValue()", "true");
|
|
|
| e.style.backgroundImage = "url(dummy://test.png)";
|
| -shouldBe("computedStyle.getPropertyValue('background')", "'rgb(255, 0, 0) url(dummy://test.png) repeat scroll 0% 0% / auto padding-box border-box'");
|
| +shouldBe("computedStyle.getPropertyValue('background')", "'rgb(255, 0, 0) url(dummy://test.png) repeat scroll left 0% top 0% / auto padding-box border-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').toString()", "'[object CSSValueList]'");
|
| -shouldBe("computedStyle.getPropertyCSSValue('background').cssText", "'rgb(255, 0, 0) url(dummy://test.png) repeat scroll 0% 0% / auto padding-box border-box'");
|
| +shouldBe("computedStyle.getPropertyCSSValue('background').cssText", "'rgb(255, 0, 0) url(dummy://test.png) repeat scroll left 0% top 0% / auto padding-box border-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').length", "2");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).length", "5");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).length", "3");
|
| @@ -60,17 +60,17 @@ shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(1).getStr
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringValue()", "'repeat'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringValue()", "'scroll'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).toString()", "'[object CSSValueList]'");
|
| -shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "0");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "0");
|
| +shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "0");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringValue()", "'auto'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringValue()", "'padding-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringValue()", "'border-box'");
|
| shouldBe("checkComputedStyleValue()", "true");
|
|
|
| e.style.backgroundRepeat = "no-repeat";
|
| -shouldBe("computedStyle.getPropertyValue('background')", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat scroll 0% 0% / auto padding-box border-box'");
|
| +shouldBe("computedStyle.getPropertyValue('background')", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat scroll left 0% top 0% / auto padding-box border-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').toString()", "'[object CSSValueList]'");
|
| -shouldBe("computedStyle.getPropertyCSSValue('background').cssText", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat scroll 0% 0% / auto padding-box border-box'");
|
| +shouldBe("computedStyle.getPropertyCSSValue('background').cssText", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat scroll left 0% top 0% / auto padding-box border-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').length", "2");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).length", "5");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).length", "3");
|
| @@ -81,17 +81,17 @@ shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(1).getStr
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringValue()", "'no-repeat'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringValue()", "'scroll'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).toString()", "'[object CSSValueList]'");
|
| -shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "0");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "0");
|
| +shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "0");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringValue()", "'auto'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringValue()", "'padding-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringValue()", "'border-box'");
|
| shouldBe("checkComputedStyleValue()", "true");
|
|
|
| e.style.backgroundAttachment = "fixed";
|
| -shouldBe("computedStyle.getPropertyValue('background')", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 0% 0% / auto padding-box border-box'");
|
| +shouldBe("computedStyle.getPropertyValue('background')", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 0% top 0% / auto padding-box border-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').toString()", "'[object CSSValueList]'");
|
| -shouldBe("computedStyle.getPropertyCSSValue('background').cssText", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 0% 0% / auto padding-box border-box'");
|
| +shouldBe("computedStyle.getPropertyCSSValue('background').cssText", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 0% top 0% / auto padding-box border-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').length", "2");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).length", "5");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).length", "3");
|
| @@ -102,17 +102,17 @@ shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(1).getStr
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringValue()", "'no-repeat'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringValue()", "'fixed'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).toString()", "'[object CSSValueList]'");
|
| -shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "0");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "0");
|
| +shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "0");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringValue()", "'auto'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringValue()", "'padding-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringValue()", "'border-box'");
|
| shouldBe("checkComputedStyleValue()", "true");
|
|
|
| e.style.backgroundPosition = "right bottom";
|
| -shouldBe("computedStyle.getPropertyValue('background')", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 100% 100% / auto padding-box border-box'");
|
| +shouldBe("computedStyle.getPropertyValue('background')", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 100% top 100% / auto padding-box border-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').toString()", "'[object CSSValueList]'");
|
| -shouldBe("computedStyle.getPropertyCSSValue('background').cssText", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 100% 100% / auto padding-box border-box'");
|
| +shouldBe("computedStyle.getPropertyCSSValue('background').cssText", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 100% top 100% / auto padding-box border-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').length", "2");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).length", "5");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).length", "3");
|
| @@ -123,17 +123,17 @@ shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(1).getStr
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringValue()", "'no-repeat'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringValue()", "'fixed'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).toString()", "'[object CSSValueList]'");
|
| -shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "100");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "100");
|
| +shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "100");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringValue()", "'auto'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringValue()", "'padding-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringValue()", "'border-box'");
|
| shouldBe("checkComputedStyleValue()", "true");
|
|
|
| e.style.backgroundSize = "cover";
|
| -shouldBe("computedStyle.getPropertyValue('background')", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 100% 100% / cover padding-box border-box'");
|
| +shouldBe("computedStyle.getPropertyValue('background')", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 100% top 100% / cover padding-box border-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').toString()", "'[object CSSValueList]'");
|
| -shouldBe("computedStyle.getPropertyCSSValue('background').cssText", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 100% 100% / cover padding-box border-box'");
|
| +shouldBe("computedStyle.getPropertyCSSValue('background').cssText", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 100% top 100% / cover padding-box border-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').length", "2");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).length", "5");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).length", "3");
|
| @@ -144,17 +144,17 @@ shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(1).getStr
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringValue()", "'no-repeat'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringValue()", "'fixed'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).toString()", "'[object CSSValueList]'");
|
| -shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "100");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "100");
|
| +shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "100");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringValue()", "'cover'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringValue()", "'padding-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringValue()", "'border-box'");
|
| shouldBe("checkComputedStyleValue()", "true");
|
|
|
| e.style.backgroundOrigin = "content-box";
|
| -shouldBe("computedStyle.getPropertyValue('background')", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 100% 100% / cover content-box border-box'");
|
| +shouldBe("computedStyle.getPropertyValue('background')", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 100% top 100% / cover content-box border-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').toString()", "'[object CSSValueList]'");
|
| -shouldBe("computedStyle.getPropertyCSSValue('background').cssText", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 100% 100% / cover content-box border-box'");
|
| +shouldBe("computedStyle.getPropertyCSSValue('background').cssText", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 100% top 100% / cover content-box border-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').length", "2");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).length", "5");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).length", "3");
|
| @@ -165,17 +165,17 @@ shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(1).getStr
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringValue()", "'no-repeat'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringValue()", "'fixed'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).toString()", "'[object CSSValueList]'");
|
| -shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "100");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "100");
|
| +shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "100");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringValue()", "'cover'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringValue()", "'content-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringValue()", "'border-box'");
|
| shouldBe("checkComputedStyleValue()", "true");
|
|
|
| e.style.backgroundClip = "padding-box";
|
| -shouldBe("computedStyle.getPropertyValue('background')", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 100% 100% / cover content-box padding-box'");
|
| +shouldBe("computedStyle.getPropertyValue('background')", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 100% top 100% / cover content-box padding-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').toString()", "'[object CSSValueList]'");
|
| -shouldBe("computedStyle.getPropertyCSSValue('background').cssText", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 100% 100% / cover content-box padding-box'");
|
| +shouldBe("computedStyle.getPropertyCSSValue('background').cssText", "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 100% top 100% / cover content-box padding-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').length", "2");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).length", "5");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).length", "3");
|
| @@ -186,17 +186,17 @@ shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(1).getStr
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringValue()", "'no-repeat'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringValue()", "'fixed'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).toString()", "'[object CSSValueList]'");
|
| -shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "100");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "100");
|
| +shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "100");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringValue()", "'cover'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringValue()", "'content-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringValue()", "'padding-box'");
|
| shouldBe("checkComputedStyleValue()", "true");
|
|
|
| e.style.background = "border-box padding-box url(dummy://test.png) green 45% / contain repeat fixed";
|
| -shouldBe("computedStyle.getPropertyValue('background')", "'rgb(0, 128, 0) url(dummy://test.png) repeat fixed 45% 50% / contain border-box padding-box'");
|
| +shouldBe("computedStyle.getPropertyValue('background')", "'rgb(0, 128, 0) url(dummy://test.png) repeat fixed left 45% top 50% / contain border-box padding-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').toString()", "'[object CSSValueList]'");
|
| -shouldBe("computedStyle.getPropertyCSSValue('background').cssText", "'rgb(0, 128, 0) url(dummy://test.png) repeat fixed 45% 50% / contain border-box padding-box'");
|
| +shouldBe("computedStyle.getPropertyCSSValue('background').cssText", "'rgb(0, 128, 0) url(dummy://test.png) repeat fixed left 45% top 50% / contain border-box padding-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').length", "2");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).length", "5");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).length", "3");
|
| @@ -207,8 +207,8 @@ shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(1).getStr
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringValue()", "'repeat'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringValue()", "'fixed'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).toString()", "'[object CSSValueList]'");
|
| -shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "45");
|
| -shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "50");
|
| +shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "45");
|
| +shouldBe("computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE)", "50");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringValue()", "'contain'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringValue()", "'border-box'");
|
| shouldBe("computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringValue()", "'padding-box'");
|
|
|