WebCore:
authoradele@apple.com <adele@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Jan 2008 22:28:49 +0000 (22:28 +0000)
committeradele@apple.com <adele@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Jan 2008 22:28:49 +0000 (22:28 +0000)
        Reviewed by Sam.

        Fix for <rdar://problem/5679452> Finish tweaking layout/alignment of media controls slider to match QuickTime plug-in

        * css/html4.css: Add horizontal padding to the media slider.
        * rendering/RenderSlider.cpp:
        (WebCore::HTMLSliderThumbElement::defaultEventHandler): Replace use of absoluteBoundingBox() with width() and height()
        (WebCore::RenderSlider::positionForOffset): ditto. Also, use the trackSize() for the maximum offset.
        (WebCore::RenderSlider::layout):  Use contentWidth() and contentHeight() to take padding into account.
        (WebCore::RenderSlider::trackSize): ditto.

LayoutTests:

        Reviewed by Sam.

        Adding new test and updated results for:
        <rdar://problem/5679452> Finish tweaking layout/alignment of media controls slider to match QuickTime plug-in

        * fast/forms/slider-padding.html: Added.
        * platform/mac/fast/forms/slider-padding-expected.checksum: Added.
        * platform/mac/fast/forms/slider-padding-expected.png: Added.
        * platform/mac/fast/forms/slider-padding-expected.txt: Added.
        * platform/mac/media/audio-controls-rendering-expected.checksum:
        * platform/mac/media/audio-controls-rendering-expected.png:
        * platform/mac/media/audio-controls-rendering-expected.txt:
        * platform/mac/media/broken-video-expected.checksum:
        * platform/mac/media/broken-video-expected.png:
        * platform/mac/media/progress-event-expected.checksum:
        * platform/mac/media/progress-event-expected.png:
        * platform/mac/media/unsupported-rtsp-expected.checksum:
        * platform/mac/media/unsupported-rtsp-expected.png:
        * platform/mac/media/unsupported-tracks-expected.checksum:
        * platform/mac/media/unsupported-tracks-expected.png:
        * platform/mac/media/video-append-source-expected.checksum:
        * platform/mac/media/video-append-source-expected.png:
        * platform/mac/media/video-autoplay-expected.checksum:
        * platform/mac/media/video-autoplay-expected.png:
        * platform/mac/media/video-buffered-expected.checksum:
        * platform/mac/media/video-buffered-expected.png:
        * platform/mac/media/video-controls-expected.checksum:
        * platform/mac/media/video-controls-expected.png:
        * platform/mac/media/video-controls-rendering-expected.checksum:
        * platform/mac/media/video-controls-rendering-expected.png:
        * platform/mac/media/video-controls-rendering-expected.txt:
        * platform/mac/media/video-currentTime-set2-expected.checksum:
        * platform/mac/media/video-currentTime-set2-expected.png:
        * platform/mac/media/video-display-toggle-expected.checksum:
        * platform/mac/media/video-display-toggle-expected.png:
        * platform/mac/media/video-display-toggle-expected.txt:
        * platform/mac/media/video-dom-autoplay-expected.checksum:
        * platform/mac/media/video-dom-autoplay-expected.png:
        * platform/mac/media/video-dom-src-expected.checksum:
        * platform/mac/media/video-dom-src-expected.png:
        * platform/mac/media/video-dom-start-expected.checksum:
        * platform/mac/media/video-dom-start-expected.png:
        * platform/mac/media/video-error-abort-expected.checksum:
        * platform/mac/media/video-error-abort-expected.png:
        * platform/mac/media/video-error-does-not-exist-expected.checksum:
        * platform/mac/media/video-error-does-not-exist-expected.png:
        * platform/mac/media/video-load-networkState-expected.checksum:
        * platform/mac/media/video-load-networkState-expected.png:
        * platform/mac/media/video-load-readyState-expected.checksum:
        * platform/mac/media/video-load-readyState-expected.png:
        * platform/mac/media/video-muted-expected.checksum:
        * platform/mac/media/video-muted-expected.png:
        * platform/mac/media/video-no-autoplay-expected.checksum:
        * platform/mac/media/video-no-autoplay-expected.png:
        * platform/mac/media/video-pause-empty-events-expected.checksum:
        * platform/mac/media/video-pause-empty-events-expected.png:
        * platform/mac/media/video-play-empty-events-expected.checksum:
        * platform/mac/media/video-play-empty-events-expected.png:
        * platform/mac/media/video-play-pause-events-expected.checksum:
        * platform/mac/media/video-play-pause-events-expected.png:
        * platform/mac/media/video-play-pause-exception-expected.checksum:
        * platform/mac/media/video-play-pause-exception-expected.png:
        * platform/mac/media/video-seek-past-end-paused-expected.checksum:
        * platform/mac/media/video-seek-past-end-paused-expected.png:
        * platform/mac/media/video-seek-past-end-playing-expected.checksum:
        * platform/mac/media/video-seek-past-end-playing-expected.png:
        * platform/mac/media/video-seekable-expected.checksum:
        * platform/mac/media/video-seekable-expected.png:
        * platform/mac/media/video-seeking-expected.checksum:
        * platform/mac/media/video-seeking-expected.png:
        * platform/mac/media/video-size-expected.checksum:
        * platform/mac/media/video-size-expected.png:
        * platform/mac/media/video-source-expected.checksum:
        * platform/mac/media/video-source-expected.png:
        * platform/mac/media/video-source-media-expected.checksum:
        * platform/mac/media/video-source-media-expected.png:
        * platform/mac/media/video-source-type-expected.checksum:
        * platform/mac/media/video-source-type-expected.png:
        * platform/mac/media/video-src-change-expected.checksum:
        * platform/mac/media/video-src-change-expected.png:
        * platform/mac/media/video-src-expected.checksum:
        * platform/mac/media/video-src-expected.png:
        * platform/mac/media/video-src-remove-expected.checksum:
        * platform/mac/media/video-src-remove-expected.png:
        * platform/mac/media/video-src-set-expected.checksum:
        * platform/mac/media/video-src-set-expected.png:
        * platform/mac/media/video-src-source-expected.checksum:
        * platform/mac/media/video-src-source-expected.png:
        * platform/mac/media/video-start-expected.checksum:
        * platform/mac/media/video-start-expected.png:
        * platform/mac/media/video-volume-expected.checksum:
        * platform/mac/media/video-volume-expected.png:
        * platform/mac/media/video-width-height-expected.checksum:
        * platform/mac/media/video-width-height-expected.png:

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

