Skip to content

Commit bd38052

Browse files
committed
[css-overflow-5] Define that :disabled can match ::scroll-button(). w3c#11216
1 parent 9a8ec95 commit bd38052

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

css-overflow-5/Overview.bs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,8 +447,19 @@ but maybe also <css>horizontal</css>/<css>vertical</css>/<css>block</css>/<css>i
447447
448448
The ''::scroll-button()''s are [=fully stylable pseudo-elements=]: there is no restriction on what properties apply to them.
449449
450+
The '':disabled'' pseudo-class can apply to ''::scroll-button()''.
451+
It matches a given button
452+
when their [=originating element=]
453+
can't be scrolled in their associated direction.
454+
450455
Issue: The UA stylesheet needs to specify that ''::scroll-button()''s
451-
are styled identically to the <{button}> element.
456+
are styled identically to the <{button}> element,
457+
including disabled styles.
458+
459+
Issue: Should ''::scroll-button()'' use the *full* UA styling of buttons,
460+
aka ''appearance:button''?
461+
Or the non-native rendering, aka ''appearance:none''?
462+
If the former, we'll obviously need to define the interaction with 'appearance'.
452463
453464
454465
<h3 id=focus-order>

0 commit comments

Comments
 (0)