[whatwg] several messages about HTML5

Michel Fortin michel.fortin at michelf.com
Tue Feb 20 18:56:30 PST 2007


Le 2007-02-20 à 19:05, Ian Hickson a écrit :

> The proposal to have predefined class names is still very much in  
> the air,
> we're mostly waiting for author and implementation feedback to see  
> if it
> is workable. Currently the HTML5 spec leaves a number of things  
> unanswered
> (like what happens if two classes on an element are contradictory), so
> it's definitely not finished.

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. It  
could even encourage some kind of namespacing for class names, in a  
similar way that CSS extensions -- or not yet standardised features  
-- are prefixed by the engine name like in -moz-border-radius or - 
webkit-column-count.

I think it'd be useful to have that on rel values (link types) as well.


Michel Fortin
michel.fortin at michelf.com
http://www.michelf.com/





More information about the whatwg mailing list