New issue
Advanced search Search tips

Issue 736954 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Bug

Blocking:
issue 684642



Sign in to add a comment

[Media Router] Paper-sliders in the WebUI route controller are reversed when using a RTL language

Project Member Reported by taku...@chromium.org, Jun 27 2017

Issue description

When the user language is RTL, the Polymer sliders in the new WebUI route controller go RTL as well. Given Chrome's HTML video and YouTube volume/seek sliders go LTR even if the rest of the page is RTL, we should force our sliders to go LTR as well.

However, due to a bug in <paper-slider> [1], we can't force the direction of the <paper-slider> to be LTR by adding a dir="ltr" attribute to it.

[1] https://github.com/PolymerElements/paper-slider/issues/190
 
Labels: -Pri-1 Pri-2
If the Polymer bug doesn't get fixed, I will land a change to the route controller CSS to override the reversing of slider directions.
Project Member

Comment 3 by bugdroid1@chromium.org, Jul 11 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/586fd7fff297ff450c32c3d677286da68bfed26f

commit 586fd7fff297ff450c32c3d677286da68bfed26f
Author: Takumi Fujimoto <takumif@chromium.org>
Date: Tue Jul 11 16:58:07 2017

[Media Router] Force seek and volume sliders to be LTR for RTL languages

By setting dir="ltr" attribute on the paper-sliders, we force them to go
LTR regardless of language settings, to be consistent with other media
players.

Bug:  736954 
Change-Id: I2079561225c00925671ac06878f525ca85a160d7
Reviewed-on: https://chromium-review.googlesource.com/565219
Commit-Queue: Takumi Fujimoto <takumif@chromium.org>
Reviewed-by: Derek Cheng <imcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#485656}
[modify] https://crrev.com/586fd7fff297ff450c32c3d677286da68bfed26f/chrome/browser/resources/media_router/elements/route_controls/route_controls.html

Status: Fixed (was: ExternalDependency)

Sign in to add a comment