Re: Recommended practice on selector compatibility

On 12/4/02 12:35 PM, "Ian Hickson" <ian@hixie.ch> wrote:

> 
> On Wed, 4 Dec 2002, Christian Roth wrote:
>>> 
>>> By following the escape with a space (which is ignored), as in:
>>> 
>>>   "\0041 B"
>>> 
>>> ...which is identical to:
>>> 
>>>   "AB"
>> 
>> Does this actually work in CSS1?
> 
> No (as you say, CSS1 doesn't expect a space after escapes) but that
> doesn't matter, because all the major browsers support the CSS2 way:
> 
>  http://www.hixie.ch/tests/adhoc/css/parsing/escaping/003.html
> 
> There aren't any CSS1 compliant UAs to my knowledge.

Hmmm... perhaps an errata for CSS1 then to eliminate this incompatibility?


> (Note: IE5 and Konqueror suck big time and get both the CSS1 and CSS2 ways
> wrong. I think they might not support escapes at all.

I *know* Ian meant IE5/Windows specifically when he wrote this, as IE5/Mac
supports the CSS2 way as well as:

> On Windows, Opera,
> Mozilla, and IE6 pass it as CSS2 UAs.)

Tantek

Received on Wednesday, 4 December 2002 17:58:06 UTC