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

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

Issue 38573003: Use 4 value syntax for getComputedStyle of background-position and -webkit-mask-position (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 1 month 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: LayoutTests/fast/backgrounds/background-shorthand-with-backgroundSize-style-expected.txt
diff --git a/LayoutTests/fast/backgrounds/background-shorthand-with-backgroundSize-style-expected.txt b/LayoutTests/fast/backgrounds/background-shorthand-with-backgroundSize-style-expected.txt
index ae16a11bd192000eeca921219b05eb1ab0331360..3b7783284a563ccbf5eb626e46042032e5c72e90 100644
--- a/LayoutTests/fast/backgrounds/background-shorthand-with-backgroundSize-style-expected.txt
+++ b/LayoutTests/fast/backgrounds/background-shorthand-with-backgroundSize-style-expected.txt
@@ -6,91 +6,91 @@ 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.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") is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat scroll left 50% top 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.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'
+PASS computedStyle.getPropertyValue("background") is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat scroll left 20px top 50% / contain padding-box padding-box'
PASS computedStyle.getPropertyValue("background-size") is 'contain'
PASS checkComputedStyleValue() is true
PASS e.style.background is 'url(dummy://test.png) 50px 60px / 50% 75% no-repeat red'
PASS e.style.backgroundSize is '50% 75%'
PASS checkStyle() is true
-PASS computedStyle.getPropertyValue("background") is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat scroll 50px 60px / 50% 75% padding-box border-box'
+PASS computedStyle.getPropertyValue("background") is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat scroll left 50px top 60px / 50% 75% padding-box border-box'
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.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") is 'rgb(255, 0, 0) url(dummy://test.png) repeat scroll left 0% top 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.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'
+PASS computedStyle.getPropertyValue("background") is 'rgb(255, 0, 0) url(dummy://test.png) repeat scroll left 50% top 50% / auto content-box padding-box'
PASS computedStyle.getPropertyValue("background-size") is 'auto'
PASS checkComputedStyleValue() is true
PASS e.style.background is 'url(dummy://test.png) 50px 60px / 50% no-repeat fixed red'
PASS e.style.backgroundSize is '50%'
PASS checkStyle() is true
-PASS computedStyle.getPropertyValue("background") is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 50px 60px / 50% padding-box border-box'
+PASS computedStyle.getPropertyValue("background") is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 50px top 60px / 50% padding-box border-box'
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.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") is 'rgb(255, 0, 0) url(dummy://test.png) repeat scroll left 0% top 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.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") is 'rgb(255, 0, 0) url(dummy://test.png) repeat fixed left 50% top 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.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'
+PASS computedStyle.getPropertyValue("background") is 'rgba(0, 0, 0, 0) none repeat scroll left 0% top 0% / 50% padding-box border-box'
PASS computedStyle.getPropertyValue("background-size") is '50%'
PASS checkComputedStyleValue() is true
PASS e.style.background is 'fixed red'
PASS e.style.backgroundSize is 'initial'
PASS checkStyle() is true
-PASS computedStyle.getPropertyValue("background") is 'rgb(255, 0, 0) none repeat fixed 0% 0% / auto padding-box border-box'
+PASS computedStyle.getPropertyValue("background") is 'rgb(255, 0, 0) none repeat fixed left 0% top 0% / auto padding-box border-box'
PASS computedStyle.getPropertyValue("background-size") is 'auto'
PASS checkComputedStyleValue() is true
PASS e.style.background is ''
PASS e.style.backgroundSize is ''
PASS checkStyle() is true
-PASS computedStyle.getPropertyValue("background") is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'
+PASS computedStyle.getPropertyValue("background") is 'rgba(0, 0, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
PASS computedStyle.getPropertyValue("background-size") is 'auto'
PASS checkComputedStyleValue() is true
PASS e.style.background is ''
PASS e.style.backgroundSize is ''
PASS checkStyle() is true
-PASS computedStyle.getPropertyValue("background") is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'
+PASS computedStyle.getPropertyValue("background") is 'rgba(0, 0, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
PASS computedStyle.getPropertyValue("background-size") is 'auto'
PASS checkComputedStyleValue() is true
PASS e.style.background is ''
PASS e.style.backgroundSize is ''
PASS checkStyle() is true
-PASS computedStyle.getPropertyValue("background") is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box'
+PASS computedStyle.getPropertyValue("background") is 'rgba(0, 0, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
PASS computedStyle.getPropertyValue("background-size") is 'auto'
PASS checkComputedStyleValue() is true

Powered by Google App Engine
This is Rietveld 408576698