[html5] HTML5 validator behavior issue

Gmail css.maujor at gmail.com
Mon Jan 17 10:51:07 PST 2011


HTML5 specs says:

<quote>
3.2.3.7 The style attribute
...
Note: In particular, using the style attribute to hide and show content, 
or to convey meaning that is otherwise not included in the document, 
is non-conforming. (To hide and show content, use the hidden attribute.)
<quote>

The following HTML fragment

<span style="display:none;">
hidden content
</span>

when submited to HTML5 validator return a valid document.

So, what does means "non-conforming"? or is this a validator fail?

TIA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20110117/cf0ead15/attachment-0001.htm>


More information about the Help mailing list