W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

[Bug 14288] document.documentElement.insertAdjacentHTML specs WebKit behavior instead of IE behavior

From: <bugzilla@jessica.w3.org>
Date: Mon, 03 Oct 2011 15:33:52 +0000
To: public-webapps@w3.org
Message-Id: <E1RAkWe-0007Uu-UA@jessica.w3.org>

Ms2ger <Ms2ger@gmail.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
         OS/Version|Linux                       |All

--- Comment #5 from Ms2ger <Ms2ger@gmail.com> 2011-10-03 15:33:51 UTC ---
I am told that

  document.documentElement.insertAdjacentHTML("beforebegin", "<div></div>")

adds a second element child to the document in IE8 and IE9, and throws (per
spec) in IE10, and that it throws in the null-parent case as well. That is, IE
appears to match Gecko.

After discussion with Henri, I went with throwing in both cases.


Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Monday, 3 October 2011 15:33:59 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:36 UTC