Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #2596.
- Loading branch information
Showing
24 changed files
with
92 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
[NoInterfaceObject, | ||
Exposed=Window] | ||
interface ChildNode { | ||
// https://dom.spec.whatwg.org/#childnode | ||
interface mixin ChildNode { | ||
[CEReactions, Unscopable] void before((Node or DOMString)... nodes); | ||
[CEReactions, Unscopable] void after((Node or DOMString)... nodes); | ||
[CEReactions, Unscopable] void replaceWith((Node or DOMString)... nodes); | ||
[CEReactions, Unscopable] void remove(); | ||
}; | ||
DocumentType implements ChildNode; | ||
Element implements ChildNode; | ||
CharacterData implements ChildNode; | ||
DocumentType includes ChildNode; | ||
Element includes ChildNode; | ||
CharacterData includes ChildNode; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
[Exposed=Window, | ||
NoInterfaceObject] | ||
interface ElementCSSInlineStyle { | ||
// https://drafts.csswg.org/cssom/#elementcssinlinestyle | ||
interface mixin ElementCSSInlineStyle { | ||
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style; | ||
}; | ||
|
||
HTMLElement implements ElementCSSInlineStyle; | ||
SVGElement implements ElementCSSInlineStyle; | ||
HTMLElement includes ElementCSSInlineStyle; | ||
SVGElement includes ElementCSSInlineStyle; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[Exposed=Window, | ||
NoInterfaceObject] | ||
interface ElementContentEditable { | ||
interface mixin ElementContentEditable { | ||
// [CEReactions] attribute DOMString contentEditable; | ||
// [CEReactions] attribute DOMString enterKeyHint; | ||
// readonly attribute boolean isContentEditable; | ||
// [CEReactions] attribute DOMString inputMode; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
// https://html.spec.whatwg.org/#htmlframesetelement | ||
[Exposed=Window, | ||
HTMLConstructor] | ||
interface HTMLFrameSetElement : HTMLElement { | ||
[CEReactions, Reflect] attribute DOMString cols; | ||
[CEReactions, Reflect] attribute DOMString rows; | ||
}; | ||
HTMLFrameSetElement implements WindowEventHandlers; | ||
HTMLFrameSetElement includes WindowEventHandlers; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
[Exposed=Window, | ||
NoInterfaceObject] | ||
interface LinkStyle { | ||
// https://drafts.csswg.org/cssom/#linkstyle | ||
interface mixin LinkStyle { | ||
readonly attribute StyleSheet? sheet; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
[NoInterfaceObject, | ||
Exposed=Window] | ||
interface NonDocumentTypeChildNode { | ||
// https://dom.spec.whatwg.org/#nondocumenttypechildnode | ||
interface mixin NonDocumentTypeChildNode { | ||
readonly attribute Element? previousElementSibling; | ||
readonly attribute Element? nextElementSibling; | ||
}; | ||
Element implements NonDocumentTypeChildNode; | ||
CharacterData implements NonDocumentTypeChildNode; | ||
Element includes NonDocumentTypeChildNode; | ||
CharacterData includes NonDocumentTypeChildNode; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
[NoInterfaceObject, | ||
Exposed=Window] | ||
interface NonElementParentNode { | ||
// https://dom.spec.whatwg.org/#nonelementparentnode | ||
interface mixin NonElementParentNode { | ||
Element? getElementById(DOMString elementId); | ||
}; | ||
Document implements NonElementParentNode; | ||
DocumentFragment implements NonElementParentNode; | ||
Document includes NonElementParentNode; | ||
DocumentFragment includes NonElementParentNode; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
// Slotable is a mixin rather than an interface | ||
// Waiting for https://github.com/jsdom/webidl2js/commit/92598ce3ec39342e27a3ad090a373b20f3b99626 | ||
interface Slotable { | ||
// https://dom.spec.whatwg.org/#slotable | ||
interface mixin Slotable { | ||
readonly attribute HTMLSlotElement? assignedSlot; | ||
}; | ||
Element includes Slotable; | ||
Text includes Slotable; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
// https://dom.spec.whatwg.org/#text | ||
[Constructor(optional DOMString data = ""), | ||
Exposed=Window] | ||
interface Text : CharacterData { | ||
[NewObject] Text splitText(unsigned long offset); | ||
readonly attribute DOMString wholeText; | ||
}; | ||
|
||
Text implements Slotable; |
Oops, something went wrong.