Closed Bug 351562 Opened 18 years ago Closed 18 years ago

Help viewer back/forward buttons are wrong in RTL mode (due to new theme)

Categories

(SeaMonkey :: Help Viewer, defect)

1.8 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.8.1

People

(Reporter: Gavin, Assigned: asaf)

References

(Blocks 1 open bug)

Details

(Keywords: fixed1.8.1, rtl, Whiteboard: [Fx2 theme change])

Attachments

(2 files, 4 obsolete files)

Status: NEW → ASSIGNED
Flags: blocking-firefox2?
Target Milestone: --- → mozilla1.8.1
Version: Trunk → 1.8 Branch
Flags: blocking-firefox2? → blocking-firefox2+
Whiteboard: [Fx2 theme change]
Attached patch patch (obsolete) — Splinter Review
I can't for the life of me figure out why this patch doesn't entirely work. The computed style of the back button according to DOMi has "list-style-image: Toolbar-rtl.png", but the image shown in the toolbar is still Toolbar.png. I'm testing with global.dtd changed to "rtl" and ":root { direction: ltr;}" in my userChrome.css. If someone else could help me debug this I'd appreciate it, trying to work with a RTL DOMi is cramping my style :)
The following kind of style rules cause this
 86 #help-back-button, 
 87 #help-forward-button[chromedir="rtl"] {
...
 90   -moz-image-region: rect(0px 24px 24px 0px); 
 91 }

Once you do provide a toolbar-rtl image (which is a good change), these rules don't make any sense (they take the forward image for the back button and vice-versa).
Attached patch patch (obsolete) — Splinter Review
Assignee: gavin.sharp → bugs.mano
Attachment #236974 - Attachment is obsolete: true
Attachment #237025 - Flags: first-review?(mconnor)
Attached patch patch (obsolete) — Splinter Review
Attachment #237025 - Attachment is obsolete: true
Attachment #237030 - Flags: first-review?(mconnor)
Attachment #237025 - Flags: first-review?(mconnor)
Attached patch patch (obsolete) — Splinter Review
*argh*
Attachment #237032 - Flags: first-review?(mconnor)
Attachment #237030 - Attachment is obsolete: true
Attachment #237030 - Flags: first-review?(mconnor)
Attached patch simplifiedSplinter Review
Attachment #237032 - Attachment is obsolete: true
Attachment #237035 - Flags: first-review?(mconnor)
Attachment #237032 - Flags: first-review?(mconnor)
Comment on attachment 237035 [details] [diff] [review]
simplified

r+a=me, thanks!
Attachment #237035 - Flags: first-review?(mconnor)
Attachment #237035 - Flags: first-review+
Attachment #237035 - Flags: approval1.8.1+
1.8 branch:
mozilla/toolkit/themes/winstripe/help/Attic/Toolbar-rtl.png 1.1.2.1
mozilla/toolkit/themes/winstripe/help/help.css 1.12.2.7
mozilla/toolkit/themes/winstripe/help/jar.mn 1.6.4.3
mozilla/toolkit/components/help/content/help.xul 1.26.2.6
Keywords: fixed1.8.1
No longer blocks: NewThemeRTL
help.xul part landed on trunk:
mozilla/toolkit/components/help/content/help.xul 1.33
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Mass-assigning the new rtl keyword to RTL-related (see bug 349193).
Keywords: rtl
Product: Toolkit → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: