Rebaseline media/modern-media-controls/slider
authorgraouts@webkit.org <graouts@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Jun 2017 01:18:06 +0000 (01:18 +0000)
committergraouts@webkit.org <graouts@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Jun 2017 01:18:06 +0000 (01:18 +0000)
https://bugs.webkit.org/show_bug.cgi?id=173215

Reviewed by Dean Jackson.

* media/modern-media-controls/slider/slider-constructor-expected.txt:
* media/modern-media-controls/slider/slider-constructor.html:
* media/modern-media-controls/slider/slider-styles-expected.txt:
* media/modern-media-controls/slider/slider-styles.html:
* platform/ios-simulator/TestExpectations:
* platform/mac/TestExpectations:

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

LayoutTests/ChangeLog
LayoutTests/media/modern-media-controls/slider/slider-constructor-expected.txt
LayoutTests/media/modern-media-controls/slider/slider-constructor.html
LayoutTests/media/modern-media-controls/slider/slider-styles-expected.txt
LayoutTests/media/modern-media-controls/slider/slider-styles.html
LayoutTests/platform/ios-simulator/TestExpectations
LayoutTests/platform/mac/TestExpectations

index b25d1ba..a0fa2c1 100644 (file)
@@ -1,5 +1,19 @@
 2017-06-13  Antoine Quint  <graouts@apple.com>
 
+        Rebaseline media/modern-media-controls/slider
+        https://bugs.webkit.org/show_bug.cgi?id=173215
+
+        Reviewed by Dean Jackson.
+
+        * media/modern-media-controls/slider/slider-constructor-expected.txt:
+        * media/modern-media-controls/slider/slider-constructor.html:
+        * media/modern-media-controls/slider/slider-styles-expected.txt:
+        * media/modern-media-controls/slider/slider-styles.html:
+        * platform/ios-simulator/TestExpectations:
+        * platform/mac/TestExpectations:
+
+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
 
index 5994b1c..bb7e2f9 100644 (file)
@@ -6,7 +6,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 PASS slider.element.localName is "div"
 PASS slider.element.className.trim() is "slider"
 PASS slider.children.length is 2
-PASS slider.children[0].element.localName is "canvas"
+PASS slider.children[0].element.localName is "div"
 PASS slider.children[1].element.localName is "input"
 PASS slider.children[1].element.type is "range"
 PASS slider.children[1].element.min is "0"
index 0dcde49..044e618 100644 (file)
@@ -11,14 +11,14 @@ const slider = new Slider;
 shouldBeEqualToString("slider.element.localName", "div");
 shouldBeEqualToString("slider.element.className.trim()", "slider");
 shouldBe("slider.children.length", "2");
-shouldBeEqualToString("slider.children[0].element.localName", "canvas");
+shouldBeEqualToString("slider.children[0].element.localName", "div");
 shouldBeEqualToString("slider.children[1].element.localName", "input");
 shouldBeEqualToString("slider.children[1].element.type", "range");
 shouldBeEqualToString("slider.children[1].element.min", "0");
 shouldBeEqualToString("slider.children[1].element.max", "1");
 shouldBeEqualToString("slider.children[1].element.step", "0.001");
 
-const sliderWithCSSClassName = new Slider({ cssClassName: "foo" });
+const sliderWithCSSClassName = new Slider("foo");
 shouldBeEqualToString("sliderWithCSSClassName.element.className", "slider foo");
 
 </script>
index cb11c26..77e4529 100644 (file)
@@ -3,13 +3,13 @@ Testing the Slider computed style.
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
+PASS containerStyle.position is "relative"
 PASS containerStyle.position is "absolute"
-PASS canvasStyle.position is "absolute"
-PASS canvasStyle.top is "0px"
-PASS canvasStyle.left is "0px"
-PASS canvasStyle.width is "200px"
-PASS canvasStyle.height is "25px"
-PASS canvasStyle.pointerEvents is "none"
+PASS containerStyle.top is "5.5px"
+PASS containerStyle.left is "0px"
+PASS containerStyle.width is "200px"
+PASS containerStyle.height is "5px"
+PASS containerStyle.pointerEvents is "none"
 PASS inputStyle.position is "absolute"
 PASS inputStyle.top is "0px"
 PASS inputStyle.left is "0px"
index ec48b2b..8c6fd85 100644 (file)
@@ -18,15 +18,15 @@ scheduler.frameDidFire = function()
     document.body.appendChild(slider.element);
 
     containerStyle = window.getComputedStyle(slider.element);
-    shouldBeEqualToString("containerStyle.position", "absolute");
+    shouldBeEqualToString("containerStyle.position", "relative");
 
-    canvasStyle = window.getComputedStyle(slider.children[0].element);
-    shouldBeEqualToString("canvasStyle.position", "absolute");
-    shouldBeEqualToString("canvasStyle.top", "0px");
-    shouldBeEqualToString("canvasStyle.left", "0px");
-    shouldBeEqualToString("canvasStyle.width", "200px");
-    shouldBeEqualToString("canvasStyle.height", "25px");
-    shouldBeEqualToString("canvasStyle.pointerEvents", "none");
+    containerStyle = window.getComputedStyle(slider.children[0].element);
+    shouldBeEqualToString("containerStyle.position", "absolute");
+    shouldBeEqualToString("containerStyle.top", "5.5px");
+    shouldBeEqualToString("containerStyle.left", "0px");
+    shouldBeEqualToString("containerStyle.width", "200px");
+    shouldBeEqualToString("containerStyle.height", "5px");
+    shouldBeEqualToString("containerStyle.pointerEvents", "none");
 
     inputStyle = window.getComputedStyle(slider.children[1].element);
     shouldBeEqualToString("inputStyle.position", "absolute");
index f096a48..fad93b7 100644 (file)
@@ -90,6 +90,7 @@ 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/slider [ Pass ]
 media/modern-media-controls/time-label [ Pass ]
 
 # AirPlay cannot be tested on iOS
index 3c41d61..83813e2 100644 (file)
@@ -1572,6 +1572,7 @@ 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/slider [ Pass ]
 media/modern-media-controls/time-label [ Pass ]
 media/modern-media-controls/volume-up-support [ Pass ]