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

flackr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-overflow-5] Bikeshed pseudoclasses for active scroll-marker ==
Currently the [css-overflow-5 draft spec](https://drafts.csswg.org/css-overflow-5/#scroll-target) allows using `:checked` to style the active scroll marker.

See https://github.com/flackr/carousel/issues/28 for previous discussion on this.

Options:
1. Continue using `:checked`. The [HTML](https://html.spec.whatwg.org/multipage/semantics-other.html#selector-checked) and [css-selectors](https://drafts.csswg.org/selectors/#checked) spec say that checked represents a selected-ness. Scroll markers can be selected by the user explicitly or implicitly by scrolling, and cannot be independently checked as they cannot be radio buttons, checkboxes or select options so the use cases when checkedness applies shouldn't overlap.
2.  Use `:current` as suggested in https://github.com/flackr/carousel/issues/28#issue-2406219421. As @tabatkins points out, this already has a meaning independent of markers which means both sets of meanings could apply making this potentially confusing.
3. Use `:active`. This has the right sound to it, but `:active` already has a meaning which should separately apply to a scroll-marker when it is being interacted with.
4. Something else?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10918 using your GitHub account


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

Received on Wednesday, 18 September 2024 19:53:10 UTC