-
Notifications
You must be signed in to change notification settings - Fork 425
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move element[s]FromPoint to DocumentOrShadowRoot (#1123)
* Remove redundant Text#assignedSlot Slottable already defines it. * Move element[s]FromPoint to DocumentOrShadowRoot
- Loading branch information
Showing
4 changed files
with
44 additions
and
26 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 |
---|---|---|
|
@@ -29,6 +29,26 @@ | |
] | ||
} | ||
}, | ||
"DocumentOrShadowRoot": { | ||
// Manually moved from Document | ||
// See https://github.com/w3c/csswg-drafts/issues/5886 and https://github.com/w3c/csswg-drafts/issues/556 | ||
"methods": { | ||
"method": { | ||
"elementFromPoint": { | ||
"name": "elementFromPoint", | ||
"overrideSignatures": [ | ||
"elementFromPoint(x: number, y: number): Element | null" | ||
] | ||
}, | ||
"elementsFromPoint": { | ||
"name": "elementsFromPoint", | ||
"overrideSignatures": [ | ||
"elementsFromPoint(x: number, y: number): Element[]" | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"GlobalEventHandlers": { | ||
"events": { | ||
"event": [ | ||
|
@@ -581,8 +601,7 @@ | |
] | ||
} | ||
} | ||
}, | ||
|
||
} | ||
}, | ||
"EventListenerObject": { | ||
"name": "EventListenerObject", | ||
|
@@ -595,7 +614,7 @@ | |
] | ||
} | ||
} | ||
}, | ||
} | ||
}, | ||
"Document": { | ||
"methods": { | ||
|
@@ -748,18 +767,6 @@ | |
] | ||
} | ||
}, | ||
"Text": { | ||
"name": "Text", | ||
"properties": { | ||
"property": { | ||
"assignedSlot": { | ||
"name": "assignedSlot", | ||
"readonly": true, | ||
"overrideType": "HTMLSlotElement | null" | ||
} | ||
} | ||
} | ||
}, | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
saschanaz
Author
Contributor
|
||
"TextTrackList": { | ||
"events": { | ||
"event": [ | ||
|
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
Was this an over-delete by any chance? https://caniuse.com/?search=assignedSlot
Element API: assignedSlot
is deprecated but...Text API: assignedSlot
is not