RESOLVED FIXED 11362
Native popup with size="1" wraps options
https://bugs.webkit.org/show_bug.cgi?id=11362
Summary Native popup with size="1" wraps options
mitz
Reported 2006-10-19 16:13:46 PDT
Specifying size="1" for a non-themed popup makes long options wrap and make the popup taller when they're selected. See attached test case.
Attachments
Test case (390 bytes, text/html)
2006-10-19 16:14 PDT, mitz
no flags
Fix html4.css (37.28 KB, patch)
2007-04-06 01:08 PDT, mitz
hyatt: review+
mitz
Comment 1 2006-10-19 16:14:23 PDT
Created attachment 11158 [details] Test case
mitz
Comment 2 2006-10-19 16:15:59 PDT
I noticed this bug in the Web Inspector's tree popup.
mitz
Comment 3 2007-03-31 08:25:12 PDT
html4.css has the following: keygen, select { ... white-space: pre; } select[size], select[multiple], select[size][multiple] { ... white-space: initial; } select[size="0"], select[size="1"] { ... /* no white-space declaration */ } white-space should probably be set to pre again in the more specific case of size="0" or size="1". Doing this in the stylesheet without !important would still allow the author to have popups wrap. I'm not sure you want to allow that.
mitz
Comment 4 2007-04-06 01:08:47 PDT
Created attachment 13977 [details] Fix html4.css Also added missing border-radius to the 'select' rule and cleaned up a little.
Dave Hyatt
Comment 5 2007-04-06 01:11:40 PDT
Comment on attachment 13977 [details] Fix html4.css r=me
Mark Rowe (bdash)
Comment 6 2007-04-11 22:04:07 PDT
Landed in r20857.
Note You need to log in before you can comment on or make changes to this bug.