Closed Bug 556102 Opened 15 years ago Closed 15 years ago

Use :moz-locale-dir pseudoclass instead of chromedir attribute

Categories

(SeaMonkey :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.1a1

People

(Reporter: stefanh, Assigned: stefanh)

Details

Attachments

(1 file)

For the record, subscribe.xhtml, aboutSessionRestore.xhtml, certError.xhtml use the same entity and it still lives in brand.dtd. Modern's scrollbox.css (obviously ported from windtripe) looks wrong to me - In rtl mode, I get the right-arrow at the left side of the menus (I expected the left-arrow at the left side). You can try this by adding the "intl.uidirection.en-US" pref and set it to "rtl".
Attachment #436016 - Flags: superreview?(neil)
Attachment #436016 - Flags: review?(kairo)
Status: NEW → ASSIGNED
Comment on attachment 436016 [details] [diff] [review] Switch from chromedir to :moz-locale-dir > #tabs > :first-child, >-#tabs[chromedir=rtl] > :last-child { >+#tabs:-moz-locale-dir(rtl) > :last-child { > -moz-border-radius-topleft: 2px; > -moz-border-radius-bottomleft: 2px; > border-left: none !important; > } > > #tabs > :last-child, >-#tabs[chromedir=rtl] > :first-child { >+#tabs:-moz-locale-dir(rtl) > :first-child { > -moz-border-radius-topright: 2px; > -moz-border-radius-bottomright: 2px; > } Doesn't this need ltr on the other rules, otherwise in an rtl environment both sets of rules will apply to both first and last tabs?
Attachment #436016 - Flags: superreview?(neil) → superreview+
(In reply to comment #0) > Modern's scrollbox.css (obviously ported from windtripe) looks wrong to me - > In rtl mode, I get the right-arrow at the left side of the menus What does scrollbox.css have to do with menu arrows? It's only used e.g. when you have zillions of bookmarks in a single folder and they don't fit on screen.
(In reply to comment #2) > (In reply to comment #0) > > Modern's scrollbox.css (obviously ported from windtripe) looks wrong to me - > > In rtl mode, I get the right-arrow at the left side of the menus > What does scrollbox.css have to do with menu arrows? It's only used e.g. when > you have zillions of bookmarks in a single folder and they don't fit on screen. It has nothing to do with menu arrows, I don't know what I was thinking of :-(
Attachment #436016 - Flags: review?(kairo) → review+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: