diff --git a/source b/source index 142c43dfb1f..288b6942eeb 100644 --- a/source +++ b/source @@ -80593,11 +80593,10 @@ dictionary ToggleEventInit : EventInit { data-x="dom-ToggleEvent-newState">newState attributes must return the values they are initialized to.
-The source
getter steps are to return the result of
- retargeting source
against this's currentTarget
.
The source
+ getter steps are to return the result of retarget against an event given
+ this and this's source
.
DOM standard issue #1328 tracks how to better standardize associated event data in a way which makes sense on Events. @@ -80651,15 +80650,25 @@ dictionary CommandEventInit : EventInit {
The source
getter steps are to
- return the result of retargeting source
against this's currentTarget
.
source
.
DOM standard issue #1328 tracks how to better standardize associated event data in a way which makes sense on Events. Currently an event attribute initialized to a value cannot also have a getter, and so an internal slot (or map of additional fields) is required to properly specify this.
+To retarget against an event, given an Event
event and a
+ Node
node:
If event's target is null, then + return null.
Return the result of retargeting node + against event's target.