Re: [w3c/uievents] Add .pseudoTarget property to selected event types (PR #413)

@smaug---- commented on this pull request.



> @@ -101,6 +137,13 @@
 
     1. Set |event|.{{UIEvent/view}} = the |eventTarget|'s <a>node document</a>'s {{Window}} object
     1. Set |event|.{{UIEvent/detail}} = 0
+    1. Set |event|'s [=UIEvent/pseudoTarget=] internal slot = <code>null</code>
+    1. Set |event|'s [=UIEvent/pseudoTargetOrigin=] internal slot = <code>null</code>
+
+   1. If |eventInitDict|'s {{UIEventInit/pseudoTarget}} is not <code>null</code>:
+
+    1. Set |event|'s [=UIEvent/pseudoTarget=] internal slot = |eventInitDict|'s {{UIEventInit/pseudoTarget}}
+    1. Set |event|'s [=UIEvent/pseudoTargetOrigin=] internal slot = |eventInitDict|'s {{UIEventInit/pseudoTarget}}'s {{CSSPseudoElement/element}}

UI Events spec is messy, so perhaps this is fine for now.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/pull/413#pullrequestreview-4806552582
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/uievents/pull/413/review/4806552582@github.com>

Received on Wednesday, 29 July 2026 09:47:59 UTC