Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Unified Diff: third_party/WebKit/LayoutTests/fast/backgrounds/background-position-parsing-2-expected.txt

Issue 1715513002: Move background related shorthands into CSSPropertyParser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase test Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/backgrounds/background-position-parsing-2-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/backgrounds/background-position-parsing-2-expected.txt b/third_party/WebKit/LayoutTests/fast/backgrounds/background-position-parsing-2-expected.txt
index 7120166702a6a9e60021f4805aabe3f4670bed9b..f666e887674f29766e1e4833cb6d4b062a29c133 100644
--- a/third_party/WebKit/LayoutTests/fast/backgrounds/background-position-parsing-2-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/backgrounds/background-position-parsing-2-expected.txt
@@ -5,99 +5,99 @@ 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 style.backgroundPosition is '70% 50%'
+PASS style.backgroundPosition is '70% center'
PASS computedStyle.backgroundPosition is '70% 50%'
-PASS style.backgroundPosition is '84px 50%'
+PASS style.backgroundPosition is '84px center'
PASS computedStyle.backgroundPosition is '84px 50%'
-PASS style.backgroundPosition is '0% 50%'
+PASS style.backgroundPosition is 'left center'
PASS computedStyle.backgroundPosition is '0% 50%'
-PASS style.backgroundPosition is '100% 50%'
+PASS style.backgroundPosition is 'right center'
PASS computedStyle.backgroundPosition is '100% 50%'
-PASS style.backgroundPosition is '50% 100%'
+PASS style.backgroundPosition is 'center bottom'
PASS computedStyle.backgroundPosition is '50% 100%'
-PASS style.backgroundPosition is '50% 0%'
+PASS style.backgroundPosition is 'center top'
PASS computedStyle.backgroundPosition is '50% 0%'
-PASS style.backgroundPosition is '50% 50%'
+PASS style.backgroundPosition is 'center center'
PASS computedStyle.backgroundPosition is '50% 50%'
background-position with two values
-PASS style.backgroundPosition is '0% 100%'
+PASS style.backgroundPosition is 'left bottom'
PASS computedStyle.backgroundPosition is '0% 100%'
-PASS style.backgroundPosition is '0% 100%'
+PASS style.backgroundPosition is 'left bottom'
PASS computedStyle.backgroundPosition is '0% 100%'
-PASS style.backgroundPosition is '100% 100%'
+PASS style.backgroundPosition is '100% bottom'
PASS computedStyle.backgroundPosition is '100% 100%'
-PASS style.backgroundPosition is '100% 0%'
+PASS style.backgroundPosition is '100% top'
PASS computedStyle.backgroundPosition is '100% 0%'
-PASS style.backgroundPosition is '54px 100%'
+PASS style.backgroundPosition is '54px bottom'
PASS computedStyle.backgroundPosition is '54px 100%'
-PASS style.backgroundPosition is '50% 50%'
+PASS style.backgroundPosition is 'center center'
PASS computedStyle.backgroundPosition is '50% 50%'
-PASS style.backgroundPosition is '5% 100%'
+PASS style.backgroundPosition is '5% bottom'
PASS computedStyle.backgroundPosition is '5% 100%'
PASS style.backgroundPosition is '30pt -20px'
PASS computedStyle.backgroundPosition is '40px -20px'
-PASS style.backgroundPosition is '100% 50%'
+PASS style.backgroundPosition is 'right center'
PASS computedStyle.backgroundPosition is '100% 50%'
PASS style.backgroundPosition is '100% 0px'
PASS computedStyle.backgroundPosition is '100% 0px'
-PASS style.backgroundPosition is '100% 50%'
+PASS style.backgroundPosition is 'right center'
PASS computedStyle.backgroundPosition is '100% 50%'
-PASS style.backgroundPosition is '50% 50%'
+PASS style.backgroundPosition is 'center 50%'
PASS computedStyle.backgroundPosition is '50% 50%'
-PASS style.backgroundPosition is '0% 50%'
+PASS style.backgroundPosition is 'left center'
PASS computedStyle.backgroundPosition is '0% 50%'
-PASS style.backgroundPosition is '-20% 50%'
+PASS style.backgroundPosition is '-20% center'
PASS computedStyle.backgroundPosition is '-20% 50%'
-PASS style.backgroundPosition is '100% 0%'
+PASS style.backgroundPosition is 'right top'
PASS computedStyle.backgroundPosition is '100% 0%'
-PASS style.backgroundPosition is '50% 50%'
+PASS style.backgroundPosition is '50% center'
PASS computedStyle.backgroundPosition is '50% 50%'
background-position invalid with one or two values, no change expected
-PASS style.backgroundPosition is '50% 50%'
+PASS style.backgroundPosition is '50% center'
PASS computedStyle.backgroundPosition is '50% 50%'
-PASS style.backgroundPosition is '50% 50%'
+PASS style.backgroundPosition is '50% center'
PASS computedStyle.backgroundPosition is '50% 50%'
-PASS style.backgroundPosition is '50% 50%'
+PASS style.backgroundPosition is '50% center'
PASS computedStyle.backgroundPosition is '50% 50%'
-PASS style.backgroundPosition is '50% 50%'
+PASS style.backgroundPosition is '50% center'
PASS computedStyle.backgroundPosition is '50% 50%'
-PASS style.backgroundPosition is '50% 50%'
+PASS style.backgroundPosition is '50% center'
PASS computedStyle.backgroundPosition is '50% 50%'
-PASS style.backgroundPosition is '50% 50%'
+PASS style.backgroundPosition is '50% center'
PASS computedStyle.backgroundPosition is '50% 50%'
-PASS style.backgroundPosition is '50% 50%'
+PASS style.backgroundPosition is '50% center'
PASS computedStyle.backgroundPosition is '50% 50%'
-PASS style.backgroundPosition is '50% 50%'
+PASS style.backgroundPosition is '50% center'
PASS computedStyle.backgroundPosition is '50% 50%'
-PASS style.backgroundPosition is '50% 50%'
+PASS style.backgroundPosition is '50% center'
PASS computedStyle.backgroundPosition is '50% 50%'
-PASS style.backgroundPosition is '50% 50%'
+PASS style.backgroundPosition is '50% center'
PASS computedStyle.backgroundPosition is '50% 50%'
-PASS style.backgroundPosition is '50% 50%'
+PASS style.backgroundPosition is '50% center'
PASS computedStyle.backgroundPosition is '50% 50%'
-PASS style.backgroundPosition is '50% 50%'
+PASS style.backgroundPosition is '50% center'
PASS computedStyle.backgroundPosition is '50% 50%'
-PASS style.backgroundPosition is '50% 50%'
+PASS style.backgroundPosition is '50% center'
PASS computedStyle.backgroundPosition is '50% 50%'
-PASS style.backgroundPosition is '50% 50%'
+PASS style.backgroundPosition is '50% center'
PASS computedStyle.backgroundPosition is '50% 50%'
PASS style.backgroundPosition is '1px 1px'
PASS computedStyle.backgroundPosition is '1px 1px'
background-position with CSS3 comma separator, one or two values
-PASS style.backgroundPosition is '50% 50%, 100% 50%'
+PASS style.backgroundPosition is '50% center, 100% center'
PASS computedStyle.backgroundPosition is '50% 50%, 100% 50%'
-PASS style.backgroundPosition is '50% 0%, 50% 100%'
+PASS style.backgroundPosition is 'center top, center bottom'
PASS computedStyle.backgroundPosition is '50% 0%, 50% 100%'
-PASS style.backgroundPosition is '100% 50%, 5px 100%'
+PASS style.backgroundPosition is 'right center, 5px bottom'
PASS computedStyle.backgroundPosition is '100% 50%, 5px 100%'
-PASS style.backgroundPosition is '0% 0%, 100% 100%'
+PASS style.backgroundPosition is 'left top, right bottom'
PASS computedStyle.backgroundPosition is '0% 0%, 100% 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 style.backgroundPosition is 'left top, right bottom'
PASS computedStyle.backgroundPosition is '0% 0%, 100% 100%'
-PASS style.backgroundPosition is '0% 0%, 100% 100%'
+PASS style.backgroundPosition is 'left top, right bottom'
PASS computedStyle.backgroundPosition is '0% 0%, 100% 100%'
-PASS style.backgroundPosition is '0% 0%, 100% 100%'
+PASS style.backgroundPosition is 'left top, right bottom'
PASS computedStyle.backgroundPosition is '0% 0%, 100% 100%'
background-position with CSS3 four values
PASS style.backgroundPosition is 'left 10px top 15px'
@@ -106,97 +106,97 @@ PASS style.backgroundPosition is 'left 10% top 30%'
PASS computedStyle.backgroundPosition is 'left 10% top 30%'
PASS style.backgroundPosition is 'left 30% top 10%'
PASS computedStyle.backgroundPosition is 'left 30% top 10%'
-PASS style.backgroundPosition is 'right 0% top 15px'
-PASS computedStyle.backgroundPosition is 'right 0% top 15px'
-PASS style.backgroundPosition is 'left 10px top 50%'
-PASS computedStyle.backgroundPosition is 'left 10px top 50%'
-PASS style.backgroundPosition is 'left 50% top 20px'
-PASS computedStyle.backgroundPosition is 'left 50% top 20px'
-PASS style.backgroundPosition is 'left 50% top 20px'
-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 'right top 15px'
+PASS computedStyle.backgroundPosition is '100% top 15px'
+PASS style.backgroundPosition is 'left 10px center'
+PASS computedStyle.backgroundPosition is 'left 10px 50%'
+PASS style.backgroundPosition is 'center top 20px'
+PASS computedStyle.backgroundPosition is '50% top 20px'
+PASS style.backgroundPosition is 'center top 20px'
+PASS computedStyle.backgroundPosition is '50% top 20px'
+PASS style.backgroundPosition is 'left 30px center'
+PASS computedStyle.backgroundPosition is 'left 30px 50%'
+PASS style.backgroundPosition is 'left 20% top'
+PASS computedStyle.backgroundPosition is 'left 20% 0%'
PASS style.backgroundPosition is ''
PASS computedStyle.backgroundPosition is '0% 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
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
-PASS style.backgroundPosition is 'left 20% top 0%'
-PASS computedStyle.backgroundPosition is 'left 20% top 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 0%'
+PASS style.backgroundPosition is ''
+PASS computedStyle.backgroundPosition is '0% 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 style.backgroundPosition is 'right 20px bottom 20px, 0% 50%'
+PASS style.backgroundPosition is 'center center, left bottom 20px'
+PASS computedStyle.backgroundPosition is '50% 50%, 0% bottom 20px'
+PASS style.backgroundPosition is 'right 20px bottom 20px, left center'
PASS computedStyle.backgroundPosition is 'right 20px bottom 20px, 0% 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'
-PASS computedStyle.backgroundPosition is 'left 10% top 0%, right 0% top 0px'
-PASS style.backgroundPosition is 'right 0% top 15px, right 20px bottom 0%'
-PASS computedStyle.backgroundPosition is 'right 0% top 15px, right 20px bottom 0%'
+PASS style.backgroundPosition is 'left 10% top, right top 0px'
+PASS computedStyle.backgroundPosition is 'left 10% 0%, 100% top 0px'
+PASS style.backgroundPosition is 'right top 15px, right 20px bottom'
+PASS computedStyle.backgroundPosition is '100% top 15px, right 20px 100%'
background-position with invalid CSS3 four values and comma, no change expected
-PASS style.backgroundPosition is 'right 0% top 15px, right 20px bottom 0%'
-PASS computedStyle.backgroundPosition is 'right 0% top 15px, right 20px bottom 0%'
-PASS style.backgroundPosition is 'right 0% top 15px, right 20px bottom 0%'
-PASS computedStyle.backgroundPosition is 'right 0% top 15px, right 20px bottom 0%'
-PASS style.backgroundPosition is 'right 0% top 15px, right 20px bottom 0%'
-PASS computedStyle.backgroundPosition is 'right 0% top 15px, right 20px bottom 0%'
+PASS style.backgroundPosition is 'right top 15px, right 20px bottom'
+PASS computedStyle.backgroundPosition is '100% top 15px, right 20px 100%'
+PASS style.backgroundPosition is 'right top 15px, right 20px bottom'
+PASS computedStyle.backgroundPosition is '100% top 15px, right 20px 100%'
+PASS style.backgroundPosition is 'right top 15px, right 20px bottom'
+PASS computedStyle.backgroundPosition is '100% top 15px, right 20px 100%'
background-position inside the background shorthand
PASS style.background is 'left 30% top 10% / 10em round fixed border-box border-box gray'
PASS computedStyle.background is 'rgb(128, 128, 128) none round fixed left 30% top 10% / 160px border-box border-box'

Powered by Google App Engine
This is Rietveld 408576698