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

@danielsakhapov commented on this pull request.



> +   : Output
+   :: None
+
+   1. If |pseudoElement| is null, then exit
+
+   1. Let |pseudoInstance| be the {{CSSPseudoElement}} representing the |pseudoElement|
+
+    <p class="note">
+    This {{CSSPseudoElement}} must be the same object instance that would be returned
+    by calling <code>.pseudo(type)</code> on the |pseudoElement|'s originating element
+    (which can be either {{Element}} or {{CSSPseudoElement}}) to ensure that |pseudoInstance|
+    is a canonical object representing |pseudoElement|.
+    </p>
+
+   1. Set |event|'s <code>pseudoTarget</code> attribute to |pseudoInstance|
+

There is https://wpt.fyi/results/css/css-pseudo/events-on-pseudo-element.tentative.html, but I'll definetly going to add more tests, once I merge this spec edit.

Do you ask this to add those tests to the spec here?

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

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

Received on Monday, 9 February 2026 10:27:46 UTC