93 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/forms/slider-padding.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/forms/slider-padding-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/forms/slider-padding-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/forms/slider-padding-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/media/audio-controls-rendering-expected.checksum
LayoutTests/platform/mac/media/audio-controls-rendering-expected.png
LayoutTests/platform/mac/media/audio-controls-rendering-expected.txt
LayoutTests/platform/mac/media/broken-video-expected.checksum
LayoutTests/platform/mac/media/broken-video-expected.png
LayoutTests/platform/mac/media/progress-event-expected.checksum
LayoutTests/platform/mac/media/progress-event-expected.png
LayoutTests/platform/mac/media/unsupported-rtsp-expected.checksum
LayoutTests/platform/mac/media/unsupported-rtsp-expected.png
LayoutTests/platform/mac/media/unsupported-tracks-expected.checksum
LayoutTests/platform/mac/media/unsupported-tracks-expected.png
LayoutTests/platform/mac/media/video-append-source-expected.checksum
LayoutTests/platform/mac/media/video-append-source-expected.png
LayoutTests/platform/mac/media/video-autoplay-expected.checksum
LayoutTests/platform/mac/media/video-autoplay-expected.png
LayoutTests/platform/mac/media/video-buffered-expected.checksum
LayoutTests/platform/mac/media/video-buffered-expected.png
LayoutTests/platform/mac/media/video-controls-expected.checksum
LayoutTests/platform/mac/media/video-controls-expected.png
LayoutTests/platform/mac/media/video-controls-rendering-expected.checksum
LayoutTests/platform/mac/media/video-controls-rendering-expected.png
LayoutTests/platform/mac/media/video-controls-rendering-expected.txt
LayoutTests/platform/mac/media/video-currentTime-set2-expected.checksum
LayoutTests/platform/mac/media/video-currentTime-set2-expected.png
LayoutTests/platform/mac/media/video-display-toggle-expected.checksum
LayoutTests/platform/mac/media/video-display-toggle-expected.png
LayoutTests/platform/mac/media/video-display-toggle-expected.txt
LayoutTests/platform/mac/media/video-dom-autoplay-expected.checksum
LayoutTests/platform/mac/media/video-dom-autoplay-expected.png
LayoutTests/platform/mac/media/video-dom-src-expected.checksum
LayoutTests/platform/mac/media/video-dom-src-expected.png
LayoutTests/platform/mac/media/video-dom-start-expected.checksum
LayoutTests/platform/mac/media/video-dom-start-expected.png
LayoutTests/platform/mac/media/video-error-abort-expected.checksum
LayoutTests/platform/mac/media/video-error-abort-expected.png
LayoutTests/platform/mac/media/video-error-does-not-exist-expected.checksum
LayoutTests/platform/mac/media/video-error-does-not-exist-expected.png
LayoutTests/platform/mac/media/video-load-networkState-expected.checksum
LayoutTests/platform/mac/media/video-load-networkState-expected.png
LayoutTests/platform/mac/media/video-load-readyState-expected.checksum
LayoutTests/platform/mac/media/video-load-readyState-expected.png
LayoutTests/platform/mac/media/video-muted-expected.checksum
LayoutTests/platform/mac/media/video-muted-expected.png
LayoutTests/platform/mac/media/video-no-autoplay-expected.checksum
LayoutTests/platform/mac/media/video-no-autoplay-expected.png
LayoutTests/platform/mac/media/video-pause-empty-events-expected.checksum
LayoutTests/platform/mac/media/video-pause-empty-events-expected.png
LayoutTests/platform/mac/media/video-play-empty-events-expected.checksum
LayoutTests/platform/mac/media/video-play-empty-events-expected.png
LayoutTests/platform/mac/media/video-play-pause-events-expected.checksum
LayoutTests/platform/mac/media/video-play-pause-events-expected.png
LayoutTests/platform/mac/media/video-play-pause-exception-expected.checksum
LayoutTests/platform/mac/media/video-play-pause-exception-expected.png
LayoutTests/platform/mac/media/video-seek-past-end-paused-expected.checksum
LayoutTests/platform/mac/media/video-seek-past-end-paused-expected.png
LayoutTests/platform/mac/media/video-seek-past-end-playing-expected.checksum
LayoutTests/platform/mac/media/video-seek-past-end-playing-expected.png
LayoutTests/platform/mac/media/video-seekable-expected.checksum
LayoutTests/platform/mac/media/video-seekable-expected.png
LayoutTests/platform/mac/media/video-seeking-expected.checksum
LayoutTests/platform/mac/media/video-seeking-expected.png
LayoutTests/platform/mac/media/video-size-expected.checksum
LayoutTests/platform/mac/media/video-size-expected.png
LayoutTests/platform/mac/media/video-source-expected.checksum
LayoutTests/platform/mac/media/video-source-expected.png
LayoutTests/platform/mac/media/video-source-media-expected.checksum
LayoutTests/platform/mac/media/video-source-media-expected.png
LayoutTests/platform/mac/media/video-source-type-expected.checksum
LayoutTests/platform/mac/media/video-source-type-expected.png
LayoutTests/platform/mac/media/video-src-change-expected.checksum
LayoutTests/platform/mac/media/video-src-change-expected.png
LayoutTests/platform/mac/media/video-src-expected.checksum
LayoutTests/platform/mac/media/video-src-expected.png
LayoutTests/platform/mac/media/video-src-remove-expected.checksum
LayoutTests/platform/mac/media/video-src-remove-expected.png
LayoutTests/platform/mac/media/video-src-set-expected.checksum
LayoutTests/platform/mac/media/video-src-set-expected.png
LayoutTests/platform/mac/media/video-src-source-expected.checksum
LayoutTests/platform/mac/media/video-src-source-expected.png
LayoutTests/platform/mac/media/video-start-expected.checksum
LayoutTests/platform/mac/media/video-start-expected.png
LayoutTests/platform/mac/media/video-volume-expected.checksum
LayoutTests/platform/mac/media/video-volume-expected.png
LayoutTests/platform/mac/media/video-width-height-expected.checksum
LayoutTests/platform/mac/media/video-width-height-expected.png
WebCore/ChangeLog
WebCore/css/html4.css
WebCore/rendering/RenderSlider.cpp

