Closed
Bug 627572
Opened 14 years ago
Closed 14 years ago
Use class, not attribute selector, to write RTL-specific CSS
Categories
(Input :: General, enhancement, P3)
Input
General
Tracking
(Not tracked)
VERIFIED
FIXED
3.3
People
(Reporter: wenzel, Assigned: wenzel)
Details
Currently we use:
[dir=rtl] #something .somewhere {}
for CSS that pertains to RTL languages only. Attribute selectors are slow, Potch says.
Should apply a class like "dir-rtl" to the html tag instead.
Assignee | ||
Updated•14 years ago
|
Priority: -- → P3
Assignee | ||
Updated•14 years ago
|
Target Milestone: 3.2 → 3.3
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → fwenzel
Assignee | ||
Comment 1•14 years ago
|
||
Added the class "html-rtl" (and html-ltr, of course) to the body tag.
http://github.com/fwenzel/reporter/commit/cd5c851
QA: Should be sufficient to check that the dashboard and release pages look the same in Arabic on prod and stage. If you do find ugliness that's present on both, feel free to file a bug, (though fixing RTL is not the scope of this bug).
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Component: Input → General
Product: Webtools → Input
You need to log in
before you can comment on or make changes to this bug.
Description
•