Rebaseline media/modern-media-controls/skip-back-button
authorgraouts@webkit.org <graouts@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Jun 2017 01:16:38 +0000 (01:16 +0000)
committergraouts@webkit.org <graouts@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Jun 2017 01:16:38 +0000 (01:16 +0000)
https://bugs.webkit.org/show_bug.cgi?id=173213

Reviewed by Dean Jackson.

Use SVG assets.

* media/modern-media-controls/skip-back-button/skip-back-button-expected.txt:
* media/modern-media-controls/skip-back-button/skip-back-button.html:
* platform/ios-simulator/TestExpectations:
* platform/mac/TestExpectations:

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

LayoutTests/ChangeLog
LayoutTests/media/modern-media-controls/skip-back-button/skip-back-button-expected.txt
LayoutTests/media/modern-media-controls/skip-back-button/skip-back-button.html
LayoutTests/platform/ios-simulator/TestExpectations
LayoutTests/platform/mac/TestExpectations

index d0a51c8..b25d1ba 100644 (file)
@@ -1,3 +1,17 @@
+2017-06-13  Antoine Quint  <graouts@apple.com>
+
+        Rebaseline media/modern-media-controls/skip-back-button
+        https://bugs.webkit.org/show_bug.cgi?id=173213
+
+        Reviewed by Dean Jackson.
+
+        Use SVG assets.
+
+        * media/modern-media-controls/skip-back-button/skip-back-button-expected.txt:
+        * media/modern-media-controls/skip-back-button/skip-back-button.html:
+        * platform/ios-simulator/TestExpectations:
+        * platform/mac/TestExpectations:
+
 2017-06-11  Antoine Quint  <graouts@apple.com>
 
         Rebaseline media/modern-media-controls/time-label
index 653b175..b98343c 100644 (file)
@@ -4,11 +4,10 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 
 PASS skipBackButton.element.localName is "button"
-PASS skipBackButton.element.classList.contains("icon") is true
 PASS skipBackButton.element.classList.contains("skip-back") is true
 PASS skipBackButton.iconName is Icons.SkipBack
-PASS skipBackButton.element.style.webkitMaskImage.includes("macOS/interval-skip-back@") became true
-PASS iOSSkipBackButton.element.style.webkitMaskImage.includes("iOS/interval-skip-back@") became true
+PASS skipBackButton.image.element.style.webkitMaskImage.includes("macOS/SkipBack15.svg") became true
+PASS iOSSkipBackButton.image.element.style.webkitMaskImage.includes("iOS/SkipBack15.svg") became true
 PASS successfullyParsed is true
 
 TEST COMPLETE
index 471b166..598796e 100644 (file)
@@ -11,14 +11,13 @@ description("Testing the <code>SkipBackButton</code> class.");
 const skipBackButton = new SkipBackButton({ layoutTraits: LayoutTraits.macOS });
 
 shouldBeEqualToString("skipBackButton.element.localName", "button");
-shouldBeTrue('skipBackButton.element.classList.contains("icon")');
 shouldBeTrue('skipBackButton.element.classList.contains("skip-back")');
 shouldBe("skipBackButton.iconName", "Icons.SkipBack");
 
 const iOSSkipBackButton = new SkipBackButton({ layoutTraits: LayoutTraits.iOS });
 
-shouldBecomeEqual('skipBackButton.element.style.webkitMaskImage.includes("macOS/interval-skip-back@")', "true", () => {
-    shouldBecomeEqual('iOSSkipBackButton.element.style.webkitMaskImage.includes("iOS/interval-skip-back@")', "true", finishJSTest);
+shouldBecomeEqual('skipBackButton.image.element.style.webkitMaskImage.includes("macOS/SkipBack15.svg")', "true", () => {
+    shouldBecomeEqual('iOSSkipBackButton.image.element.style.webkitMaskImage.includes("iOS/SkipBack15.svg")', "true", finishJSTest);
 });
 
 </script>
index 5c55c98..f096a48 100644 (file)
@@ -88,6 +88,7 @@ media/modern-media-controls/play-pause-button [ Pass ]
 media/modern-media-controls/rewind-button [ Pass ]
 media/modern-media-controls/scheduler [ Pass ]
 media/modern-media-controls/scrubber [ Pass ]
+media/modern-media-controls/skip-back-button [ Pass ]
 media/modern-media-controls/skip-forward-button [ Pass ]
 media/modern-media-controls/time-label [ Pass ]
 
index 709d274..3c41d61 100644 (file)
@@ -1570,6 +1570,7 @@ media/modern-media-controls/play-pause-button [ Pass ]
 media/modern-media-controls/rewind-button [ Pass ]
 media/modern-media-controls/scheduler [ Pass ]
 media/modern-media-controls/scrubber [ Pass ]
+media/modern-media-controls/skip-back-button [ Pass ]
 media/modern-media-controls/skip-forward-button [ Pass ]
 media/modern-media-controls/time-label [ Pass ]
 media/modern-media-controls/volume-up-support [ Pass ]