[css-pseudo] Describe .pseudoTarget property for CSSPseudoElement #12163#13351
Open
danielsakhapov wants to merge 1 commit intow3c:mainfrom
Open
[css-pseudo] Describe .pseudoTarget property for CSSPseudoElement #12163#13351danielsakhapov wants to merge 1 commit intow3c:mainfrom
.pseudoTarget property for CSSPseudoElement #12163#13351danielsakhapov wants to merge 1 commit intow3c:mainfrom
Conversation
As resolved in w3c#12163, add `.pseudoTarget` property to selected event types and describe, based on the DOM spec for `.target`, the initialization process for it.
annevk
reviewed
Jan 27, 2026
Member
annevk
left a comment
There was a problem hiding this comment.
It seems to me that the majority of this text belongs in the specifications dispatching events of these particular types, no? They will do some (unfortunately) implementation-defined hit testing algorithm and based on that initialize this and other fields.
One bit that might have to be patched directly in the DOM specification is resetting of this field after dispatch. (Or we add some kind of callback for that.) We probably would not want to reveal the existence of shadow trees as a side effect.
Contributor
Author
|
Thanks, I'll follow up with new PRs to other specs then! |
Contributor
Author
|
w3c/uievents#413 for uievents |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As resolved in #12163, add
.pseudoTargetproperty to selected event types and describe, based on the DOM spec for.target, the initialization process for it.