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

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 06 Apr 2011 08:52:15 +0000
To: public-html@w3.org
Message-ID: <bug-12434-2495@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:24 UTC