Skip to content

[css-pseudo] Describe .pseudoTarget property for CSSPseudoElement #12163#13351

Open
danielsakhapov wants to merge 1 commit intow3c:mainfrom
danielsakhapov:spec_edit_to_12163
Open

[css-pseudo] Describe .pseudoTarget property for CSSPseudoElement #12163#13351
danielsakhapov wants to merge 1 commit intow3c:mainfrom
danielsakhapov:spec_edit_to_12163

Conversation

@danielsakhapov
Copy link
Contributor

As resolved in #12163, add .pseudoTarget property to selected event types and describe, based on the DOM spec for .target, the initialization process for it.

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.
Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@danielsakhapov
Copy link
Contributor Author

Thanks, I'll follow up with new PRs to other specs then!

@danielsakhapov
Copy link
Contributor Author

w3c/uievents#413 for uievents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants