This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 13870 - el.insertAdjacentHTML("beforebegin"/"afterend" broken when el.parentNode is a DocumentFragment
Summary: el.insertAdjacentHTML("beforebegin"/"afterend" broken when el.parentNode is a...
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: DOM Parsing and Serialization (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ms2ger
QA Contact: public-webapps-bugzilla
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-22 20:01 UTC by contributor
Modified: 2011-09-05 18:38 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2011-08-22 20:01:45 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/content-models.html
Multipage: http://www.whatwg.org/C#insertadjacenthtml()
Complete: http://www.whatwg.org/c#insertadjacenthtml()

Comment:
el.insertAdjacentHTML("beforebegin"/"afterend" broken when el.parentNode is a
DocumentFragment

Posted from: 91.181.115.83 by ms2ger@gmail.com
User agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.35 (KHTML, like Gecko) Chrome/13.0.761.0 Safari/534.35
Comment 1 Ms2ger 2011-08-22 20:34:22 UTC
In any case, it passes a DocumentFragment as context element to the HTML fragment parsing algorithm, which claims it isn't prepared to handle that.