New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 17 users

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Dec 2011
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug

Restricted
  • Only users with EditIssue permission may comment.



Sign in to add a comment
link

Issue 40579: Audio/video elements do not respect right to left layouts

Reported by ebrami...@gmail.com, Apr 6 2010

Issue description

Chrome Version       : 5.0.366.2
URLs (if applicable) : http://fa.wikipedia.org/wiki/File:Bar_Pa_Xiz.ogg
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
     Safari 4: have not native OGG player
  Firefox 3.x: OK, have not any problem and it is a great thing!!!
           IE: audio tag is not supported
        Opera: OK, native player have not any problem

What steps will reproduce the problem?
1. Open this(or any html5 audio on RightToLeft websites): 
http://fa.wikipedia.org/wiki/file:Bar_Pa_Xiz.ogg
2. Play button is moved on other side of player!!!(main direction:rtl; is 
effected on player!!!)

Please provide any additional information below. Attach a screenshot if
possible.

Please see link and picture carefully, thanks
Excuse me about my English.
#arabic #hebrew #persian #farsi
 
Untitled.png
15.9 KB View Download

Comment 1 by stuartmorgan@chromium.org, Apr 7 2010

Labels: -Area-Undefined Area-Internals Internals-Video

Comment 2 by scherkus@chromium.org, Apr 7 2010

Labels: OS-All Mstone-X
Status: Available
Summary: Audio/video elements do not respect right to left layouts
Definitely an issue.  Thank you for reporting!

Comment 3 by scherkus@chromium.org, Jul 19 2010

Labels: -Area-Internals -Internals-Video Area-WebKit Feature-Media

Comment 4 Deleted

Comment 5 Deleted

Comment 6 Deleted

Comment 7 by progame@chromium.org, Feb 22 2011

Labels: RTL

Comment 8 by ebrami...@gmail.com, Apr 4 2011

Simplest ever patch for this bug is putting "audio, video { direction: ltr; }" or some fixed positioning style same ".playbutton { right:0; }" (same something I guess is available for volume indicator) on useragent style sheets. I don't know why this really simple bug not fixed over one year.

Comment 9 by scherkus@chromium.org, Apr 7 2011

 Issue 78227  has been merged into this issue.

Comment 10 by scherkus@chromium.org, Nov 17 2011

Labels: -Mstone-X -Feature-Media -RTL Hotlist-GoodFirstBug Feature-Media-Controls Mstone-18

Comment 11 by ebrami...@gmail.com, Nov 22 2011

Hi, this is my solution:
On src/third_party/WebKit/Source/WebCore/css

Index: mediaControlsChromium.css
===================================================================
--- mediaControlsChromium.css	(revision 100825)
+++ mediaControlsChromium.css	(working copy)
@@ -25,6 +25,10 @@
 
 /* Chromium default media controls */
 
+audio, video {
+    direction: ltr;
+}
+
 audio {
     width: 300px;
     height: 32px;

Comment 12 by fischman@chromium.org, Dec 7 2011

Owner: fischman@chromium.org
Status: Assigned

Comment 13 by fischman@chromium.org, Dec 7 2011

Labels: WebKit-ID-74024

Comment 14 by bugdroid1@chromium.org, Dec 7 2011

Project Member
Labels: -WebKit-ID-74024 WebKit-ID-74024-NEW
https://bugs.webkit.org/show_bug.cgi?id=74024

Comment 15 by bugdroid1@chromium.org, Dec 8 2011

Project Member
Labels: -WebKit-ID-74024-NEW WebKit-ID-74024-RESOLVED WebKit-Rev-102306
https://bugs.webkit.org/show_bug.cgi?id=74024
http://trac.webkit.org/changeset/102306

Comment 16 by fischman@chromium.org, Dec 8 2011

Status: Fixed

Comment 17 by imasaki@chromium.org, Dec 13 2011

Labels: testcaseadded
Status: Verified
Fix is verified on 
http://fa.wikipedia.org/wiki/%D9%BE%D8%B1%D9%88%D9%86%D8%AF%D9%87:Bar_Pa_Xiz.ogg using
18.0.970.0 canary on Mac. 

Added test case TID:11402354

Comment 18 by jeremy@chromium.org, Dec 22 2011

 Issue 81101  has been merged into this issue.

Comment 19 by bugdroid1@chromium.org, Oct 13 2012

Project Member
Labels: Restrict-AddIssueComment-Commit
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.

Comment 20 by laforge@google.com, Jan 22 2013

Labels: -Feature-Media-Controls Feature-Media-UI

Comment 21 by bugdroid1@chromium.org, Mar 10 2013

Project Member
Labels: -Area-WebKit -Mstone-18 -Feature-Media-UI Cr-Content M-18 Cr-Internals-Media-UI

Comment 22 by bugdroid1@chromium.org, Mar 13 2013

Project Member
Labels: -Restrict-AddIssueComment-Commit Restrict-AddIssueComment-EditIssue

Comment 23 by bugdroid1@chromium.org, Apr 6 2013

Project Member
Labels: -Cr-Content Cr-Blink

Sign in to add a comment