W3C home > Mailing lists > Public > www-style@w3.org > October 2008

Re: Selectors Tests

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 30 Oct 2008 17:46:37 -0500
Message-ID: <dd0fbad0810301546t5895dff2h34ad0696c966126e@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "Lachlan Hunt" <lachlan.hunt@lachy.id.au>, "Boris Zbarsky" <bzbarsky@mit.edu>, www-style <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:15 GMT