index c1675cc66a53a9ed0f3f8df595224a3c54a5dd28..475d5d2b54e14167f0247abe0a66a4ebdf0b79d2 100644 (file)
@@ -1,3 +1,100 @@
+2008-01-25  Adele Peterson  <adele@apple.com>
+
+        Reviewed by Sam.
+
+        Adding new test and updated results for:
+        <rdar://problem/5679452> Finish tweaking layout/alignment of media controls slider to match QuickTime plug-in
+
+        * fast/forms/slider-padding.html: Added.
+        * platform/mac/fast/forms/slider-padding-expected.checksum: Added.
+        * platform/mac/fast/forms/slider-padding-expected.png: Added.
+        * platform/mac/fast/forms/slider-padding-expected.txt: Added.
+        * platform/mac/media/audio-controls-rendering-expected.checksum:
+        * platform/mac/media/audio-controls-rendering-expected.png:
+        * platform/mac/media/audio-controls-rendering-expected.txt:
+        * platform/mac/media/broken-video-expected.checksum:
+        * platform/mac/media/broken-video-expected.png:
+        * platform/mac/media/progress-event-expected.checksum:
+        * platform/mac/media/progress-event-expected.png:
+        * platform/mac/media/unsupported-rtsp-expected.checksum:
+        * platform/mac/media/unsupported-rtsp-expected.png:
+        * platform/mac/media/unsupported-tracks-expected.checksum:
+        * platform/mac/media/unsupported-tracks-expected.png:
+        * platform/mac/media/video-append-source-expected.checksum:
+        * platform/mac/media/video-append-source-expected.png:
+        * platform/mac/media/video-autoplay-expected.checksum:
+        * platform/mac/media/video-autoplay-expected.png:
+        * platform/mac/media/video-buffered-expected.checksum:
+        * platform/mac/media/video-buffered-expected.png:
+        * platform/mac/media/video-controls-expected.checksum:
+        * platform/mac/media/video-controls-expected.png:
+        * platform/mac/media/video-controls-rendering-expected.checksum:
+        * platform/mac/media/video-controls-rendering-expected.png:
+        * platform/mac/media/video-controls-rendering-expected.txt:
+        * platform/mac/media/video-currentTime-set2-expected.checksum:
+        * platform/mac/media/video-currentTime-set2-expected.png:
+        * platform/mac/media/video-display-toggle-expected.checksum:
+        * platform/mac/media/video-display-toggle-expected.png:
+        * platform/mac/media/video-display-toggle-expected.txt:
+        * platform/mac/media/video-dom-autoplay-expected.checksum:
+        * platform/mac/media/video-dom-autoplay-expected.png:
+        * platform/mac/media/video-dom-src-expected.checksum:
+        * platform/mac/media/video-dom-src-expected.png:
+        * platform/mac/media/video-dom-start-expected.checksum:
+        * platform/mac/media/video-dom-start-expected.png:
+        * platform/mac/media/video-error-abort-expected.checksum:
+        * platform/mac/media/video-error-abort-expected.png:
+        * platform/mac/media/video-error-does-not-exist-expected.checksum:
+        * platform/mac/media/video-error-does-not-exist-expected.png:
+        * platform/mac/media/video-load-networkState-expected.checksum:
+        * platform/mac/media/video-load-networkState-expected.png:
+        * platform/mac/media/video-load-readyState-expected.checksum:
+        * platform/mac/media/video-load-readyState-expected.png:
+        * platform/mac/media/video-muted-expected.checksum:
+        * platform/mac/media/video-muted-expected.png:
+        * platform/mac/media/video-no-autoplay-expected.checksum:
+        * platform/mac/media/video-no-autoplay-expected.png:
+        * platform/mac/media/video-pause-empty-events-expected.checksum:
+        * platform/mac/media/video-pause-empty-events-expected.png:
+        * platform/mac/media/video-play-empty-events-expected.checksum:
+        * platform/mac/media/video-play-empty-events-expected.png:
+        * platform/mac/media/video-play-pause-events-expected.checksum:
+        * platform/mac/media/video-play-pause-events-expected.png:
+        * platform/mac/media/video-play-pause-exception-expected.checksum:
+        * platform/mac/media/video-play-pause-exception-expected.png:
+        * platform/mac/media/video-seek-past-end-paused-expected.checksum:
+        * platform/mac/media/video-seek-past-end-paused-expected.png:
+        * platform/mac/media/video-seek-past-end-playing-expected.checksum:
+        * platform/mac/media/video-seek-past-end-playing-expected.png:
+        * platform/mac/media/video-seekable-expected.checksum:
+        * platform/mac/media/video-seekable-expected.png:
+        * platform/mac/media/video-seeking-expected.checksum:
+        * platform/mac/media/video-seeking-expected.png:
+        * platform/mac/media/video-size-expected.checksum:
+        * platform/mac/media/video-size-expected.png:
+        * platform/mac/media/video-source-expected.checksum:
+        * platform/mac/media/video-source-expected.png:
+        * platform/mac/media/video-source-media-expected.checksum:
+        * platform/mac/media/video-source-media-expected.png:
+        * platform/mac/media/video-source-type-expected.checksum:
+        * platform/mac/media/video-source-type-expected.png:
+        * platform/mac/media/video-src-change-expected.checksum:
+        * platform/mac/media/video-src-change-expected.png:
+        * platform/mac/media/video-src-expected.checksum:
+        * platform/mac/media/video-src-expected.png:
+        * platform/mac/media/video-src-remove-expected.checksum:
+        * platform/mac/media/video-src-remove-expected.png:
+        * platform/mac/media/video-src-set-expected.checksum:
+        * platform/mac/media/video-src-set-expected.png:
+        * platform/mac/media/video-src-source-expected.checksum:
+        * platform/mac/media/video-src-source-expected.png:
+        * platform/mac/media/video-start-expected.checksum:
+        * platform/mac/media/video-start-expected.png:
+        * platform/mac/media/video-volume-expected.checksum:
+        * platform/mac/media/video-volume-expected.png:
+        * platform/mac/media/video-width-height-expected.checksum:
+        * platform/mac/media/video-width-height-expected.png:
+
 2008-01-25  Antti Koivisto  <koivisto@iki.fi>
 
         <rdar://problem/5674277>
