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

> 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