Re: [csswg-drafts] [css-overflow-5] Bikeshed pseudoclasses for active scroll-marker (#10918)

After thinking through the options, I propose `:target-current` as the matching pseudo-class on the active scroll-marker.
* This follows precedent of the adjective following the related known used by `:focus-within`, `:focus-visible`, `:popover-open`.
* This relates to `:target` in that the `:target` will initially have its marker be `:target-current`.
* `:target-shown` suggests a relation to visibility, whereas other markers can have visible targets but not be active.

-- 
GitHub Notification of comment by flackr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10918#issuecomment-2445155887 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 29 October 2024 19:31:49 UTC