Rebaseline and enable media/modern-media-controls/background-tint
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Jun 2017 15:07:25 +0000 (15:07 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Jun 2017 15:07:25 +0000 (15:07 +0000)
https://bugs.webkit.org/show_bug.cgi?id=173056
<rdar://problem/32614607>

Patch by Antoine Quint <graouts@apple.com> on 2017-06-07
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217882 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/media/modern-media-controls/background-tint/background-tint-expected.txt
LayoutTests/media/modern-media-controls/background-tint/background-tint.html
LayoutTests/platform/ios-simulator/TestExpectations
LayoutTests/platform/mac/TestExpectations

index efa138b..c944447 100644 (file)
@@ -1,3 +1,19 @@
+2017-06-07  Antoine Quint  <graouts@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  <alex@igalia.com>
 
         Unreviewed GTK expectations gardening
index a475135..419420f 100644 (file)
@@ -16,8 +16,8 @@ PASS getComputedStyle(blur).left is "0px"
 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).left is "0px"
 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
 
index d5aac62..6a4d58f 100644 (file)
@@ -32,8 +32,8 @@ shouldBeEqualToString("getComputedStyle(blur).left", "0px");
 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).left", "0px");
 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();
index 34019fc..4403fe4 100644 (file)
@@ -58,6 +58,7 @@ fast/css/sticky/sticky-writing-mode-horizontal-bt.html [ ImageOnlyFailure ]
 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 ]
index 21033d7..ddcbacb 100644 (file)
@@ -1553,6 +1553,7 @@ media/modern-media-controls/airplay-button [ Pass ]
 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 ]