Closed Bug 357457 Opened 18 years ago Closed 15 years ago

[reflow branch] <select> with CSS width:0 height:0 is visible

Categories

(Core :: Layout: Form Controls, defect)

Other Branch
x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED WONTFIX

People

(Reporter: MatsPalmgren_bugz, Unassigned)

References

Details

(Keywords: css3, regression, testcase, Whiteboard: [questionably valid])

Attachments

(1 file)

[reflow branch] <select> with CSS width:0 height:0 is visible

This is bug 58220 that has come back.
Given the styles, I think the rendering is correct per CSS 2.1, but since 58220
was an accepted bug I wanted to make you aware of the diff to trunk...
(Apologies for the spam if you're aware of it)
Attached file Testcase #1
Trunk: two green boxes
Reflow-branch: two red boxes
Yeah, I did see bug 58220 in the log when I was working on this code and I did test against those testcases (as well as all other existing form control regression tests).  Since I wasn't running into the _real_ issue that bug was reported on (that of the scrollbars just doing very wacky things, etc).  Given that the only reason for width:0; height:0 was bug 34297, I decided this was an acceptable behavior change in return for much cleaner code.

So I'm somewhat tempted to wontfix this, to be truthful.
Gecko reflow-branch and IE7: green boxes
Gecko trunk, Opera9 and Webkit (2006-11-08): red boxes

Could we keep the bug open until 'box-sizing:border-box' is more clearly
specified, so we don't forget about the issue?
http://www.w3.org/TR/2002/WD-css3-box-20021024/#the-box-width
Keywords: css3
I suppose...  we should mark it dependent on whatever bug is tracking box-sizing, then.
Assignee: bzbarsky → nobody
The behavior on the reflow branch matches the Opera behavior.  The trunk and Firefox 2.0 behavior matches what IE7 does.
Right, "reflow-branch"/"trunk" should be swapped in my comment 3.
Whiteboard: [questionably valid]
Depends on: 243412
IE8rc1 and Opera's latest weekly also render two red boxes. So everyone agrees on this case, maybe it can be wontfixed now?
Yeah, I think so.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: