W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2009

[whatwg] Space characters: VT and FF

From: Řistein E. Andersen <liszt@coq.no>
Date: Sat, 29 Aug 2009 01:38:31 +0100
Message-ID: <A5176F26-BEBB-4163-A472-DDB0FAE3EC36@coq.no>
As far as I can tell, vertical tab ('\v') is not defined as a space  
character anymore, but does not cause a parse error either (unlike  
other control characters). Is this intentional?

In IE7, IE8 and Safari, '\v' is handled as a space character in the  
sense that it can be used to separate attributes, but this is probably  
not important, and HTML5 does not seem to prevent browsers from  
handling '\v' as white space in text content anyway.  I am sure you  
have a good reason for not defining '\v' as a space character, but  
would it not be more consistent to treat form feed ('\f') in the same  
way?  (Firefox handles both as non-space characters, IE and Safari  
handle both as space characters, and handling these two slightly  
exotic C0 white-space characters differently seems surprising.)

-- 
?istein E. Andersen
Received on Friday, 28 August 2009 17:38:31 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:16 UTC