Skip to content

Chrome 149 user action pseudo-class top-layer boundary#29960

Open
chrisdavidmills wants to merge 4 commits into
mdn:mainfrom
chrisdavidmills:user-action-pseudo-class-top-layer-boundary
Open

Chrome 149 user action pseudo-class top-layer boundary#29960
chrisdavidmills wants to merge 4 commits into
mdn:mainfrom
chrisdavidmills:user-action-pseudo-class-top-layer-boundary

Conversation

@chrisdavidmills

Copy link
Copy Markdown
Contributor

Summary

Chrome 149 adds User Action pseudo-class top-layer matching boundary behavior: see https://chromestatus.com/feature/6296574159355904.

This PR adds a sub-data point to the :hover, :active, and :focus-within data to cover this.

Test results and supporting details

Related issues

@github-actions github-actions Bot added data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:m [PR only] 25-100 LoC changed labels Jul 1, 2026
@chrisdavidmills chrisdavidmills requested a review from caugner July 1, 2026 15:25
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

@mfreed7 mfreed7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Comment thread css/selectors/active.json Outdated
Comment thread css/selectors/active.json
Comment thread css/selectors/active.json
},
"top-layer_ancestor_matching_boundary": {
"__compat": {
"description": "Observes [top-layer ancestor matching boundary](https://developer.mozilla.org/docs/Web/CSS/Reference/Selectors/Pseudo-classes#top-layer_ancestor_matching_boundary) behavior",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

https://developer.mozilla.org/docs/Web/CSS/Reference/Selectors/Pseudo-classes#top-layer_ancestor_matching_boundary does not seem to exist yet.

Also: I wonder if the description could describe the behavior, rather than just naming it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The content is on its way; see mdn/content#44615.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I can see why you'd want the description to be a bit more, well, descriptive, but it is tricky in this case, as the behavior change is quite subtle and difficult to describe without a demonstration; hence, linking to the section that describes and demonstrates it in detail.

chrisdavidmills and others added 3 commits July 3, 2026 13:57
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
@chrisdavidmills chrisdavidmills requested a review from caugner July 3, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:m [PR only] 25-100 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants