[Bug 12434] New: Spec doesn't match IE when calling insertAdjacentHTML with position afterend or beforebegin on head or body

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

           Summary: Spec doesn't match IE when calling insertAdjacentHTML
                    with position afterend or beforebegin on head or body
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: hsivonen@iki.fi
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


http://software.hixie.ch/utilities/js/live-dom-viewer/saved/918

IE9, IE8 and IE6 (IE7 not tested) behaves as if the context node for fragment
parsing in the insertAdjacentHTML case was "body" when it logically should be
"html".

Since it's their API originally, I think it would be prudent to codify this
quirk in the spec.

Note that there is precedent: The same quirk exists in
Range::createContextualFragment.

-- 
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 Wednesday, 6 April 2011 08:52:17 UTC