- From: <bugzilla@jessica.w3.org>
- Date: Sat, 03 Oct 2015 02:24:02 +0000
- To: www-dom@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29175
Bug ID: 29175
Summary: Special rules for HTML element in HTML document for
Element.insertAdjacentHTML() are necessary?
Product: WebAppsWG
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: DOM Parsing and Serialization
Assignee: travil@microsoft.com
Reporter: crimsteam@gmail.com
QA Contact: public-webapps-bugzilla@w3.org
CC: mike@w3.org, www-dom@w3.org
Target Milestone: ---
Firefox is the only current browser which complies these requirements (step
2.)?
http://www.w3.org/TR/DOM-Parsing/#dfn-dom-element-insertadjacenthtml
Small test:
<script type = "text/javascript">
var newFragment = document.createDocumentFragment();
newFragment.appendChild(document.createElement("html"));
newFragment.firstChild.insertAdjacentHTML("afterbegin", "<p>test");
alert(newFragment.firstChild.innerHTML);
</script>
Firefox, IE6/IE7/IE8/ : <p>test</p>
Chrome, IE11, Opera (Presto): <head></head><body><p>test</p></body>
I don't have access to Safari, what WebKit returns? What Edge returns?
--
You are receiving this mail because:
You are on the CC list for the bug.
Received on Saturday, 3 October 2015 02:24:04 UTC