[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

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