[Bug 10901] Use same parsing for HTML <script> and SVG <script>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10901

--- Comment #13 from Henri Sivonen <hsivonen@iki.fi> 2010-10-13 07:48:44 UTC ---
(In reply to comment #10)
> If we can convince
> ourselves we have a solution that won't break the web (including supporting
> copy-paste from the majority of existing SVG content),

If you are strict enough about not breaking copy-paste from existing SVG
content, the constraints become unsatisfiable. How would you assess "majority"?

Consider: <script>alert("&lt;".length);</script>

The script in needs to alert 4 as an HTML script and needs to alert 1 as an SVG
script in XML. Making the HTML script alert 1 would be a sure way to Break the
Web. Making the SVG when pasted to text/html alert 4 would break the SVG
copy-paste in some cases.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 13 October 2010 07:48:48 UTC