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

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

--- Comment #3 from Jonas Sicking <jonas@sicking.cc> 2010-10-01 00:09:18 UTC ---
What prevents document.write() from inside SVG-in-HTML scripts from working
right now? I don't see how the parsing model affects the runtime behavior here?

I agree on the level of risk and am also interested in comments from other
parties. I didn't mean to make the changes sound small or easy.

One way to reduce the risk would be to only allow <![CDATA[ in the beginning of
the <script>-contents, before any non-whitespace characters have been parsed.
Though that doesn't solve the problem Adam high-lights, of course.

-- 
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 Friday, 1 October 2010 00:09:20 UTC