Closed
Bug 300450
Opened 19 years ago
Closed 19 years ago
XUL buttons ignoring max-width style attribute
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: mark.crutch+bugzilla, Assigned: jag+mozilla)
References
()
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050710 Firefox/1.0+ Using Deer Park Alpha 1 or 2 a XUL button with no label, but a small max-width style attribute, is rendered with an arbitrary width. I use buttons like this via XBL to create very small buttons for numeric "spinner" widgets. The problem also occurs outside of XBL when the button is described directly in the XUL, with the style applied as an attribute (see the URL for an example). This problem does not occur in Firefox 1.0.x releases. Reproducible: Always
Comment 3•19 years ago
|
||
Probably because this doesn't affect the content inside the button, and xul doesn't really do overflow.
Comment 4•19 years ago
|
||
There was a bug which was caused by max-width incorrectly overriding min-width. This has now been fixed so that min-width overrides max-width as it should. Note that you should probably have been overriding the min-width all along.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•