Re: List selector and class attribute

On Wed, 23 Mar 2005, Allan Sandfeld Jensen wrote:
> On Tuesday 22 March 2005 02:54, Ian Hickson wrote:
> > On Mon, 21 Mar 2005, Allan Sandfeld Jensen wrote:
> > > 	Or should HTML attributes be white-space transformed so only
> > > spaces remain.
> >
> > This actually should already happen. Per SGML parsing rules, U+000A, 
> > U+000D, and U+0020 all either get stripped or turn into U+0020.
> 
> Thanks, I finally found it. Looking up standards that are not fully open 
> and cost money sucks. Hopefully this detail can be added to the appendix 
> of HTML in next revision?

Actually for compatibility with existing browsers, the above requirement 
has been dropped in the HTML5 parser specification. U+000D now turns into 
U+000A, but U+000A and U+0020 are preserved in quoted attributes.

   http://www.whatwg.org/specs/web-apps/current-work/#attribute2

>From the WHATWG "replying to old e-mails everyone has forgotten about" 
department,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 1 March 2007 01:45:41 UTC