diff --git a/LayoutTests/fast/forms/slider-padding.html b/LayoutTests/fast/forms/slider-padding.html
new file mode 100644 (file)
index 0000000..76892ec
--- /dev/null
@@ -0,0 +1,18 @@
+<html>
+    <head>
+        <script>
+            function log(msg)
+            {
+                document.getElementById("console").appendChild(document.createTextNode(msg + "\n"));
+            }
+        </script>
+    </head>
+    <body>
+        This tests that the slider control considers padding.
+        <br>
+        <div style="background-color: lightblue; ">
+            <input type="range" id="rn" style="padding: 10px; width: 100px;" value=0></input>
+        </div>
+        <pre id="console"></pre>
+    </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/forms/slider-padding-expected.checksum b/LayoutTests/platform/mac/fast/forms/slider-padding-expected.checksum
new file mode 100644 (file)
index 0000000..e1b67d5
--- /dev/null
@@ -0,0 +1 @@
+373617d8ba49b1db7a831ec9f392596c
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/forms/slider-padding-expected.png b/LayoutTests/platform/mac/fast/forms/slider-padding-expected.png
new file mode 100644 (file)
index 0000000..06c01de
Binary files /dev/null and b/LayoutTests/platform/mac/fast/forms/slider-padding-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/forms/slider-padding-expected.txt b/LayoutTests/platform/mac/fast/forms/slider-padding-expected.txt
new file mode 100644 (file)
index 0000000..d6fd033
--- /dev/null
@@ -0,0 +1,15 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x579
+      RenderBlock (anonymous) at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 321x18
+          text run at (0,0) width 321: "This tests that the slider control considers padding. "
+        RenderBR {BR} at (0,0) size 0x0
+      RenderBlock {DIV} at (0,18) size 784x39 [bgcolor=#ADD8E6]
+        RenderSlider {INPUT} at (2,2) size 100x35 [bgcolor=#FFFFFF]
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {PRE} at (0,70) size 784x0
+layer at (20,38) size 15x15
+  RenderBlock (relative positioned) {DIV} at (10,10) size 15x15
index f6cb2044a2555b0fc9dd08af3d3612066ec2fab0..e648f3ab9b5143d5fdcae28f05c5791ad71e3806 100644 (file)
@@ -1 +1 @@
-72ecb265851c928d09138ed38fb05ada
\ No newline at end of file
+65f0d1797b64c3cd5b3d78d7feeebcf2
\ No newline at end of file
index 17e9686cda6a2610cb99340c5187624f014124c6..0f8e0f674ecc24a1dedeb915c9cd02f7dfd7a9bd 100644 (file)
Binary files a/LayoutTests/platform/mac/media/audio-controls-rendering-expected.png and b/LayoutTests/platform/mac/media/audio-controls-rendering-expected.png differ
index bc8fca8d92bc1205a99e5c727676dc69300b1a54..68e4c6a516f16754910d8c5ff83d6408b9061142 100644 (file)
@@ -26,8 +26,8 @@ layer at (24,42) size 17x16
   RenderButton {INPUT} at (16,0) size 17x16
 layer at (40,42) size 136x16
   RenderSlider {INPUT} at (32,0) size 136x16
-layer at (40,43) size 13x14
-  RenderBlock (relative positioned) {DIV} at (0,0) size 13x14
+layer at (42,43) size 13x14
+  RenderBlock (relative positioned) {DIV} at (2,0) size 13x14
 layer at (175,42) size 17x16
   RenderButton {INPUT} at (167,0) size 17x16
 layer at (191,42) size 17x16
@@ -43,8 +43,8 @@ layer at (24,76) size 17x16
   RenderButton {INPUT} at (16,0) size 17x16
 layer at (40,76) size 256x16
   RenderSlider {INPUT} at (32,0) size 256x16
-layer at (40,77) size 13x14
-  RenderBlock (relative positioned) {DIV} at (0,0) size 13x14
+layer at (42,77) size 13x14
+  RenderBlock (relative positioned) {DIV} at (2,0) size 13x14
 layer at (295,76) size 17x16
   RenderButton {INPUT} at (287,0) size 17x16
 layer at (311,76) size 17x16
@@ -62,8 +62,8 @@ layer at (24,194) size 17x16
   RenderButton {INPUT} at (16,0) size 17x16
 layer at (40,194) size 256x16
   RenderSlider {INPUT} at (32,0) size 256x16
-layer at (40,195) size 13x14
-  RenderBlock (relative positioned) {DIV} at (0,0) size 13x14
+layer at (42,195) size 13x14
+  RenderBlock (relative positioned) {DIV} at (2,0) size 13x14
 layer at (295,194) size 17x16
   RenderButton {INPUT} at (287,0) size 17x16
 layer at (311,194) size 17x16
index 6caaf3a50ac471036e159b653f8648ad735ef0ad..7271028a6132dae7969a85b67a855775d5df9791 100644 (file)
@@ -1 +1 @@
-72779af0b045979874c7cdb01c0fff54
\ No newline at end of file
+d88e45d7e945c2323fd2ccafcce2912a
\ No newline at end of file
index 11f2b743032c58b0cacae2bfbd388a13e57ded96..9fb49662caf0f3f97e0fd011899fd1a66f0c4b80 100644 (file)
Binary files a/LayoutTests/platform/mac/media/broken-video-expected.png and b/LayoutTests/platform/mac/media/broken-video-expected.png differ
index 3e397e5474de59c529b101028095000aea51726c..643b273585f2ee2289ec9789713f2f48bedc63f4 100644 (file)
@@ -1 +1 @@
-c2f1007fdd7cb0102e12cc02f822649c
\ No newline at end of file
+a8d47d32eb22de7a18f34f0289b6d446
\ No newline at end of file
index c577dfdf12c5fab0741a1c3f9e5042bf6243a594..855d93f55a304f5f9f76de12df1d919d1a13d8ba 100644 (file)
Binary files a/LayoutTests/platform/mac/media/progress-event-expected.png and b/LayoutTests/platform/mac/media/progress-event-expected.png differ
index f54003e68d7f00eb9b42f582f15d703e5469aa7f..5d55fed3794177200f1ec5230f190e5090098142 100644 (file)
@@ -1 +1 @@
-5521494e653eb2f5396f76a1a256afed
\ No newline at end of file
+865351f87a2454e79a5876e2827fa332
\ No newline at end of file
index 893266783115b11601b5b33f5db73c5a69b523e7..63e2777e76824cb45020e708ade5f8baefc91135 100644 (file)
Binary files a/LayoutTests/platform/mac/media/unsupported-rtsp-expected.png and b/LayoutTests/platform/mac/media/unsupported-rtsp-expected.png differ
index 1d6b90666641395a246bfcb7aac2b5de07390d3e..3e42b4a4cdf44b5a2e251627d5986f25e0791f86 100644 (file)
@@ -1 +1 @@
-eb3a861a7f7c811e80a63da1492766fe
\ No newline at end of file
+a170af2cafc19682e8a76c533101ad65
\ No newline at end of file
index b13493d23d42b1c986cc6d3a00f1fea8897835f6..3ed5e2605f8b9e1879bdf2ffd3032e7a3656fa33 100644 (file)
Binary files a/LayoutTests/platform/mac/media/unsupported-tracks-expected.png and b/LayoutTests/platform/mac/media/unsupported-tracks-expected.png differ
index a61c6b896284b99964136d6c57fd2ed3d0d324b8..c53ab3003edaf3a58df03ceab17e754ecc1b020e 100644 (file)
@@ -1 +1 @@
-d2d64d1ced05a002baf029d7d7af3b0f
\ No newline at end of file
+b75a8f2dc350ef39b60acbb6381d865f
\ No newline at end of file
index 1437c298b50bcb257a5312a4bde206c8af35cbc6..b2c22baf6f5eef1983793b32a45430ff2e650ca4 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-append-source-expected.png and b/LayoutTests/platform/mac/media/video-append-source-expected.png differ
index 477e280bce786d36059a1051e2bbb4371ad55c1a..1b7f8e70508ac3e35bfe2f9d7d592790a5edd6ff 100644 (file)
@@ -1 +1 @@
-f8b0686eed33873d958027d2bfb142e2
\ No newline at end of file
+0b7c17174eb1006a3f3e9c1f7f7083c2
\ No newline at end of file
index 1fa3b15e077e76b260804f986e87ba9f81e2de55..aac2b170aea368336fcf7e706fb6e963fb7b3788 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-autoplay-expected.png and b/LayoutTests/platform/mac/media/video-autoplay-expected.png differ
index ecd8c71c6883530504ccb9005ddf0d018ff5f511..bfc2de4ccafc3b4891975c2ddb49509a505d5fbe 100644 (file)
@@ -1 +1 @@
-91484047305794bf744a3c6d2576c2ec
\ No newline at end of file
+d9f9cb6adba2a821040bc15c8567c72e
\ No newline at end of file
index 886aeffb496e7d487222acf3e8ba568668c35e5e..6f9eecbcb3a612c6b659c206b8cbd66030928ce7 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-buffered-expected.png and b/LayoutTests/platform/mac/media/video-buffered-expected.png differ
index 039ec2c3e344a63c866407f730685cfacb440a29..6bc7aa9b051d4f013015f709a4c6b95bb6003da3 100644 (file)
@@ -1 +1 @@
-b60c11fcb2c830568918656591feeb1d
\ No newline at end of file
+83d3cc77ed048666e41a28bb446a779d
\ No newline at end of file
index a037bbeb5fe9d62281e81b2c625e17c941fcb110..704cc99ab9f5fa2e7f818a98ec0dd828a388a6ab 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-controls-expected.png and b/LayoutTests/platform/mac/media/video-controls-expected.png differ
index f5eb4a0155e48ad34678a69b776c75f78f3feb7e..32a989576a83f8ec3b01c6d510fa906b18a5b432 100644 (file)
@@ -1 +1 @@
-25bc5d8e8fa61f78d850ca95db34413f
\ No newline at end of file
+f45ae9e0caad95d3158d6f6f35946b84
\ No newline at end of file
index eaa2c84f12254f0fa2b19aabbcac0d9b15b2291d..ac3c87cb7eecc96435d0532e5cb145faf9c36c94 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-controls-rendering-expected.png and b/LayoutTests/platform/mac/media/video-controls-rendering-expected.png differ
index ae21982dc3f47fb73ea9ee8ab171812c5f885d9f..b80bb281470cf27da90c9065560f212a8f1c06f5 100644 (file)
@@ -24,8 +24,8 @@ layer at (24,266) size 17x16
   RenderButton {INPUT} at (16,0) size 17x16
 layer at (40,266) size 256x16
   RenderSlider {INPUT} at (32,0) size 256x16
-layer at (40,267) size 13x14
-  RenderBlock (relative positioned) {DIV} at (0,0) size 13x14
+layer at (42,267) size 13x14
+  RenderBlock (relative positioned) {DIV} at (2,0) size 13x14
 layer at (295,266) size 17x16
   RenderButton {INPUT} at (287,0) size 17x16
 layer at (311,266) size 17x16
@@ -41,8 +41,8 @@ layer at (24,506) size 17x16
   RenderButton {INPUT} at (16,0) size 17x16
 layer at (40,506) size 256x16
   RenderSlider {INPUT} at (32,0) size 256x16
-layer at (40,507) size 13x14
-  RenderBlock (relative positioned) {DIV} at (0,0) size 13x14
+layer at (42,507) size 13x14
+  RenderBlock (relative positioned) {DIV} at (2,0) size 13x14
 layer at (295,506) size 17x16
   RenderButton {INPUT} at (287,0) size 17x16
 layer at (311,506) size 17x16
@@ -60,8 +60,8 @@ layer at (24,746) size 17x16
   RenderButton {INPUT} at (16,0) size 17x16
 layer at (40,746) size 256x16
   RenderSlider {INPUT} at (32,0) size 256x16
-layer at (40,747) size 13x14
-  RenderBlock (relative positioned) {DIV} at (0,0) size 13x14
+layer at (42,747) size 13x14
+  RenderBlock (relative positioned) {DIV} at (2,0) size 13x14
 layer at (295,746) size 17x16
   RenderButton {INPUT} at (287,0) size 17x16
 layer at (311,746) size 17x16
index ec7ba9595eec1ce052b010d01ac3f1c2965bf462..2a20f63b990218f119cafd64eba007fb589c7a52 100644 (file)
@@ -1 +1 @@
-0ccfc17a0ca9ca8ef8c5dfe241e5b280
\ No newline at end of file
+975268eee8ac99326e20251245e0891b
\ No newline at end of file
index 88043fa3703a9c036627afff19b6d64fcf1c0367..671c5298b1c3c857bdc46011a887e9f82f9d007f 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-currentTime-set2-expected.png and b/LayoutTests/platform/mac/media/video-currentTime-set2-expected.png differ
index f4a2da087dc0063c98de4ed1ee4e342481d57e69..2afcd4827a3f96fc206730a16a584a4e97d32944 100644 (file)
@@ -1 +1 @@
-24cbeb9f6de07a4756f52d5b6d83a4e7
\ No newline at end of file
+0e25e0df33f195c18aa731b91b32f012
\ No newline at end of file
index 4b5228b055d6d166eb89f2ef7e77d95cef928501..dbc3ef2a52b842d75f6c730e020559a3c2122326 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-display-toggle-expected.png and b/LayoutTests/platform/mac/media/video-display-toggle-expected.png differ
index 497a74cfd7f8085c49851bea9c8ac48331bc9c31..c3e8d3d91647e5af2acbb637c23969ae9fe69d20 100644 (file)
@@ -21,8 +21,8 @@ layer at (24,250) size 17x16
   RenderButton {INPUT} at (16,0) size 17x16
 layer at (40,250) size 256x16
   RenderSlider {INPUT} at (32,0) size 256x16
-layer at (40,251) size 13x14
-  RenderBlock (relative positioned) {DIV} at (0,0) size 13x14
+layer at (42,251) size 13x14
+  RenderBlock (relative positioned) {DIV} at (2,0) size 13x14
 layer at (295,250) size 17x16
   RenderButton {INPUT} at (287,0) size 17x16
 layer at (311,250) size 17x16
index 9fc823cd2e6b0f049fc277e498476264e0939803..c8e5b1f21c52e8cb5497b20f5a5299adfb4f0fe0 100644 (file)
@@ -1 +1 @@
-9bdffc2cc625b3f9399711ea7cd6bf16
\ No newline at end of file
+493055f1db8803f867b25a028224d1fe
\ No newline at end of file
index 04e66049196a0c62a0ac534ca89f8a3e1af29baf..5cba70b9ea7daebc4668c1791c664391d9099b98 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-dom-autoplay-expected.png and b/LayoutTests/platform/mac/media/video-dom-autoplay-expected.png differ
index a61c6b896284b99964136d6c57fd2ed3d0d324b8..c53ab3003edaf3a58df03ceab17e754ecc1b020e 100644 (file)
@@ -1 +1 @@
-d2d64d1ced05a002baf029d7d7af3b0f
\ No newline at end of file
+b75a8f2dc350ef39b60acbb6381d865f
\ No newline at end of file
index 1437c298b50bcb257a5312a4bde206c8af35cbc6..b2c22baf6f5eef1983793b32a45430ff2e650ca4 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-dom-src-expected.png and b/LayoutTests/platform/mac/media/video-dom-src-expected.png differ
index 70c8040bc13c307c8f8db2c0f3af9c5b0c801cee..a3bf7d4b55eeb7319b1df640a9364cc1955541c0 100644 (file)
@@ -1 +1 @@
-177badf39dffae54d831ba4d22f1b57b
\ No newline at end of file
+bde3af54453076d86503ff37dcda6403
\ No newline at end of file
index 1f94d1d1afa54fdffef5386a8edb6231b8f74fe9..43e7847021236946e83316b9127737661a6131b4 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-dom-start-expected.png and b/LayoutTests/platform/mac/media/video-dom-start-expected.png differ
index ac2e54ed83ea1963ca2cfcb99ab915d869a7d8a6..e15b439e34e523a0fa1baa7ed44aaec112ef3da6 100644 (file)
@@ -1 +1 @@
-6b82b4a09539373d6149acd35b221a34
\ No newline at end of file
+2cea039a883dfe012f03e1bb5df6fc95
\ No newline at end of file
index 0d39a73a24c823474a7c34acd54f7cc0dc879377..cddee660b6ddcd20313ac3ab7a699b46a8a22a7f 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-error-abort-expected.png and b/LayoutTests/platform/mac/media/video-error-abort-expected.png differ
index 85861a4ce2127d7729fbef74a4baf898ae1cce66..3c66e6310d69a10a8cabd63ab7f5aead633791a2 100644 (file)
@@ -1 +1 @@
-54d2b41402336d96a90f3c8a6516687c
\ No newline at end of file
+b727f6512e907fdddbabffba84e8f48e
\ No newline at end of file
index 14e00f87c6b47c7ea587d2e3af5d6aa1578b2c23..3194a3f45bdba5584e0c057886e7a1e29f6e52eb 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-error-does-not-exist-expected.png and b/LayoutTests/platform/mac/media/video-error-does-not-exist-expected.png differ
index 01383e955c0b7d535694a62003a3e7c7a2d758dd..13a28a42468ce0f4ddc54f6899e2a596156f2a16 100644 (file)
@@ -1 +1 @@
-7801e9414e0122d5832ff75d474627fc
\ No newline at end of file
+9e7f9d01ea27f1be64fd519bb4a84720
\ No newline at end of file
index 03ca0669db7d48363f709a19531a439fcc6d730f..cbcbc6bb1f2d6547ec3291c0c1bbf7cd3edc23a3 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-load-networkState-expected.png and b/LayoutTests/platform/mac/media/video-load-networkState-expected.png differ
index 2aac78f56ee628e10913fc1cc7fc2cb572e28b37..96bf05ff1b90ba31bb1fe94339942f09ae3d79fc 100644 (file)
@@ -1 +1 @@
-daed6fa44279f79197024f48436f1c56
\ No newline at end of file
+61336ec640cae94fbecbdb110485d243
\ No newline at end of file
index 86b03dc5195421b7827ef8b8e25357e1c2745fa9..20420ca960130974a242332982817dec083f5415 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-load-readyState-expected.png and b/LayoutTests/platform/mac/media/video-load-readyState-expected.png differ
index b1e8d3b1987aa5e81b6e25f287454a139f6d29e4..5fe5938365086e1d5b5acddf09cc6424cfa893e2 100644 (file)
@@ -1 +1 @@
-a7b5d88af6a11b7900e294118812d7ff
\ No newline at end of file
+01aa83bc5ff3067c514204a4e20cf67a
\ No newline at end of file
index 6088539a5d396be3fd11661d8a13d2cc341232cc..6acf8a85c2021f36e06d3769076c00cfa99ece33 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-muted-expected.png and b/LayoutTests/platform/mac/media/video-muted-expected.png differ
index 4286349b4a50deb29dd28c1fd963dfa8b82bf359..56da055593ff162c440245e938c75978c39c706d 100644 (file)
@@ -1 +1 @@
-2e1331e1a9428756fbe98e7414d81f45
\ No newline at end of file
+012e5623ba22876e791515783c7957d6
\ No newline at end of file
index b5e154a4f75932c2f4791b8face5e3a7defd29d5..de4190edfcaca85fbf9ed881cf16427f5d757bbf 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-no-autoplay-expected.png and b/LayoutTests/platform/mac/media/video-no-autoplay-expected.png differ
index 7098f677f7849dfa9d99c44523d6e4f216ffddb8..2f84aee3d476cede85e3eaac22ae26fad612cdf2 100644 (file)
@@ -1 +1 @@
-316379cf86fb77c05074875cfa3c5fd6
\ No newline at end of file
+e4769714ce7c43da055603bcc3becf21
\ No newline at end of file
index ef824f2fd73c0d781e095352b383d8e29478e856..9f60312bd7eda679cdc39106791f37a93e6f884e 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-pause-empty-events-expected.png and b/LayoutTests/platform/mac/media/video-pause-empty-events-expected.png differ
index 7414f684e577662d7aa723264397fcbb6a38a001..7c909c535553d88f5df4c73e1d30b22d2c2f0280 100644 (file)
@@ -1 +1 @@
-d7affb3b93604a424f251795e10e2ef6
\ No newline at end of file
+db25ddde9e6d2bdad3e0899a51ca7060
\ No newline at end of file
index 51c74f22442b02a713c0ac469ab9722219e13488..d6491d84bfe5d91c466bdb3124f4dd0a6e88ff85 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-play-empty-events-expected.png and b/LayoutTests/platform/mac/media/video-play-empty-events-expected.png differ
index 7e562a692b688af1dadf6709cc2ce34e5d3a44db..9961835026c1473b28c1a626e6a00863ec505caf 100644 (file)
@@ -1 +1 @@
-c8c06b7d094c9295c55b390e55524bf3
\ No newline at end of file
+0e209ced9b13ef797f06237eb745b6da
\ No newline at end of file
index 263673e8f65ec8ef117be14c907da0203d38c61c..1b50d77d52cc69b4c0a70f06f3763f1a82643cef 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-play-pause-events-expected.png and b/LayoutTests/platform/mac/media/video-play-pause-events-expected.png differ
index e926f784f92de4efc82dfaaa07e32a4fc25e7b03..965e12e64995d837672474083bcb010bae9e4fcd 100644 (file)
@@ -1 +1 @@
-a458c51ed5a4104e4b19d46a045a7757
\ No newline at end of file
+2b7209ac5c4ef88f9e02ee1daeb6a9a5
\ No newline at end of file
index e582b7b8b0fb1fb02d5fe7e079b79c72e1c66646..b80ce12f2eeba1ec7791c1415d624e50c228e89c 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-play-pause-exception-expected.png and b/LayoutTests/platform/mac/media/video-play-pause-exception-expected.png differ
index 6580e911fe8de4831b62a375ca00872a4fe1436d..cbb42abbc64062a090d2df5aa86135d31a5efa64 100644 (file)
@@ -1 +1 @@
-9aa29c78cfa357771e11797d8fc5d124
\ No newline at end of file
+0bd3c732e7deb70c11af550b1ad03391
\ No newline at end of file
index 78c5d91f09ccbc71b1b201accc4a4645e2de2b4b..f017eb67939e22f68afdee7b7006a8295e2056a4 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-seek-past-end-paused-expected.png and b/LayoutTests/platform/mac/media/video-seek-past-end-paused-expected.png differ
index 9d13abeea12b603ac22ab2b1999f12b1e26dbf24..2be0ba663f1d8d7d291ba16b71d9147d724b95ab 100644 (file)
@@ -1 +1 @@
-0129d03e62179b4f56c0ced0e193f262
\ No newline at end of file
+ee842e035297292fa85b81133ffcd860
\ No newline at end of file
index 86aea0aefc1d865dd773b2a7aae68ccff3b7682f..645fccf3632e8155083fe8e7b318c763ccdd357e 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-seek-past-end-playing-expected.png and b/LayoutTests/platform/mac/media/video-seek-past-end-playing-expected.png differ
index a89e4561fe35ac610ade67624744ed684b116bd5..106fbdbbfb9ec51736e9a9552a7d57f2ab26346d 100644 (file)
@@ -1 +1 @@
-d9455ba79721de17b92c37c43d9f8413
\ No newline at end of file
+53e72ccc33e9f2800a2545b8828fe39a
\ No newline at end of file
index 1270b25c057957a990827b3487b571f67550a0e9..b2fd4df196342dfb2587a2f1e47d479d27c48b7d 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-seekable-expected.png and b/LayoutTests/platform/mac/media/video-seekable-expected.png differ
index 78fcc5f839ad0c624e4a9be0d2c1d8cc3a96fbe7..4fee9bcd5ed46d1726e53aa945f8afa4ca840df2 100644 (file)
@@ -1 +1 @@
-6fd1dc5a67e48df2b4f9b9902d0028d4
\ No newline at end of file
+c0767e3b6d82b59719fa95913eeaab0f
\ No newline at end of file
index bbc15c49aa5909004f10f5e71fd7d057c2fa422b..2bd59cc8d8ce3fac38d63871086cc2287c237f51 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-seeking-expected.png and b/LayoutTests/platform/mac/media/video-seeking-expected.png differ
index 15a2732630f6315701c0b6373c31cfb44a6a35bf..53f09d1ea1760b54fc8d2ad47bc1aadf46e21840 100644 (file)
@@ -1 +1 @@
-aae5f8831555e3136c7b5f205e55b94a
\ No newline at end of file
+3da5662beb336caaba2fbca99bda4584
\ No newline at end of file
index f48f0f8a854986fd4898023d275a205a8f94961e..f3486ff8d754f69bedefee0aba4fc940b382accc 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-size-expected.png and b/LayoutTests/platform/mac/media/video-size-expected.png differ
index bf4b8f837f05a6af293078e05996bf2c29cf3601..dc53930798e8723bfbca2b0c94d09019b3cce44b 100644 (file)
@@ -1 +1 @@
-d239ccd632f1f1f4b6bb58307bff2cd9
\ No newline at end of file
+606be066ee1e547f99e34df2a6f1b005
\ No newline at end of file
index 9785f6a0f70dbd428928ee0d78001d4b8a9d08c0..93029c95c549adba8320546303812e927866560c 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-source-expected.png and b/LayoutTests/platform/mac/media/video-source-expected.png differ
index bf4b8f837f05a6af293078e05996bf2c29cf3601..dc53930798e8723bfbca2b0c94d09019b3cce44b 100644 (file)
@@ -1 +1 @@
-d239ccd632f1f1f4b6bb58307bff2cd9
\ No newline at end of file
+606be066ee1e547f99e34df2a6f1b005
\ No newline at end of file
index 9785f6a0f70dbd428928ee0d78001d4b8a9d08c0..93029c95c549adba8320546303812e927866560c 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-source-media-expected.png and b/LayoutTests/platform/mac/media/video-source-media-expected.png differ
index bf4b8f837f05a6af293078e05996bf2c29cf3601..dc53930798e8723bfbca2b0c94d09019b3cce44b 100644 (file)
@@ -1 +1 @@
-d239ccd632f1f1f4b6bb58307bff2cd9
\ No newline at end of file
+606be066ee1e547f99e34df2a6f1b005
\ No newline at end of file
index 9785f6a0f70dbd428928ee0d78001d4b8a9d08c0..93029c95c549adba8320546303812e927866560c 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-source-type-expected.png and b/LayoutTests/platform/mac/media/video-source-type-expected.png differ
index 517b6f7a1acf9f6dc47129b997b3ba78dc849c3a..f269617325c0ddf088bc285a006373d1df805b9a 100644 (file)
@@ -1 +1 @@
-523b78ac5f616e75e97ea8a5ffb79745
\ No newline at end of file
+62ed180b3546254007e774a5ee029046
\ No newline at end of file
index 2f205f0dfebd4e78b9623ec7811b3ca5b333e570..cedf40a6b9a728538026bafa6092be0e617f7300 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-src-change-expected.png and b/LayoutTests/platform/mac/media/video-src-change-expected.png differ
index bf4b8f837f05a6af293078e05996bf2c29cf3601..dc53930798e8723bfbca2b0c94d09019b3cce44b 100644 (file)
@@ -1 +1 @@
-d239ccd632f1f1f4b6bb58307bff2cd9
\ No newline at end of file
+606be066ee1e547f99e34df2a6f1b005
\ No newline at end of file
index 9785f6a0f70dbd428928ee0d78001d4b8a9d08c0..93029c95c549adba8320546303812e927866560c 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-src-expected.png and b/LayoutTests/platform/mac/media/video-src-expected.png differ
index 3ba939dcc39967f26d8b4861c22f5dd0aa287e2a..44b9a748f59ad322ede02eff1b5096c202ed706e 100644 (file)
@@ -1 +1 @@
-f6780a8cf73ec1b56770566407315419
\ No newline at end of file
+2cf72bf4602196b00f733a42d4e5d326
\ No newline at end of file
index d44e934b5dae63a5778b4eeb242c518c38d8a41c..78e4980764df2fa2cbeedabe95ca4be82e981542 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-src-remove-expected.png and b/LayoutTests/platform/mac/media/video-src-remove-expected.png differ
index 7fac9808c0d6afa997be69c64f0c9fade341d2c9..2043fa77c977d59e6275f3efc57dbd23c9ae83d4 100644 (file)
@@ -1 +1 @@
-2f9c0045ae23b65e5e0c2be5510e95c9
\ No newline at end of file
+d172dbfa470a21c59539bf80000e8d6b
\ No newline at end of file
index 9a52d2c539f2d8abbb3da9e178aefb7eb4b8d808..417445d293438ae7889d457538b578819f17fe1c 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-src-set-expected.png and b/LayoutTests/platform/mac/media/video-src-set-expected.png differ
index bf4b8f837f05a6af293078e05996bf2c29cf3601..dc53930798e8723bfbca2b0c94d09019b3cce44b 100644 (file)
@@ -1 +1 @@
-d239ccd632f1f1f4b6bb58307bff2cd9
\ No newline at end of file
+606be066ee1e547f99e34df2a6f1b005
\ No newline at end of file
index 9785f6a0f70dbd428928ee0d78001d4b8a9d08c0..93029c95c549adba8320546303812e927866560c 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-src-source-expected.png and b/LayoutTests/platform/mac/media/video-src-source-expected.png differ
index 3df3fc342e4c9ac48256e5b8612f734bf77c225e..f6f4a4ea4dd8dde5e973568bab3d248a01e7e0d2 100644 (file)
@@ -1 +1 @@
-a9b2e3508618127e60df8738a9bc4acd
\ No newline at end of file
+8aa1c0792ea039c711a63e134f8fef01
\ No newline at end of file
index 1b13241dedb73b0292a20bc6277a829f6330d6e6..f36f11f838f9707c685924982ab0929558d25a19 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-start-expected.png and b/LayoutTests/platform/mac/media/video-start-expected.png differ
index 4c2bec6671886930ac2cc10822b371944f440e57..443dbdf9b4e818f2f5e965ff523200f56b8fa82f 100644 (file)
@@ -1 +1 @@
-4343c02e7e65a518d8b99c7583c047d3
\ No newline at end of file
+e12a959ac63de32b21aad142a44abafa
\ No newline at end of file
index 02940f764076bcf7b53e1286144e0aa67151872c..d5ef7c59270347cdfcb228d743c5fc679a153792 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-volume-expected.png and b/LayoutTests/platform/mac/media/video-volume-expected.png differ
index 7382370ef0d827344779b51683f0407391ce164e..726d398e867241c3174862e478bfb521d7b67969 100644 (file)
@@ -1 +1 @@
-21358631a78fc65a69ae3adc9578afd7
\ No newline at end of file
+fe56b7b8776dc2746a9b722bf587b7e2
\ No newline at end of file
index 60fb709b877d472e86a6e083858f0a9de207eee0..f500b628cb95e711e2443eb20953e0abf3057562 100644 (file)
Binary files a/LayoutTests/platform/mac/media/video-width-height-expected.png and b/LayoutTests/platform/mac/media/video-width-height-expected.png differ
index 0f71af58954da8bf237dac5a3140f4c0c4263bbe..3d7c644cb763975927dec4c2c3497152f225b049 100644 (file)
@@ -1,3 +1,16 @@
+2008-01-25  Adele Peterson  <adele@apple.com>
+
+        Reviewed by Sam.
+
+        Fix for <rdar://problem/5679452> Finish tweaking layout/alignment of media controls slider to match QuickTime plug-in
+
+        * css/html4.css: Add horizontal padding to the media slider.
+        * rendering/RenderSlider.cpp:
+        (WebCore::HTMLSliderThumbElement::defaultEventHandler): Replace use of absoluteBoundingBox() with width() and height()
+        (WebCore::RenderSlider::positionForOffset): ditto. Also, use the trackSize() for the maximum offset.
+        (WebCore::RenderSlider::layout):  Use contentWidth() and contentHeight() to take padding into account.
+        (WebCore::RenderSlider::trackSize): ditto.
+
 2008-01-24  Adam Roben  <aroben@apple.com>
 
         Better fix for Bug 16996
index f2662656897a74721811b1bdff00a3ccb52e7126..65ec4e504bac8c88e6080fb41b8dbda3a76b7254 100644 (file)
@@ -629,6 +629,7 @@ audio::-webkit-media-controls-timeline, video::-webkit-media-controls-timeline {
     left: 32px;
     right: 32px;
     height: 16px;
+    padding: 0px 2px;
 }
 
 audio::-webkit-media-controls-seek-back-button, video::-webkit-media-controls-seek-back-button {
index af634111800eb75bb7d9d1f700ea56a9c094c357..8e60fc79edeff4b8184e54ce30bec3d603feeb49 100644 (file)
@@ -102,9 +102,9 @@ void HTMLSliderThumbElement::defaultEventHandler(Event* event)
             RenderSlider* slider = static_cast<RenderSlider*>(renderer()->parent());
             int newPosition = slider->positionForOffset(
                 IntPoint(m_initialPosition + mouseEvent->pageX() - m_initialClickPoint.x()
-                        + (renderer()->absoluteBoundingBoxRect().width() / 2), 
+                        + (renderer()->width() / 2), 
                     m_initialPosition + mouseEvent->pageY() - m_initialClickPoint.y()
-                        + (renderer()->absoluteBoundingBoxRect().height() / 2)));
+                        + (renderer()->height() / 2)));
             if (slider->currentPosition() != newPosition) {
                 slider->setCurrentPosition(newPosition);
                 slider->valueChanged();
@@ -227,10 +227,10 @@ void RenderSlider::layout()
 
         if (style()->appearance() == SliderVerticalAppearance) {
             // FIXME: Handle percentage widths correctly. See http://bugs.webkit.org/show_bug.cgi?id=12104
-            m_thumb->renderer()->style()->setLeft(Length(m_width / 2 - m_thumb->renderer()->style()->width().value() / 2, Fixed));
+            m_thumb->renderer()->style()->setLeft(Length(contentWidth() / 2 - m_thumb->renderer()->style()->width().value() / 2, Fixed));
         } else {
             // FIXME: Handle percentage heights correctly. See http://bugs.webkit.org/show_bug.cgi?id=12104
-            m_thumb->renderer()->style()->setTop(Length(m_height / 2 - m_thumb->renderer()->style()->height().value() / 2, Fixed));
+            m_thumb->renderer()->style()->setTop(Length(contentHeight() / 2 - m_thumb->renderer()->style()->height().value() / 2, Fixed));
         }
 
         if (relayoutChildren)
@@ -338,14 +338,12 @@ int RenderSlider::positionForOffset(const IntPoint& p)
         return 0;
    
     int position;
-    if (style()->appearance() == SliderVerticalAppearance) {
-        position = max(0, min(p.y() - (m_thumb->renderer()->absoluteBoundingBoxRect().height() / 2), 
-                              absoluteBoundingBoxRect().height() - m_thumb->renderer()->absoluteBoundingBoxRect().height()));
-    } else {
-        position = max(0, min(p.x() - (m_thumb->renderer()->absoluteBoundingBoxRect().width() / 2), 
-                              absoluteBoundingBoxRect().width() - m_thumb->renderer()->absoluteBoundingBoxRect().width()));
-    }
-    return position;
+    if (style()->appearance() == SliderVerticalAppearance)
+        position = p.y() - m_thumb->renderer()->height() / 2;
+    else
+        position = p.x() - m_thumb->renderer()->width() / 2;
+    
+    return max(0, min(position, trackSize()));
 }
 
 void RenderSlider::valueChanged()
@@ -384,8 +382,8 @@ int RenderSlider::trackSize()
         return 0;
 
     if (style()->appearance() == SliderVerticalAppearance)
-        return absoluteBoundingBoxRect().height() - m_thumb->renderer()->absoluteBoundingBoxRect().height();
-    return absoluteBoundingBoxRect().width() - m_thumb->renderer()->absoluteBoundingBoxRect().width();
+        return contentHeight() - m_thumb->renderer()->height();
+    return contentWidth() - m_thumb->renderer()->width();
 }
 
 void RenderSlider::forwardEvent(Event* evt)