W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2007

[whatwg] several messages about HTML5

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 21 Feb 2007 10:47:28 +0100
Message-ID: <op.tn3etenn64w2qv@id-c0020.orange.nl>
On Wed, 21 Feb 2007 10:41:12 +0100, Gervase Markham <gerv at mozilla.org>  
wrote:
>> About that, I would like to suggest that the current text be changed to  
>> reserve class names starting with a dash "-" for private use. That way  
>> that we would have a pool of class names which are guarantied to not be  
>> taken over later when new predefined class names are added.
>
> Surely it would make much more sense to have all the predefined class  
> names start with a dash? After all, XHTML5 is not yet standardised,  
> whereas people have been using all sorts of random class names for years  
> - but, I suspect, mostly without a leading dash.
>
> This is similar to the C/C++ thing of having reserved symbols like  
> __LINE__ start with an underscore.

Surely it would make much more sense to have HTML parsers should stop at  
the first error too. This is similar to C/C++ compilers throwing an error  
at you.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Wednesday, 21 February 2007 01:47:28 UTC

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