mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Auto merge of #18382 - servo:jdm-patch-1, r=cbrewster
Add CEReactions to element creation APIs. This addresses https://github.com/whatwg/dom/pull/506. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes do not require tests because they will exist upstream in the future. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18382) <!-- Reviewable:end -->
This commit is contained in:
commit
4ada03febf
1 changed files with 2 additions and 2 deletions
|
@ -32,9 +32,9 @@ interface Document : Node {
|
||||||
HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString qualifiedName);
|
HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString qualifiedName);
|
||||||
HTMLCollection getElementsByClassName(DOMString classNames);
|
HTMLCollection getElementsByClassName(DOMString classNames);
|
||||||
|
|
||||||
[NewObject, Throws]
|
[CEReactions, NewObject, Throws]
|
||||||
Element createElement(DOMString localName, optional ElementCreationOptions options);
|
Element createElement(DOMString localName, optional ElementCreationOptions options);
|
||||||
[NewObject, Throws]
|
[CEReactions, NewObject, Throws]
|
||||||
Element createElementNS(DOMString? namespace, DOMString qualifiedName, optional ElementCreationOptions options);
|
Element createElementNS(DOMString? namespace, DOMString qualifiedName, optional ElementCreationOptions options);
|
||||||
[NewObject]
|
[NewObject]
|
||||||
DocumentFragment createDocumentFragment();
|
DocumentFragment createDocumentFragment();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue