mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add insert_adjacent methods into Element
This commit is contained in:
parent
68a8085a2f
commit
c05a9b039e
4 changed files with 135 additions and 0 deletions
|
@ -70,6 +70,10 @@ interface Element : Node {
|
|||
HTMLCollection getElementsByTagName(DOMString localName);
|
||||
HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString localName);
|
||||
HTMLCollection getElementsByClassName(DOMString classNames);
|
||||
[Throws]
|
||||
Element? insertAdjacentElement(DOMString where_, Element element);
|
||||
[Throws]
|
||||
void insertAdjacentText(DOMString where_, DOMString data);
|
||||
};
|
||||
|
||||
// http://dev.w3.org/csswg/cssom-view/#extensions-to-the-element-interface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue