From 9b41097951f8afb7357335bdaf25f6cad998137c Mon Sep 17 00:00:00 2001
From: Joey Arhar
The source
getter steps are to
- return the result of retargeting source
against this's currentTarget
.
source
getter steps
+ are:
+
+ Let retargetAgainst be this's currentTarget
.
If retargetAgainst is null, then set retargetAgainst to + this's target.
If retargetAgainst is null, then return null.
Return the result of retargeting source
against retargetAgainst.
DOM standard issue #1328
tracks how to better standardize associated event data in a way which makes sense on Events.
From 68da488f80fc6ec54134daeef17e9e0ff052d2cb Mon Sep 17 00:00:00 2001
From: Joey Arhar
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. @@ -80661,27 +80660,31 @@ dictionary CommandEventInit : EventInit { initialized to.
The source
getter steps
- are:
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. + 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:
Let retargetAgainst be this's Let retargetAgainst be event's currentTarget
.
If retargetAgainst is null, then set retargetAgainst to - this's target.
If retargetAgainst is null, then return null.
Return the result of retargeting source
against retargetAgainst.
Return the result of retargeting node + against retargetAgainst.
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.
-Node
node:
Let retargetAgainst be event's currentTarget
.
If retargetAgainst is null, then set retargetAgainst to - event's target.
If retargetAgainst is null, then return null.
If event's target is null, then + return null.
Return the result of retargeting node against retargetAgainst.
Return the result of retargeting node - against retargetAgainst.