Well of course we all know that every browser follows the w3 recommendations
rigidly and without compromise, so let me put this another way:

Knowing that some browsers suck more than others (*cough* IE *cough*), is
there less risk in the browser misinterpreting non-style information in an
attribute it normally uses for styles or data in extra attributes that it
doesn't know or care about?



Klaus Hartl wrote:
> 
> Daemach schrieb:
>> --  If I add metadata to a "class" attribute, I risk messing with CSS -
>> classes are for styles.
> 
> That is a common misunderstanding. Consider the HTML spec:
> 
> "The class attribute has several roles in HTML:
> 
>      * As a style sheet selector (when an author wishes to assign style 
> information to a set of elements).
>      * For general purpose processing by user agents."
> 
> http://www.w3.org/TR/html401/struct/global.html#h-7.5.2
> 
> 
> 
> -- Klaus
> 
> 
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Of-extendos%2C-metadata-and-valid-XHMTL---Is-it-ok-to-add-attributes-to-elements--tf3337204.html#a9291397
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to