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

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

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.

https://bitbucket.org/ms2ger/dom-parsing-and-serialization/changeset/ee0ba6d66250

-- 
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