Re: Selectors Tests

On Thu, Oct 30, 2008 at 5:18 PM, fantasai <fantasai.lists@inkedblade.net>wrote:

>
> An interesting question would be what happens if I write
>  input[type="hidden"] { display: inline; }
> Would I get nothing? A readonly input control? Something else?
>

At the moment, you get nothing in the three browsers I've tested (Opera 9,
FF3, IE7).

An interesting difference is that this markup:

foo<input id="test" type="hidden">bar
>

with this CSS

#test { display: block; }
>

generates "foobar" in Opera and IE, but "foo<br>bar" in FF3.

~TJ

Received on Thursday, 30 October 2008 22:47:13 UTC