- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Sat, 6 Oct 2012 09:36:17 -0700
- To: Simon Sapin <simon.sapin@kozea.fr>
- Cc: WWW Style <www-style@w3.org>
On Sat, Oct 6, 2012 at 3:39 AM, Simon Sapin <simon.sapin@kozea.fr> wrote: > Hi, > > CSS 2.1 mentions in ยง4.1.3: > >> It is undefined in CSS 2.1 what happens if a style sheet does >> contain a character with Unicode codepoint zero. > > However, U+0000 is not mentioned at all in css3-syntax (apart from being > non-printable.) I think that css3-syntax as it stands requires > implementation to handle U+0000 like any other code point. > > Can this be problematic for implementations where the null byte is a string > terminator? Should we allow them to use U+FFFD REPLACEMENT CHARACTER > instead, where they should have U+0000 but can not? For example for a zero > hexadecimal escape: \0 Yes, I'm planning to do some testing of UAs to see what their handling of \0 is. ~TJ
Received on Saturday, 6 October 2012 16:37:05 UTC