Closed isellsoap closed 12 years ago
Actually, that's the point. Except for WebKit (Chrome & Safari), all browsers treat these the same...
select
select[size="0"]
select[size="1"]
So, I'm setting height:auto
for select[size]
and then back to the initial single <select>
height for WebKit.
Meaning, this is the desired visual result:
http://cl.ly/1b1m3R2K28333u1R3K1R
Note: I added that fix, after this issue was reported, related to the Drupal forms API...
I don’t get it. As it is now adding a select="0"
or select="1"
here renders a smaller select
than the input
next to it in Firefox and Opera. Is that intended?
Reading your edit now. I think we talked at cross purposes. ^_^
I'm not sure what you mean. This is what I see...
http://cl.ly/1A111f2D1L0N0L0C1R1f
Can you post a screenshot of what you're seeing?
Okay, this should fix it...
https://github.com/nathansmith/formalize/commit/b7cb005b46d671f93b6d7c086eedb0527a2bac28
Thanks for the back and forth on Twitter, helping me to understand the issue.
height: 1.8em;
is assigned toselect[size="0"]
andselect[size="1"]
only through the WebKit media query@media (-webkit-min-device-pixel-ratio: 0) { … }
. At least Firefox 9 and Opera 11.6 need that declaration too, otherwise the renderedselect
is too small.