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

Unified Diff: third_party/WebKit/LayoutTests/fast/backgrounds/background-shorthand-with-backgroundSize-style-expected.txt

Issue 1676513003: Move background/webkit-mask shorthands into CSSPropertyParser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix review issues Created 4 years, 9 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-shorthand-with-backgroundSize-style-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/backgrounds/background-shorthand-with-backgroundSize-style-expected.txt b/third_party/WebKit/LayoutTests/fast/backgrounds/background-shorthand-with-backgroundSize-style-expected.txt
index 311620f1d076a076e2d31afb6b6e10461984feb0..850ea6891001bb7fd5d3f67f7b48b41fcb666691 100644
--- a/third_party/WebKit/LayoutTests/fast/backgrounds/background-shorthand-with-backgroundSize-style-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/backgrounds/background-shorthand-with-backgroundSize-style-expected.txt
@@ -3,14 +3,14 @@ Tests background shortand property with background-size
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS e.style.background is "url(\"dummy://test.png\") 50% 50% / cover no-repeat border-box border-box red"
+PASS e.style.background is "url(\"dummy://test.png\") center center / cover no-repeat border-box border-box red"
PASS e.style.backgroundSize is "cover"
PASS checkStyle() is true
PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy://test.png\") no-repeat scroll 50% 50% / cover border-box border-box"
PASS computedStyle.getPropertyValue("background-size") is "cover"
PASS checkComputedStyleValue() is true
-PASS e.style.background is "url(\"dummy://test.png\") 20px 50% / contain no-repeat padding-box padding-box red"
+PASS e.style.background is "url(\"dummy://test.png\") 20px center / contain no-repeat padding-box padding-box red"
PASS e.style.backgroundSize is "contain"
PASS checkStyle() is true
PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy://test.png\") no-repeat scroll 20px 50% / contain padding-box padding-box"
@@ -24,14 +24,14 @@ PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy
PASS computedStyle.getPropertyValue("background-size") is "50% 75%"
PASS checkComputedStyleValue() is true
-PASS e.style.background is "url(\"dummy://test.png\") 0% 0% / 100px 200px repeat border-box content-box red"
+PASS e.style.background is "url(\"dummy://test.png\") left top / 100px 200px repeat border-box content-box red"
PASS e.style.backgroundSize is "100px 200px"
PASS checkStyle() is true
PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy://test.png\") repeat scroll 0% 0% / 100px 200px border-box content-box"
PASS computedStyle.getPropertyValue("background-size") is "100px 200px"
PASS checkComputedStyleValue() is true
-PASS e.style.background is "url(\"dummy://test.png\") 50% 50% / auto repeat content-box padding-box red"
+PASS e.style.background is "url(\"dummy://test.png\") 50% center / auto repeat content-box padding-box red"
PASS e.style.backgroundSize is "auto"
PASS checkStyle() is true
PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy://test.png\") repeat scroll 50% 50% / auto content-box padding-box"
@@ -45,21 +45,21 @@ PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy
PASS computedStyle.getPropertyValue("background-size") is "50%"
PASS checkComputedStyleValue() is true
-PASS e.style.background is "url(\"dummy://test.png\") 0% 0% / 100px repeat scroll padding-box border-box red"
+PASS e.style.background is "url(\"dummy://test.png\") left top / 100px repeat scroll padding-box border-box red"
PASS e.style.backgroundSize is "100px"
PASS checkStyle() is true
PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy://test.png\") repeat scroll 0% 0% / 100px padding-box border-box"
PASS computedStyle.getPropertyValue("background-size") is "100px"
PASS checkComputedStyleValue() is true
-PASS e.style.background is "url(\"dummy://test.png\") 50% 50% / auto repeat fixed content-box content-box red"
+PASS e.style.background is "url(\"dummy://test.png\") 50% center / auto repeat fixed content-box content-box red"
PASS e.style.backgroundSize is "auto"
PASS checkStyle() is true
PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy://test.png\") repeat fixed 50% 50% / auto content-box content-box"
PASS computedStyle.getPropertyValue("background-size") is "auto"
PASS checkComputedStyleValue() is true
-PASS e.style.background is "0% 0% / 50%"
+PASS e.style.background is "left top / 50%"
PASS e.style.backgroundSize is "50%"
PASS checkStyle() is true
PASS computedStyle.getPropertyValue("background") is "rgba(0, 0, 0, 0) none repeat scroll 0% 0% / 50% padding-box border-box"

Powered by Google App Engine
This is Rietveld 408576698