Bug 1622512 [wpt PR 22257] - Update interfaces/dom.idl, a=testonly

Automatic update from web-platform-tests
Update interfaces/dom.idl (#22257)

Source: https://github.com/tidoust/reffy-reports/blob/ddd881f/ed/idl/dom.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/677384457
--

wpt-commits: b9bbe42e2f7e5a111a93a278fcfc576e9b37410e
wpt-pr: 22257
This commit is contained in:
autofoolip 2020-04-28 11:46:48 +00:00
Родитель c51fe2cfac
Коммит 1e1dc1c3f8
1 изменённых файлов: 7 добавлений и 6 удалений

Просмотреть файл

@ -30,7 +30,7 @@ interface Event {
readonly attribute boolean defaultPrevented; readonly attribute boolean defaultPrevented;
readonly attribute boolean composed; readonly attribute boolean composed;
[Unforgeable] readonly attribute boolean isTrusted; [LegacyUnforgeable] readonly attribute boolean isTrusted;
readonly attribute DOMHighResTimeStamp timeStamp; readonly attribute DOMHighResTimeStamp timeStamp;
void initEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false); // historical void initEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false); // historical
@ -115,6 +115,7 @@ interface mixin ParentNode {
[CEReactions, Unscopable] void prepend((Node or DOMString)... nodes); [CEReactions, Unscopable] void prepend((Node or DOMString)... nodes);
[CEReactions, Unscopable] void append((Node or DOMString)... nodes); [CEReactions, Unscopable] void append((Node or DOMString)... nodes);
[CEReactions, Unscopable] void replaceChildren((Node or DOMString)... nodes);
Element? querySelector(DOMString selectors); Element? querySelector(DOMString selectors);
[NewObject] NodeList querySelectorAll(DOMString selectors); [NewObject] NodeList querySelectorAll(DOMString selectors);
@ -140,11 +141,11 @@ DocumentType includes ChildNode;
Element includes ChildNode; Element includes ChildNode;
CharacterData includes ChildNode; CharacterData includes ChildNode;
interface mixin Slotable { interface mixin Slottable {
readonly attribute HTMLSlotElement? assignedSlot; readonly attribute HTMLSlotElement? assignedSlot;
}; };
Element includes Slotable; Element includes Slottable;
Text includes Slotable; Text includes Slottable;
[Exposed=Window] [Exposed=Window]
interface NodeList { interface NodeList {
@ -308,7 +309,7 @@ dictionary ElementCreationOptions {
[Exposed=Window] [Exposed=Window]
interface DOMImplementation { interface DOMImplementation {
[NewObject] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId); [NewObject] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId);
[NewObject] XMLDocument createDocument(DOMString? namespace, [TreatNullAs=EmptyString] DOMString qualifiedName, optional DocumentType? doctype = null); [NewObject] XMLDocument createDocument(DOMString? namespace, [LegacyNullToEmptyString] DOMString qualifiedName, optional DocumentType? doctype = null);
[NewObject] Document createHTMLDocument(optional DOMString title); [NewObject] Document createHTMLDocument(optional DOMString title);
boolean hasFeature(); // useless; always returns true boolean hasFeature(); // useless; always returns true
@ -413,7 +414,7 @@ interface Attr : Node {
}; };
[Exposed=Window] [Exposed=Window]
interface CharacterData : Node { interface CharacterData : Node {
attribute [TreatNullAs=EmptyString] DOMString data; attribute [LegacyNullToEmptyString] DOMString data;
readonly attribute unsigned long length; readonly attribute unsigned long length;
DOMString substringData(unsigned long offset, unsigned long count); DOMString substringData(unsigned long offset, unsigned long count);
void appendData(DOMString data); void appendData(DOMString data);