Closed Bug 90001 Opened 23 years ago Closed 23 years ago

<scrollbar>, <thumb>, and <slider> should not use align="vertical" and align="horizontal"

Categories

(Core :: XUL, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: hamfastgamgee, Assigned: bugs)

References

Details

Attachments

(1 file)

See the summary.  The usage of align="vertical" and align="horizontal" in 
<scrollbar> and its derivative tags is inconsistent with all other elements in 
XUL.  Windows Classic seems to support an attribute called sborient.  Modern and 
Mac Classic should probably do the same.
xbl/xul work
Assignee: trudelle → ben
Blocks: 70753
No it doesn't, it inherits align but renames it to sborient.

http://lxr.mozilla.org/seamonkey/source/themes/classic/global/win/classicBindings.xml#80

<xul:scrollbarbutton type="decrement" inherits="sborient=align"/>
Also on line 84.

IIRC Changing align to orient would fix the base scrollbar binding.
Well, cool.  hewitt managed to fix this for Modern.  I'm now attaching a patch 
that should do it for Mac Classic (although I can't test it).

Of course, with both Modern and Mac Classic working, we could just use orient= 
in Windows Classic and not do the remapping, but that's not my call (or 
terribly important). :)
Well, I replaced my classic.jar's classicBindings.xml and scrollbars.css with 
the patched Mac Classic ones, and the scrollbars weren't horked (other than 
using some images that aren't in Windows Classic, so they were pure white), so I 
guess it works.  The test was basically that the scrollbars looked ok and 
scrolled, which they did, so I guess this patch works. :)
sr=hyatt
Checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: