Closed Bug 1082541 Opened 10 years ago Closed 7 years ago

gaia-elements are not RTL-friendly

Categories

(Firefox OS Graveyard :: Gaia, defect, P3)

All
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: nefzaoui, Unassigned)

References

Details

(Whiteboard: [rtl-meta])

There should be an approach for all gaia elements similar to the one suggested in Bug 1073489 Comment 5. Unfortunately :host-context(<selector>)* doesn't seem to be implemented (is it?) which would have made it all easier. Depending on l10n to change class names manually could be an option but it's not the pretties approach ever. I'm not quite sure of the best way to handle it. But until then this will block us from being able to RTL every gaia-element. * http://dev.w3.org/csswg/css-scoping/#selectordef-host-context
Blocks: gaia-rtl, 1073489
Is there a bug for :host-context yet? Maybe this can be implemented easily?
(In reply to Julien Wajsberg [:julienw] from comment #1) > Is there a bug for :host-context yet? Maybe this can be implemented easily? Did a quick search. None yet.
(In reply to Julien Wajsberg [:julienw] from comment #1) > Is there a bug for :host-context yet? Maybe this can be implemented easily? https://bugzilla.mozilla.org/show_bug.cgi?id=1082060
Blocks: 1037755
Mass Edit: adding the [rtl-meta]
Whiteboard: [rtl-meta]
Hoping to have bug https://bugzilla.mozilla.org/show_bug.cgi?id=1082060 resolved to help here in 2.2 timeframe
FYI any components that use that base gaia-component.js [1] are now able to listen to document.addEventListener('dirchanged'). See gaia-switch [2] as an example. [1] http://github.com/gaia-components/gaia-component [2] http://github.com/gaia-components/gaia-switch
Wilson, it looks like bug 1082060 is no longer being considered for 2.2 -- is there anything then that needs to happen in the context of this bug specifically for the 2.2 branch?
Flags: needinfo?(wilsonpage)
(In reply to Dylan Oliver [:doliver] from comment #8) > Wilson, it looks like bug 1082060 is no longer being considered for 2.2 -- > is there anything then that needs to happen in the context of this bug > specifically for the 2.2 branch? AFAIK no more work regarding RTL and gaia-components is required for v2.2.
Flags: needinfo?(wilsonpage)
Priority: -- → P3
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.