Skip to content

[css-overflow-5] Default style of ::scroll-marker and ::scroll-button #12030

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 29, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions css-overflow-5/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ The 'scroll-marker-group' property</h4>
on its nearest ancestor [=scroll container=].
These boxes are added in the [=tree order=] of their <a>originating element</a>.

These pseudo-elements are [=fully styleable pseudo-elements=] and have a default style like the [[html#the-a-element|HTML &lt;a> element]].

These pseudo-elements have an indicated [=scroll target=] of their <a>originating element</a>.
They behave as an element with a <a href="https://html.spec.whatwg.org/multipage/interaction.html#attr-tabindex"><code>tabindex</code></a> of "-1",
making them focusable within their '::scroll-marker-group' either by arrow key navigation within the group,
Expand Down Expand Up @@ -502,6 +504,7 @@ In particular, <css>all</css> is probably useful,
but maybe also <css>horizontal</css>/<css>vertical</css>/<css>block</css>/<css>inline</css>.

The ''::scroll-button()''s are [=fully styleable pseudo-elements=]: there is no restriction on what properties apply to them.
They are styled like buttons, switching between the <a>native appearance</a> and <a>base appearance</a> based on the 'appearance' property value.

The '':disabled'' pseudo-class can apply to ''::scroll-button()''.
It matches a given button
Expand Down