Skip to content

Commit

Permalink
[css-overflow-5] Define that :disabled can match ::scroll-button(). #…
Browse files Browse the repository at this point in the history
  • Loading branch information
tabatkins committed Dec 2, 2024
1 parent 9a8ec95 commit bd38052
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion css-overflow-5/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -447,8 +447,19 @@ but maybe also <css>horizontal</css>/<css>vertical</css>/<css>block</css>/<css>i
The ''::scroll-button()''s are [=fully stylable pseudo-elements=]: there is no restriction on what properties apply to them.
The '':disabled'' pseudo-class can apply to ''::scroll-button()''.
It matches a given button
when their [=originating element=]
can't be scrolled in their associated direction.
Issue: The UA stylesheet needs to specify that ''::scroll-button()''s
are styled identically to the <{button}> element.
are styled identically to the <{button}> element,
including disabled styles.
Issue: Should ''::scroll-button()'' use the *full* UA styling of buttons,
aka ''appearance:button''?
Or the non-native rendering, aka ''appearance:none''?
If the former, we'll obviously need to define the interaction with 'appearance'.
<h3 id=focus-order>
Expand Down

0 comments on commit bd38052

Please sign in to comment.