[html401] "type" attribute of the <style> element

With regard to  
<http://www.w3.org/TR/1999/REC-html401-19991224/present/styles.html#h-14.2.3>  
I suggest that the HTML WG follows what the SVG specifications say and  
what UAs commonly have implemented for HTML namely that the "type"  
attribute is optional and a default value is "text/css" or determined by  
some HTTP header which in turn defaults to "text/css".

If the WG does not accept this issue my question becomes how UAs should  
handle <style> elements with no "type" attribute set.


There is another issue as well. What should UAs do with a "type" attribute  
whose value is not recognized? Clear processing rules would be  
appreciated. For example, is <style type="text/css;charset=utf-8"> allowed?


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Monday, 23 January 2006 16:28:10 UTC