W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2006

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

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Sun, 21 May 2006 13:44:02 +0200
Message-ID: <20060521134402.igjqcnep3jswgw08@webmail.annevankesteren.nl>
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/>
Received on Sunday, 21 May 2006 04:44:02 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:27 UTC