| Index: LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-shorthand-expected.txt
|
| diff --git a/LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-shorthand-expected.txt b/LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-shorthand-expected.txt
|
| index 068f573cad7bed181dc7f0b9b4fbe7dce820ce23..78c6c26da26e1fc18193ad043d93e41deab29172 100644
|
| --- a/LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-shorthand-expected.txt
|
| +++ b/LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-shorthand-expected.txt
|
| @@ -3,9 +3,9 @@ Test to make sure background shorthand properties returns CSSValueList properly.
|
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
| -PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
|
| PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
|
| PASS computedStyle.getPropertyCSSValue('background').length is 2
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3
|
| @@ -16,15 +16,15 @@ PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringValue() is 'repeat'
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringValue() is 'scroll'
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
|
| +PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringValue() is 'auto'
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringValue() is 'padding-box'
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringValue() is 'border-box'
|
| PASS checkComputedStyleValue() is true
|
| -PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy://test.png) repeat scroll 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy://test.png) repeat scroll left 0% top 0% / auto padding-box border-box'
|
| PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) repeat scroll 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) repeat scroll left 0% top 0% / auto padding-box border-box'
|
| PASS computedStyle.getPropertyCSSValue('background').length is 2
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3
|
| @@ -35,15 +35,15 @@ PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringValue() is 'repeat'
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringValue() is 'scroll'
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
|
| +PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringValue() is 'auto'
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringValue() is 'padding-box'
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringValue() is 'border-box'
|
| PASS checkComputedStyleValue() is true
|
| -PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat scroll 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat scroll left 0% top 0% / auto padding-box border-box'
|
| PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat scroll 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat scroll left 0% top 0% / auto padding-box border-box'
|
| PASS computedStyle.getPropertyCSSValue('background').length is 2
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3
|
| @@ -54,15 +54,15 @@ PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringValue() is 'no-repeat'
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringValue() is 'scroll'
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
|
| +PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringValue() is 'auto'
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringValue() is 'padding-box'
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringValue() is 'border-box'
|
| PASS checkComputedStyleValue() is true
|
| -PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 0% top 0% / auto padding-box border-box'
|
| PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 0% top 0% / auto padding-box border-box'
|
| PASS computedStyle.getPropertyCSSValue('background').length is 2
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3
|
| @@ -73,15 +73,15 @@ PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringValue() is 'no-repeat'
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringValue() is 'fixed'
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
|
| +PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringValue() is 'auto'
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringValue() is 'padding-box'
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringValue() is 'border-box'
|
| PASS checkComputedStyleValue() is true
|
| -PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 100% 100% / auto padding-box border-box'
|
| +PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 100% top 100% / auto padding-box border-box'
|
| PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 100% 100% / auto padding-box border-box'
|
| +PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 100% top 100% / auto padding-box border-box'
|
| PASS computedStyle.getPropertyCSSValue('background').length is 2
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3
|
| @@ -92,15 +92,15 @@ PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringValue() is 'no-repeat'
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringValue() is 'fixed'
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
|
| +PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringValue() is 'auto'
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringValue() is 'padding-box'
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringValue() is 'border-box'
|
| PASS checkComputedStyleValue() is true
|
| -PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 100% 100% / cover padding-box border-box'
|
| +PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 100% top 100% / cover padding-box border-box'
|
| PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 100% 100% / cover padding-box border-box'
|
| +PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 100% top 100% / cover padding-box border-box'
|
| PASS computedStyle.getPropertyCSSValue('background').length is 2
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3
|
| @@ -111,15 +111,15 @@ PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringValue() is 'no-repeat'
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringValue() is 'fixed'
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
|
| +PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringValue() is 'cover'
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringValue() is 'padding-box'
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringValue() is 'border-box'
|
| PASS checkComputedStyleValue() is true
|
| -PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 100% 100% / cover content-box border-box'
|
| +PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 100% top 100% / cover content-box border-box'
|
| PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 100% 100% / cover content-box border-box'
|
| +PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 100% top 100% / cover content-box border-box'
|
| PASS computedStyle.getPropertyCSSValue('background').length is 2
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3
|
| @@ -130,15 +130,15 @@ PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringValue() is 'no-repeat'
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringValue() is 'fixed'
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
|
| +PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringValue() is 'cover'
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringValue() is 'content-box'
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringValue() is 'border-box'
|
| PASS checkComputedStyleValue() is true
|
| -PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 100% 100% / cover content-box padding-box'
|
| +PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 100% top 100% / cover content-box padding-box'
|
| PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 100% 100% / cover content-box padding-box'
|
| +PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 100% top 100% / cover content-box padding-box'
|
| PASS computedStyle.getPropertyCSSValue('background').length is 2
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3
|
| @@ -149,15 +149,15 @@ PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringValue() is 'no-repeat'
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringValue() is 'fixed'
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
|
| +PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringValue() is 'cover'
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringValue() is 'content-box'
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringValue() is 'padding-box'
|
| PASS checkComputedStyleValue() is true
|
| -PASS computedStyle.getPropertyValue('background') is 'rgb(0, 128, 0) url(dummy://test.png) repeat fixed 45% 50% / contain border-box padding-box'
|
| +PASS computedStyle.getPropertyValue('background') is 'rgb(0, 128, 0) url(dummy://test.png) repeat fixed left 45% top 50% / contain border-box padding-box'
|
| PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(0, 128, 0) url(dummy://test.png) repeat fixed 45% 50% / contain border-box padding-box'
|
| +PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(0, 128, 0) url(dummy://test.png) repeat fixed left 45% top 50% / contain border-box padding-box'
|
| PASS computedStyle.getPropertyCSSValue('background').length is 2
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3
|
| @@ -168,8 +168,8 @@ PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringValue() is 'repeat'
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringValue() is 'fixed'
|
| PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 45
|
| -PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 50
|
| +PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 45
|
| +PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 50
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringValue() is 'contain'
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringValue() is 'border-box'
|
| PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringValue() is 'padding-box'
|
|
|