Note: There are a few cases of duplicates in user autocompletion which are being worked on.

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




Layout: Form Controls
11 years ago
8 years ago


(Reporter: Mats Palmgren (vacation - back in August), Unassigned)


({css3, regression, testcase})

Other Branch
css3, regression, testcase
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)


(Whiteboard: [questionably valid])


(1 attachment)

[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)
Created attachment 242945 [details]
Testcase #1

Trunk: two green boxes
Reflow-branch: two red boxes

Comment 2

11 years ago
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?
Keywords: css3

Comment 4

11 years ago
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]
Blocks: 300030


11 years ago
Depends on: 243412

Comment 7

9 years ago
IE8rc1 and Opera's latest weekly also render two red boxes. So everyone agrees on this case, maybe it can be wontfixed now?

Comment 8

8 years ago
Yeah, I think so.
Last Resolved: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.