Closed Bug 94944 Opened 23 years ago Closed 23 years ago

[Buttons] Allow button to really behave like a box and allow child content

Categories

(Core :: XUL, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9.4

People

(Reporter: hyatt, Assigned: hyatt)

References

Details

(Whiteboard: [xul1.0-widgets-button])

Attachments

(2 files)

The main issue here is going to be patching the bindings and then
patching XBL to enable default content support inherits.
Blocks: 70753
Status: NEW → ASSIGNED
Whiteboard: [xul1.0-widgets-button]
Target Milestone: --- → mozilla0.9.4
Looking for r/sr from hewitt and waterson.

If you want to see some of the layout issues this patch is fixing, just go 
look at the mess the current trunk makes of:

http://www.mozilla.org/projects/xul/tests/buttons.xul

Since you are adding a box to the top of the content in the modern button
binding, you will also have to update the CSS for selectors like this:

button:hover:active > .button-box-left > .button-left-top

so that they look like this:

button:hover:active > .box-inherit > .button-box-left > .button-left-top,
r=hewitt
r=danm too
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
What are the new effects of text-align?
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: