Open
Bug 113456
Opened 24 years ago
Updated 3 years ago
usechromesheet attribute for all widget scrollbars
Categories
(Core :: XUL, enhancement)
Tracking
()
NEW
People
(Reporter: rvj, Unassigned)
Details
The current chrome/skin philosophy assumes only one style of scrollbar is to be
applied to all widgets. This is VERY restrictive.
Having spent the best part of a month trying to style widget scrollbars, would
it be possible to add a new usechromesheet attribute to all widgets which would
point to the appropriate scrollbars.css. (replacing chrome scrollbars.css)
Attempts to clone new tree elements and/or modify the existing tree binding to
include a usechromesheet reference are all unsuccessful.
Adding a usechromeshet option provides maximum flexibility. Something like
<tree usechromesheet="chrome://xyz/scrollbars1.css" src="..." />
<tree usechromesheet="chrome://xyz/scrollbars2.css" src="..."/>
This should overcome the problem of overriding inherited scrollbars of the
current chrome which was raised in one of the newsgroup posts
PS Ive almost prototyped an xbl binding for iframe which permits this.
unfortunately Ive been unable to get usechromesheets to work with other XUL
widgets.
<iframe usechromesheet="chrome://xyz/scrollbars3.css" src="..."/>
PS If this attribute is missing, then chrome://global/skin/scrollbars.css is
assumed.
But equally it could be implied using the directory shortcut
<iframe usechromesheet="chrome://global/skin" src="..." />
Updated•24 years ago
|
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•24 years ago
|
Target Milestone: --- → Future
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: shrir → xptoolkit.widgets
Updated•16 years ago
|
Assignee: hyatt → nobody
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•