Title: [102306] trunk
- Revision
- 102306
- Author
- [email protected]
- Date
- 2011-12-07 20:13:57 -0800 (Wed, 07 Dec 2011)
Log Message
Force LTR layout for media controls even in RTL documents.
https://bugs.webkit.org/show_bug.cgi?id=74024
Patch by Ami Fischman <[email protected]> on 2011-12-07
Reviewed by Darin Adler.
Source/WebCore:
Test: media/controls-layout-direction.html
* css/mediaControls.css:
(::-webkit-media-controls):
LayoutTests:
* media/controls-layout-direction-expected.txt: Added.
* media/controls-layout-direction.html: Added.
* platform/chromium-linux/media/controls-layout-direction-expected.png: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (102305 => 102306)
--- trunk/LayoutTests/ChangeLog 2011-12-08 03:55:33 UTC (rev 102305)
+++ trunk/LayoutTests/ChangeLog 2011-12-08 04:13:57 UTC (rev 102306)
@@ -1,3 +1,14 @@
+2011-12-07 Ami Fischman <[email protected]>
+
+ Force LTR layout for media controls even in RTL documents.
+ https://bugs.webkit.org/show_bug.cgi?id=74024
+
+ Reviewed by Darin Adler.
+
+ * media/controls-layout-direction-expected.txt: Added.
+ * media/controls-layout-direction.html: Added.
+ * platform/chromium-linux/media/controls-layout-direction-expected.png: Added.
+
2011-12-07 Mark Pilgrim <[email protected]>
[FileSystem API] requestFileSystem successCallback is required
Added: trunk/LayoutTests/media/controls-layout-direction-expected.txt (0 => 102306)
--- trunk/LayoutTests/media/controls-layout-direction-expected.txt (rev 0)
+++ trunk/LayoutTests/media/controls-layout-direction-expected.txt 2011-12-08 04:13:57 UTC (rev 102306)
@@ -0,0 +1 @@
+
Added: trunk/LayoutTests/media/controls-layout-direction.html (0 => 102306)
--- trunk/LayoutTests/media/controls-layout-direction.html (rev 0)
+++ trunk/LayoutTests/media/controls-layout-direction.html 2011-12-08 04:13:57 UTC (rev 102306)
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<head>
+<script>
+if (window.layoutTestController)
+ layoutTestController.dumpAsText(true);
+</script>
+</head>
+<body>
+<!-- Test that audio & video controls lay out identically in RTL and LTR contexts. -->
+<div style="direction:ltr;"><video controls></video></div>
+<div style="direction:rtl; text-align:left;"><video controls></video></div>
+<div style="direction:ltr;"><audio controls></audio></div>
+<div style="direction:rtl; text-align:left;"><audio controls></audio></div>
+</div>
+</body>
Added: trunk/LayoutTests/platform/chromium-linux/media/controls-layout-direction-expected.png (0 => 102306)
--- trunk/LayoutTests/platform/chromium-linux/media/controls-layout-direction-expected.png (rev 0)
+++ trunk/LayoutTests/platform/chromium-linux/media/controls-layout-direction-expected.png 2011-12-08 04:13:57 UTC (rev 102306)
@@ -0,0 +1,23 @@
+\x89PNG
+
+
+IHDR X ' )tEXtchecksum b56d56afcd55fc7ffba8473ae25e09d9\xA8\xF0[4 \xE2IDATx\x9C\xED\xDD\xC1N\xED\xDB\xC0\xE1\xC1\xB0@"\xA1k\x81\xA4M\xED51bt\xE1\xD6p\xB2\xF38ܻ7z\x82Kܛ\xB8\xFCoDS
+\x92\xF2b\x8C\xC1\xA4\x84
+%\xF2\xD6o1\x81\x90\xF8Q\xA4\xBD\xD4^ת\xED\xEENB\xBFLg\x9E\xFC\xF8\xF1# ΅\xF3>