W3C home > Mailing lists > Public > www-style@w3.org > November 2012

Re: [css2] escapement in string literals

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sat, 10 Nov 2012 21:33:20 -0800
Message-ID: <CAAWBYDBVzFr=M-eiX8KvPVzuNtPXPeGVt1AJK1F6r8jtOrPhZQ@mail.gmail.com>
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: www-style@w3.org
On Nov 10, 2012 9:08 PM, "Andrew Fedoniouk" <news@terrainformatica.com>
wrote:
>
> I am trying to get tokenization of string literals here
> http://www.w3.org/TR/CSS21/syndata.html#tokenization
> In particular {unicode} thing...
>
> What will this string produce:
> "\0123456789"
> ?

The Unicode char U+12345 followed by "6789".

> And this too:
> "\012345 6789"

Same.

> in particular will it be white space between &#x012345 character and
"6789" ?

No. Character escaped also consume a single following white space.

~TJ
Received on Sunday, 11 November 2012 05:33:47 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:02 GMT