W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2006

[whatwg] HTML syntax: shortcuts for 'id' and 'class' attributes

From: Martin Atkins <mart@degeneration.co.uk>
Date: Fri, 01 Dec 2006 08:46:23 +0000
Message-ID: <456FEBDF.1010503@degeneration.co.uk>
Andrew Fedoniouk wrote:
> | >
> | > <p.myclass>...</p> is equivalent of
> | > <p class="myclass">...</p>
> | >
> |
> | HTML5 is meant to be backwards compatible, so this is out of the question.
> 
> And where do you see problems with backward compatibility?
> Or let's put this way: what would be a definition of backward compatibility in 
> terms of HTML5?
> 

Anything specified in HTML5 must degrade gracefully in pre-HTML5 
software. Unless at the very least current browsers parse <p.myclass> as 
<p> this proposal is unworkable under this constraint.
Received on Friday, 1 December 2006 00:46:23 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:30 UTC