| Index: LayoutTests/fast/backgrounds/background-position-parsing-2-expected.txt
|
| diff --git a/LayoutTests/fast/backgrounds/background-position-parsing-2-expected.txt b/LayoutTests/fast/backgrounds/background-position-parsing-2-expected.txt
|
| index 7120166702a6a9e60021f4805aabe3f4670bed9b..9aaacf813ef706fd50a1b3d17201e306d105b2a1 100644
|
| --- a/LayoutTests/fast/backgrounds/background-position-parsing-2-expected.txt
|
| +++ b/LayoutTests/fast/backgrounds/background-position-parsing-2-expected.txt
|
| @@ -4,101 +4,101 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
|
|
|
|
|
| background-position with one value
|
| -PASS computedStyle.backgroundPosition is '0% 0%'
|
| +PASS computedStyle.backgroundPosition is 'left 0% top 0%'
|
| PASS style.backgroundPosition is '70% 50%'
|
| -PASS computedStyle.backgroundPosition is '70% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 70% top 50%'
|
| PASS style.backgroundPosition is '84px 50%'
|
| -PASS computedStyle.backgroundPosition is '84px 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 84px top 50%'
|
| PASS style.backgroundPosition is '0% 50%'
|
| -PASS computedStyle.backgroundPosition is '0% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 0% top 50%'
|
| PASS style.backgroundPosition is '100% 50%'
|
| -PASS computedStyle.backgroundPosition is '100% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 100% top 50%'
|
| PASS style.backgroundPosition is '50% 100%'
|
| -PASS computedStyle.backgroundPosition is '50% 100%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 100%'
|
| PASS style.backgroundPosition is '50% 0%'
|
| -PASS computedStyle.backgroundPosition is '50% 0%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 0%'
|
| PASS style.backgroundPosition is '50% 50%'
|
| -PASS computedStyle.backgroundPosition is '50% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 50%'
|
| background-position with two values
|
| PASS style.backgroundPosition is '0% 100%'
|
| -PASS computedStyle.backgroundPosition is '0% 100%'
|
| +PASS computedStyle.backgroundPosition is 'left 0% top 100%'
|
| PASS style.backgroundPosition is '0% 100%'
|
| -PASS computedStyle.backgroundPosition is '0% 100%'
|
| +PASS computedStyle.backgroundPosition is 'left 0% top 100%'
|
| PASS style.backgroundPosition is '100% 100%'
|
| -PASS computedStyle.backgroundPosition is '100% 100%'
|
| +PASS computedStyle.backgroundPosition is 'left 100% top 100%'
|
| PASS style.backgroundPosition is '100% 0%'
|
| -PASS computedStyle.backgroundPosition is '100% 0%'
|
| +PASS computedStyle.backgroundPosition is 'left 100% top 0%'
|
| PASS style.backgroundPosition is '54px 100%'
|
| -PASS computedStyle.backgroundPosition is '54px 100%'
|
| +PASS computedStyle.backgroundPosition is 'left 54px top 100%'
|
| PASS style.backgroundPosition is '50% 50%'
|
| -PASS computedStyle.backgroundPosition is '50% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 50%'
|
| PASS style.backgroundPosition is '5% 100%'
|
| -PASS computedStyle.backgroundPosition is '5% 100%'
|
| +PASS computedStyle.backgroundPosition is 'left 5% top 100%'
|
| PASS style.backgroundPosition is '30pt -20px'
|
| -PASS computedStyle.backgroundPosition is '40px -20px'
|
| +PASS computedStyle.backgroundPosition is 'left 40px top -20px'
|
| PASS style.backgroundPosition is '100% 50%'
|
| -PASS computedStyle.backgroundPosition is '100% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 100% top 50%'
|
| PASS style.backgroundPosition is '100% 0px'
|
| -PASS computedStyle.backgroundPosition is '100% 0px'
|
| +PASS computedStyle.backgroundPosition is 'left 100% top 0px'
|
| PASS style.backgroundPosition is '100% 50%'
|
| -PASS computedStyle.backgroundPosition is '100% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 100% top 50%'
|
| PASS style.backgroundPosition is '50% 50%'
|
| -PASS computedStyle.backgroundPosition is '50% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 50%'
|
| PASS style.backgroundPosition is '0% 50%'
|
| -PASS computedStyle.backgroundPosition is '0% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 0% top 50%'
|
| PASS style.backgroundPosition is '-20% 50%'
|
| -PASS computedStyle.backgroundPosition is '-20% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left -20% top 50%'
|
| PASS style.backgroundPosition is '100% 0%'
|
| -PASS computedStyle.backgroundPosition is '100% 0%'
|
| +PASS computedStyle.backgroundPosition is 'left 100% top 0%'
|
| PASS style.backgroundPosition is '50% 50%'
|
| -PASS computedStyle.backgroundPosition is '50% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 50%'
|
| background-position invalid with one or two values, no change expected
|
| PASS style.backgroundPosition is '50% 50%'
|
| -PASS computedStyle.backgroundPosition is '50% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 50%'
|
| PASS style.backgroundPosition is '50% 50%'
|
| -PASS computedStyle.backgroundPosition is '50% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 50%'
|
| PASS style.backgroundPosition is '50% 50%'
|
| -PASS computedStyle.backgroundPosition is '50% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 50%'
|
| PASS style.backgroundPosition is '50% 50%'
|
| -PASS computedStyle.backgroundPosition is '50% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 50%'
|
| PASS style.backgroundPosition is '50% 50%'
|
| -PASS computedStyle.backgroundPosition is '50% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 50%'
|
| PASS style.backgroundPosition is '50% 50%'
|
| -PASS computedStyle.backgroundPosition is '50% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 50%'
|
| PASS style.backgroundPosition is '50% 50%'
|
| -PASS computedStyle.backgroundPosition is '50% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 50%'
|
| PASS style.backgroundPosition is '50% 50%'
|
| -PASS computedStyle.backgroundPosition is '50% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 50%'
|
| PASS style.backgroundPosition is '50% 50%'
|
| -PASS computedStyle.backgroundPosition is '50% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 50%'
|
| PASS style.backgroundPosition is '50% 50%'
|
| -PASS computedStyle.backgroundPosition is '50% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 50%'
|
| PASS style.backgroundPosition is '50% 50%'
|
| -PASS computedStyle.backgroundPosition is '50% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 50%'
|
| PASS style.backgroundPosition is '50% 50%'
|
| -PASS computedStyle.backgroundPosition is '50% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 50%'
|
| PASS style.backgroundPosition is '50% 50%'
|
| -PASS computedStyle.backgroundPosition is '50% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 50%'
|
| PASS style.backgroundPosition is '50% 50%'
|
| -PASS computedStyle.backgroundPosition is '50% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 50%'
|
| PASS style.backgroundPosition is '1px 1px'
|
| -PASS computedStyle.backgroundPosition is '1px 1px'
|
| +PASS computedStyle.backgroundPosition is 'left 1px top 1px'
|
| background-position with CSS3 comma separator, one or two values
|
| PASS style.backgroundPosition is '50% 50%, 100% 50%'
|
| -PASS computedStyle.backgroundPosition is '50% 50%, 100% 50%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 50%, left 100% top 50%'
|
| PASS style.backgroundPosition is '50% 0%, 50% 100%'
|
| -PASS computedStyle.backgroundPosition is '50% 0%, 50% 100%'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 0%, left 50% top 100%'
|
| PASS style.backgroundPosition is '100% 50%, 5px 100%'
|
| -PASS computedStyle.backgroundPosition is '100% 50%, 5px 100%'
|
| +PASS computedStyle.backgroundPosition is 'left 100% top 50%, left 5px top 100%'
|
| PASS style.backgroundPosition is '0% 0%, 100% 100%'
|
| -PASS computedStyle.backgroundPosition is '0% 0%, 100% 100%'
|
| +PASS computedStyle.backgroundPosition is 'left 0% top 0%, left 100% top 100%'
|
| background-position with CSS3 comma separator, with invalid one or two values, no change expected
|
| PASS style.backgroundPosition is '0% 0%, 100% 100%'
|
| -PASS computedStyle.backgroundPosition is '0% 0%, 100% 100%'
|
| +PASS computedStyle.backgroundPosition is 'left 0% top 0%, left 100% top 100%'
|
| PASS style.backgroundPosition is '0% 0%, 100% 100%'
|
| -PASS computedStyle.backgroundPosition is '0% 0%, 100% 100%'
|
| +PASS computedStyle.backgroundPosition is 'left 0% top 0%, left 100% top 100%'
|
| PASS style.backgroundPosition is '0% 0%, 100% 100%'
|
| -PASS computedStyle.backgroundPosition is '0% 0%, 100% 100%'
|
| +PASS computedStyle.backgroundPosition is 'left 0% top 0%, left 100% top 100%'
|
| background-position with CSS3 four values
|
| PASS style.backgroundPosition is 'left 10px top 15px'
|
| PASS computedStyle.backgroundPosition is 'left 10px top 15px'
|
| @@ -117,7 +117,7 @@ PASS computedStyle.backgroundPosition is 'left 50% top 20px'
|
| PASS style.backgroundPosition is 'left 30px top 50%'
|
| PASS computedStyle.backgroundPosition is 'left 30px top 50%'
|
| PASS style.backgroundPosition is ''
|
| -PASS computedStyle.backgroundPosition is '0% 0%'
|
| +PASS computedStyle.backgroundPosition is 'left 0% top 0%'
|
| PASS style.backgroundPosition is 'left 20% top 0%'
|
| PASS computedStyle.backgroundPosition is 'left 20% top 0%'
|
| background-position with CSS3 invalid four values, no change expected
|
| @@ -181,9 +181,9 @@ PASS style.backgroundPosition is 'left 20% top 0%'
|
| PASS computedStyle.backgroundPosition is 'left 20% top 0%'
|
| background-position with CSS3 four values and comma
|
| PASS style.backgroundPosition is '50% 50%, left 0% bottom 20px'
|
| -PASS computedStyle.backgroundPosition is '50% 50%, left 0% bottom 20px'
|
| +PASS computedStyle.backgroundPosition is 'left 50% top 50%, left 0% bottom 20px'
|
| PASS style.backgroundPosition is 'right 20px bottom 20px, 0% 50%'
|
| -PASS computedStyle.backgroundPosition is 'right 20px bottom 20px, 0% 50%'
|
| +PASS computedStyle.backgroundPosition is 'right 20px bottom 20px, left 0% top 50%'
|
| PASS style.backgroundPosition is 'left 10px top 15px, right 20% bottom 20px'
|
| PASS computedStyle.backgroundPosition is 'left 10px top 15px, right 20% bottom 20px'
|
| PASS style.backgroundPosition is 'left 10% top 0%, right 0% top 0px'
|
| @@ -211,11 +211,11 @@ PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left 50% top
|
| PASS style.background is 'left 50% top 20px round fixed border-box border-box'
|
| PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left 50% top 20px / auto border-box border-box'
|
| PASS style.background is '50% 0% round fixed border-box border-box'
|
| -PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed 50% 0% / auto border-box border-box'
|
| +PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left 50% top 0% / auto border-box border-box'
|
| PASS style.background is '50px 60px / 50px round fixed border-box border-box'
|
| -PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed 50px 60px / 50px border-box border-box'
|
| +PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left 50px top 60px / 50px border-box border-box'
|
| PASS style.background is '50px 50% / 50px round fixed border-box border-box'
|
| -PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed 50px 50% / 50px border-box border-box'
|
| +PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left 50px top 50% / 50px border-box border-box'
|
| PASS style.background is 'left 0% top 60px / 50px round fixed border-box border-box'
|
| PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left 0% top 60px / 50px border-box border-box'
|
| PASS style.background is 'left -20px top 60px / 50px round fixed border-box border-box'
|
| @@ -232,33 +232,33 @@ PASS style.background is 'left 30% top 10% round fixed border-box border-box gra
|
| PASS computedStyle.background is 'rgb(128, 128, 128) none round fixed left 30% top 10% / auto border-box border-box'
|
| background-position inside the background shorthand, some invalid cases, no changes expected
|
| PASS style.background is ''
|
| -PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
|
| PASS style.background is ''
|
| -PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
|
| PASS style.background is ''
|
| -PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
|
| PASS style.background is ''
|
| -PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
|
| PASS style.background is ''
|
| -PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
|
| PASS style.background is ''
|
| -PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
|
| PASS style.background is ''
|
| -PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
|
| PASS style.background is ''
|
| -PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
|
| PASS style.background is ''
|
| -PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
|
| PASS style.background is ''
|
| -PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
|
| PASS style.background is ''
|
| -PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
|
| PASS style.background is ''
|
| -PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
|
| PASS style.background is ''
|
| -PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
|
| PASS style.background is ''
|
| -PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'
|
| +PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
|
| PASS successfullyParsed is true
|
|
|
| TEST COMPLETE
|
|
|