W3C home > Mailing lists > Public > www-style@w3.org > February 2013

RE: [selectors4] ID selector syntax: HASH or #+IDENT?

From: James Ross <w3-www-style-20040125@james-ross.co.uk>
Date: Tue, 19 Feb 2013 10:44:58 +0000
Message-ID: <DUB002-W19F344795486DAC59A30B3E3F50@phx.gbl>
To: "www-style@w3.org" <www-style@w3.org>
> Date: Tue, 19 Feb 2013 09:02:01 +0100
> From: simon.sapin@kozea.fr
> To: www-style@w3.org
> Subject: [selectors4] ID selector syntax: HASH or #+IDENT?
> Test case:
> data:text/html,<body id=1><style>%231{background:green
> This is green in Opera and IE, not in Firefox and Chrome. The former 
> accept any HASH for ID selectors, while the latter probably restrict the 
> syntax to valid identifiers. Internet Explorer 10 only shows this with a green background when in Document Mode: IE5 quirks for me (this mode is used as the quirks mode in IE9 and below). In all other modes (IE7 standards, IE8 standards, IE9 standards, IE10 quirks and IE10 standards) it does not display green.
James Ross silver@warwickcompsoc.co.uk
Received on Tuesday, 19 February 2013 10:45:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:26 UTC