RE: Alternate syntax for defining class attribute

On Fri, 9 Apr 2010, Musgrove, Jason L wrote:
>
> I'm assuming the "HTML" serialization is based upon SGML, like HTML 4 
> was.

It is not. For more discussion on this, see:

   http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#parsing


Regarding the original suggestion, my response from last year still holds:

> I think what would be helpful would be to make a JS library that fakes 
> this (by searching for elements with attributes that start with "." and 
> adding them to the class="" attribute), and seeing if it gets adoption. 
> That would provide interesting information for future developers of 
> HTML.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 9 April 2010 21:51:18 UTC