Skip to content

[carousel] Fix hover and active states for ::scroll-marker-group#58490

Draft
chromium-wpt-export-bot wants to merge 1 commit intomasterfrom
chromium-export-cl-7656807
Draft

[carousel] Fix hover and active states for ::scroll-marker-group#58490
chromium-wpt-export-bot wants to merge 1 commit intomasterfrom
chromium-export-cl-7656807

Conversation

@chromium-wpt-export-bot
Copy link
Collaborator

When a ::scroll-marker is hovered or active, its associated
::scroll-marker-group should also match the :hover and :active
pseudo-classes respectively. Since the group is not in the normal
flat-tree ancestor chain of the marker, this patch overrides
SetHovered and SetActive on ScrollMarkerPseudoElement to propagate
these states to the ScrollMarkerGroupPseudoElement.

Bug: 485920675
Change-Id: I26a47fe42363f19c7d0d39647fe10d2e7f953ecb
Reviewed-on: https://chromium-review.googlesource.com/7656807
WPT-Export-Revision: f9d5598e43228ffc311a232a7f70b47fd36db501

When a ::scroll-marker is hovered or active, its associated
::scroll-marker-group should also match the :hover and :active
pseudo-classes respectively. Since the group is not in the normal
flat-tree ancestor chain of the marker, this patch overrides
SetHovered and SetActive on ScrollMarkerPseudoElement to propagate
these states to the ScrollMarkerGroupPseudoElement.

Bug: 485920675
Change-Id: I26a47fe42363f19c7d0d39647fe10d2e7f953ecb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants