Re: [csswg-drafts] [css-overflow-5][css-scroll-snap-2] Snapping and generating scroll-marker pseudo-elements from fragments (#10715)

For option 1, there is an added complication that we don't have any way for `@supports` to detect which properties would be currently supported by the `::fragment` selector. E.g. currently you can check for the existence of a property `@supports scroll-snap-align: center)` or a selector `@supports selector(::fragment)` but you wouldn't be able to check whether `::fragment` supports any other properties, like color.

This seems to be a bit of a pre-existing issue with other pseudoclasses having a restricted set of supported properties that we may want to expand upon in the future, but I thought it was worth noting, e.g.
* [::first-line](https://drafts.csswg.org/css-pseudo/#first-line-styling)
* [::marker](https://drafts.csswg.org/css-lists-3/#marker-properties)

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


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

Received on Thursday, 8 August 2024 20:37:55 UTC