- From: smaug---- <notifications@github.com>
- Date: Wed, 25 Feb 2026 05:19:16 -0800
- To: w3c/uievents <uievents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 25 February 2026 13:19:20 UTC
@smaug---- commented on this pull request.
> @@ -49,6 +50,26 @@
The <a>un-initialized value</a> of this attribute MUST be
<code>0</code>.
</dd>
+
+ <dt><code>UIEvent . pseudoTarget</code></dt>
+ <dd>
+ The [=pseudo-element=] that was the target of the interaction,
+ if any. When the event target is an element rather than a
+ [=pseudo-element=], this attribute is <code>null</code>.
+
+ To get this attribute, run these steps:
+
+ 1. If {{UIEvent/pseudoTarget}} internal slot is <code>null</code>, then return <code>null</code>.
+ 1. Let |currentTarget| be {{Event/currentTarget}}.
+ 1. If |currentTarget| is <code>null</code>, then return <code>null</code>.
+ 1. Let |origin| be {{Event/target}} (which would be {{UIEvent/pseudoTarget}}'s [=ultimate originating element=]).
yeah, I think that would work.
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/pull/413#discussion_r2853010023
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/uievents/pull/413/review/3854227575@github.com>
Received on Wednesday, 25 February 2026 13:19:20 UTC