HTML 5 and the type attribute

Hi!

Consider this a bug report. I am not subscribed to the list, and use 
this in the absence of a public bug database.

In HTML 5 it is legal, and it is been supported by every browser for a 
long time, to omit the type attribute on the style element starting tag.

However, the CSS validator still seems to require the type attribute. 
I.e. a page containing this code will have its CSS code validated:

<style type="text/css">
/* CSS rules here */
</style>

This code will be ignored:

<style>
/* CSS rules here */
</style>

HTML5 makes this a bug and thus I think it should be fixed.


Best regards

-- 
Lars Gunther
http://keryx.se/
http://twitter.com/itpastorn/
http://itpastorn.blogspot.com/

Received on Saturday, 5 September 2009 21:13:14 UTC