[Bug 6257] Please specify document.write()-safe points in the parse

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


Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #1 from Ian 'Hixie' Hickson <ian@hixie.ch>  2008-12-29 23:50:37 ---
There's no way to list all the cases, since it depends on SVG and MathML, and
those change regularly.

When document.write() is called when the insertion point is undefined (which
happens for all cases except the processing of HTML's own <script> element),
document.write() calls document.open() which blows away the entire document. As
currently specified, this happens for SVG's <script> too. I propose to leave it
that way, thus sidestepping the entire issue and preventing SVG images from
relying on document.write() as well.

Reopen if you disagree.


-- 
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 Monday, 29 December 2008 23:50:46 UTC