- From: L. David Baron <notifications@github.com>
- Date: Tue, 24 Mar 2026 08:35:53 -0700
- To: w3c/uievents <uievents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/uievents/pull/413/review/4000147333@github.com>
@dbaron approved this pull request.
This looks good to me, although I think @smaug----'s review is more important here.
> + : Input
+ :: |event|, the event being dispatched ({{UIEvent}})
+ :: |pseudoElement|, the [=pseudo-element=] that was the target of the interaction, or null
+
+ : 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 {{Element/pseudo(type)}} if the |pseudoElement|'s [=originating element=] is an {{Element}},
+ or {{CSSPseudoElement/pseudo(type)}} of {{CSSPseudoElement}} representing |pseudoElement|'s [=originating element=] otherwise.
+ This is necessary, to ensure that |pseudoInstance| is a canonical object representing |pseudoElement|.
```suggestion
This is necessary to ensure that |pseudoInstance| is the canonical object representing |pseudoElement|.
```
No comma here, and `the` rather than `a`. (The use of a comma in this case makes the writing sound to me like English written by a native German speaker. It may apply to other languages too. :-) )
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/pull/413#pullrequestreview-4000147333
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/uievents/pull/413/review/4000147333@github.com>
Received on Tuesday, 24 March 2026 15:35:57 UTC