Diff
Modified: trunk/LayoutTests/ChangeLog (217881 => 217882)
--- trunk/LayoutTests/ChangeLog 2017-06-07 13:24:19 UTC (rev 217881)
+++ trunk/LayoutTests/ChangeLog 2017-06-07 15:07:25 UTC (rev 217882)
@@ -1,3 +1,19 @@
+2017-06-07 Antoine Quint <grao...@apple.com>
+
+ Rebaseline and enable media/modern-media-controls/background-tint
+ https://bugs.webkit.org/show_bug.cgi?id=173056
+ <rdar://problem/32614607>
+
+ Reviewed by Eric Carlson.
+
+ Update the background-color and filter properties for backdrops to match
+ the latest implementation and specs.
+
+ * media/modern-media-controls/background-tint/background-tint-expected.txt:
+ * media/modern-media-controls/background-tint/background-tint.html:
+ * platform/ios-simulator/TestExpectations:
+ * platform/mac/TestExpectations:
+
2017-06-07 Alejandro G. Castro <a...@igalia.com>
Unreviewed GTK expectations gardening
Modified: trunk/LayoutTests/media/modern-media-controls/background-tint/background-tint-expected.txt (217881 => 217882)
--- trunk/LayoutTests/media/modern-media-controls/background-tint/background-tint-expected.txt 2017-06-07 13:24:19 UTC (rev 217881)
+++ trunk/LayoutTests/media/modern-media-controls/background-tint/background-tint-expected.txt 2017-06-07 15:07:25 UTC (rev 217882)
@@ -16,8 +16,8 @@
PASS getComputedStyle(blur).top is "0px"
PASS getComputedStyle(blur).width is "100px"
PASS getComputedStyle(blur).height is "100px"
-PASS getComputedStyle(blur).backgroundColor is "rgba(30, 30, 30, 0.45098)"
-PASS getComputedStyle(blur).webkitBackdropFilter is "saturate(1.8) blur(20px)"
+PASS getComputedStyle(blur).backgroundColor is "rgba(0, 0, 0, 0.54902)"
+PASS getComputedStyle(blur).webkitBackdropFilter is "saturate(1.8) blur(17.5px)"
Tint
PASS tint.localName is "div"
@@ -27,7 +27,7 @@
PASS getComputedStyle(tint).top is "0px"
PASS getComputedStyle(tint).width is "100px"
PASS getComputedStyle(tint).height is "100px"
-PASS getComputedStyle(tint).backgroundColor is "rgb(41, 41, 41)"
+PASS getComputedStyle(tint).backgroundColor is "rgba(255, 255, 255, 0.137255)"
PASS getComputedStyle(tint).mixBlendMode is "lighten"
PASS successfullyParsed is true
Modified: trunk/LayoutTests/media/modern-media-controls/background-tint/background-tint.html (217881 => 217882)
--- trunk/LayoutTests/media/modern-media-controls/background-tint/background-tint.html 2017-06-07 13:24:19 UTC (rev 217881)
+++ trunk/LayoutTests/media/modern-media-controls/background-tint/background-tint.html 2017-06-07 15:07:25 UTC (rev 217882)
@@ -32,8 +32,8 @@
shouldBeEqualToString("getComputedStyle(blur).top", "0px");
shouldBeEqualToString("getComputedStyle(blur).width", "100px");
shouldBeEqualToString("getComputedStyle(blur).height", "100px");
-shouldBeEqualToString("getComputedStyle(blur).backgroundColor", "rgba(30, 30, 30, 0.45098)");
-shouldBeEqualToString("getComputedStyle(blur).webkitBackdropFilter", "saturate(1.8) blur(20px)");
+shouldBeEqualToString("getComputedStyle(blur).backgroundColor", "rgba(0, 0, 0, 0.54902)");
+shouldBeEqualToString("getComputedStyle(blur).webkitBackdropFilter", "saturate(1.8) blur(17.5px)");
debug("");
debug("Tint");
@@ -45,7 +45,7 @@
shouldBeEqualToString("getComputedStyle(tint).top", "0px");
shouldBeEqualToString("getComputedStyle(tint).width", "100px");
shouldBeEqualToString("getComputedStyle(tint).height", "100px");
-shouldBeEqualToString("getComputedStyle(tint).backgroundColor", "rgb(41, 41, 41)");
+shouldBeEqualToString("getComputedStyle(tint).backgroundColor", "rgba(255, 255, 255, 0.137255)");
shouldBeEqualToString("getComputedStyle(tint).mixBlendMode", "lighten");
container.remove();
Modified: trunk/LayoutTests/platform/ios-simulator/TestExpectations (217881 => 217882)
--- trunk/LayoutTests/platform/ios-simulator/TestExpectations 2017-06-07 13:24:19 UTC (rev 217881)
+++ trunk/LayoutTests/platform/ios-simulator/TestExpectations 2017-06-07 15:07:25 UTC (rev 217882)
@@ -58,6 +58,7 @@
media/modern-media-controls/airplay-button [ Pass ]
media/modern-media-controls/airplay-placard [ Pass ]
media/modern-media-controls/audio [ Pass ]
+media/modern-media-controls/background-tint [ Pass ]
# AirPlay cannot be tested on iOS
webkit.org/b/166062 media/modern-media-controls/airplay-support [ Skip ]
Modified: trunk/LayoutTests/platform/mac/TestExpectations (217881 => 217882)
--- trunk/LayoutTests/platform/mac/TestExpectations 2017-06-07 13:24:19 UTC (rev 217881)
+++ trunk/LayoutTests/platform/mac/TestExpectations 2017-06-07 15:07:25 UTC (rev 217882)
@@ -1553,6 +1553,7 @@
media/modern-media-controls/airplay-placard [ Pass ]
media/modern-media-controls/airplay-support [ Pass ]
media/modern-media-controls/audio [ Pass ]
+media/modern-media-controls/background-tint [ Pass ]
media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-drag-is-prevented-over-button.html [ Pass ]
media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-drag.html [ Pass ]
media/modern-media-controls/volume-up-support [ Pass ]