W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > December 2008

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

From: <bugzilla@wiggum.w3.org>
Date: Mon, 29 Dec 2008 23:50:38 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1LHRsc-0004rK-5g@farnsworth.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 29 December 2008 23:50:46 GMT