W3C home > Mailing lists > Public > public-html-comments@w3.org > April 2010

RE: Alternate syntax for defining class attribute

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 9 Apr 2010 21:50:51 +0000 (UTC)
To: "Musgrove, Jason L" <J.L.Musgrove2@wlv.ac.uk>
Cc: "T.J. Crowder" <tj@crowdersoftware.com>, public-html-comments@w3.org
Message-ID: <Pine.LNX.4.64.1004092148070.751@ps20323.dreamhostps.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 1 June 2011 00:14:02 GMT