Skip to content

Commit

Permalink
[css-overflow-5] Define ::scroll-button(*) to select all at once. #10722
Browse files Browse the repository at this point in the history
  • Loading branch information
tabatkins committed Jan 21, 2025
1 parent d85f039 commit b143c8b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions css-overflow-5/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ Selecting The Active Scroll Marker: the '':target-current'' pseudo-class</h4>
<h3 id="scroll-buttons">
Scroll Buttons</h3>

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

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

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

0 comments on commit b143c8b

Please sign in to comment.