Add Element::InsertAdjacentHTML

This commit is contained in:
Guillaume Gomez 2016-06-08 01:43:04 +02:00 committed by ggomez
parent 40feb524d9
commit 8c572085c7
5 changed files with 37 additions and 117 deletions

View file

@ -75,6 +75,8 @@ interface Element : Node {
Element? insertAdjacentElement(DOMString where_, Element element); // historical
[Throws]
void insertAdjacentText(DOMString where_, DOMString data);
[Throws]
void insertAdjacentHTML(DOMString position, DOMString html);
};
// http://dev.w3.org/csswg/cssom-view/#extensions-to-the-element-interface