Skip to content

Commit b143c8b

Browse files
committed
[css-overflow-5] Define ::scroll-button(*) to select all at once. #10722
1 parent d85f039 commit b143c8b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

css-overflow-5/Overview.bs

+4-2
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ Selecting The Active Scroll Marker: the '':target-current'' pseudo-class</h4>
416416
<h3 id="scroll-buttons">
417417
Scroll Buttons</h3>
418418

419-
The <dfn>::scroll-button( <<scroll-button-direction>> )</dfn> pseudo-elements
419+
The <dfn>::scroll-button( '*' | <<scroll-button-direction>> )</dfn> pseudo-elements
420420
are generated on [=scroll containers=]
421421
when their computed 'content' value is not ''content/none''.
422422
They generate boxes as if they were immediately preceding <em>siblings</em>
@@ -451,7 +451,9 @@ or the verticals "around" the horizontals
451451

452452
The four ''::scroll-button()'' pseudo-elements are individually selected
453453
by the selector's argument.
454-
The possible <dfn><<scroll-button-direction>></dfn> values are:
454+
A '*' arguments selects all four ''::scroll-button()''s;
455+
otherwise the selected pseudo-element is determined
456+
by the <dfn><<scroll-button-direction>></dfn> value:
455457

456458
<dl dfn-type=value dfn-for="<scroll-button-direction>, ::scroll-button()">
457459
: <dfn>up</dfn>

0 commit comments

Comments
 (0)