Skip to content

Commit 983b11c

Browse files
authored
[css-overflow-5] Default style of ::scroll-marker and ::scroll-button(*) is like link and button respectively (#12030)
Per the resolution in #10935, the default style of ::scroll-marker pseudo-elements is like links, and ::scroll-button(*) pseudo-elements is like buttons including switching based on the appearance property.
1 parent b8140a0 commit 983b11c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

css-overflow-5/Overview.bs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,8 @@ The 'scroll-marker-group' property</h4>
292292
on its nearest ancestor [=scroll container=].
293293
These boxes are added in the [=tree order=] of their <a>originating element</a>.
294294

295+
These pseudo-elements are [=fully styleable pseudo-elements=] and have a default style like the [[html#the-a-element|HTML &lt;a> element]].
296+
295297
These pseudo-elements have an indicated [=scroll target=] of their <a>originating element</a>.
296298
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",
297299
making them focusable within their '::scroll-marker-group' either by arrow key navigation within the group,
@@ -502,6 +504,7 @@ In particular, <css>all</css> is probably useful,
502504
but maybe also <css>horizontal</css>/<css>vertical</css>/<css>block</css>/<css>inline</css>.
503505

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

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

0 commit comments

Comments
 (0)