[whatwg] <script type=""> and <style type=""> parsing

Joost 'AlthA' de Valk jdevalk at opendarwin.org
Sun May 21 15:29:46 PDT 2006

I've tested those two tests in WebKit nightly, and see that webkit  
fails a few more than firefox does. I would be very interested in  
some statistics as well :).

Kind regards,

On May 21, 2006, at 1:44 PM, Anne van Kesteren wrote:

> Based on http://testsuite.org/html/elements/script/001.htm and  
> http://testsuite.org/html/elements/style/001.htm and the results in  
> Internet Explorer, Firefox and Opera it seems parsing can be made  
> pretty strict. The only real problem is <script> with the type=""  
> attribute set to the empty string. It seems all three browsers  
> treat that as if it was an ECMAScript/JavaScript type, while in  
> fact it is not. Internet Explorer handles the same situation with  
> <style> correctly...
> Ian, perhaps you have statistics that show we don't have to worry  
> about <script type=""> and can make the specification to say that  
> browsers must ignore the content in that case?
> By the way, I was planning on filing bugs on Mozilla for both the  
> testcases, but couldn't find out what the right component would be.  
> Anyone with ideas?
> -- 
> Anne van Kesteren
> <http://annevankesteren.nl/>

More information about the whatwg mailing list