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)

enhancement

Tracking

(Not tracked)

VERIFIED FIXED

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.
Priority: -- → P3
Target Milestone: 3.2 → 3.3
Assignee: nobody → fwenzel
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
QA verified. Looks good.
Status: RESOLVED → VERIFIED
Component: Input → General
Product: Webtools → Input
You need to log in before you can comment on or make changes to this bug.