Closed Bug 71046 Opened 25 years ago Closed 25 years ago

Improve XUL widgets to take advantage of XBL default content

Categories

(Core :: XUL, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: dr, Assigned: chofmann)

References

Details

(Keywords: meta)

When XBL default <children> content lands, a whole bunch of XUL widgets will want to be improved to take advantage of it. The basic idea is detailed in bug 62783. Widgets to be improved include: - <button>, which implements the |value| attribute as an anonymous <text> element surrounded by fancy borders. When the button has content, all anonymous content, including the button borders, is forced to disappear because there is no indication of where explicit content is supposed to go. This can be fixed by making the anonymous <text> widget be default <children> content of the button. - <treecell>, which has indented text when used with |value| and non-indented content. Just as buttons should always have borders unless otherwise explicitly specified, treecells should always have their content indented. The solution is practically identical. This bug should track improvement of the semantics of XUL widgets using XBL's default <children> content.
Blocks: 53947
Status: NEW → ASSIGNED
Depends on: 62783
Priority: -- → P3
Target Milestone: --- → mozilla0.9.1
No longer blocks: 53947
Depends on: 59347
hyatt: do you know if there are any other bugs like this open?
Keywords: meta
unfortunately most or all of these are dependent on bug 72575 because they use xbl:inherits. (eg. i want to do <children><text inherits="value"/></children> but can't right now).
Depends on: 72575
Depends on: 48128
Priority: P3 → P2
Target Milestone: mozilla0.9.1 → mozilla0.9.2
->0.9.3 (not a netscape rtm stopper, per pdt)
Target Milestone: mozilla0.9.2 → mozilla0.9.3
xul cleansing -> mozilla1.0
Target Milestone: mozilla0.9.3 → mozilla1.0
[spam] xbl widget bugs -> future, until hyatt "finishes" anarchy online. These should probably dep on bug 82839...
Target Milestone: mozilla1.0 → Future
[spam] dr@netscape.com's bugs subject to redistribution by chofmann. R!
Assignee: dr → chofmann
Status: ASSIGNED → NEW
Priority: P2 → --
Target Milestone: Future → ---
This one is now invalid. There are bugs for each individual widget already being filed.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
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.