W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 2011

[Bug 14275] This non-normative box is not very clean. After all, using DOM methods or innerHTML also could make DOM not correspond source code of document (heck, older versions of IE did some transformations). Also, as long you won't use async or defer I cannot think

From: <bugzilla@jessica.w3.org>
Date: Mon, 03 Oct 2011 08:07:08 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RAdYK-0007hF-J1@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14275

--- Comment #3 from Simon Pieters <simonp@opera.com> 2011-10-03 08:07:08 UTC ---
(In reply to comment #1)
> > After all, using DOM methods or
> > innerHTML also could make DOM not correspond source code of document
> 
> This warning is talking about much more serious cases than that. For example,
> if you document.write() the string "<plaintext>", the rest of the document is
> turned to text, regardless. With innerHTML and DOM manipulation, you can't
> cause the parser to parse parts of the document differently than it otherwise
> would have.

It would be good if you made the note clearer on this point.

-- 
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, 3 October 2011 08:07:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:05 UTC