[csswg-drafts] [css-pseudo] Add `::scroll-marker` and `::scroll-button` to the `CSSPseudoElement`'s allowed pseudo-elements list (#13346)

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

== [css-pseudo] Add `::scroll-marker` and `::scroll-button` to the `CSSPseudoElement`'s allowed pseudo-elements list ==
[CSSPseudoElement](https://drafts.csswg.org/css-pseudo/#CSSPseudoElement-interface) is currently only defined for `::after`, `::before` and `::marker`, but while resolving https://github.com/w3c/csswg-drafts/issues/12161 and https://github.com/w3c/csswg-drafts/issues/12163 almost all of my examples and the discussion overall was centered around [`::scroll-marker`](https://www.w3.org/TR/css-overflow-5/#scroll-marker-pseudo) and [`::scroll-button`](https://www.w3.org/TR/css-overflow-5/#scroll-buttons) pseudo-elements.

This issue is to formally add them to the list of allowed pseudo-elements represented by the `CSSPseudoElement` interface, since, during that discussions there was no objection against these specific pseudo-elements and they behave like all those tree-abiding ones, while just adding more functionality to `CSSPseudoElement` interface that has been resolved in the mentioned issues.

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


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

Received on Wednesday, 14 January 2026 11:49:45 UTC