Skip to content

Commit

Permalink
[css-conditional-5] Add 'both' value for snapped query #11181 (#11294)
Browse files Browse the repository at this point in the history
Co-authored-by: Rune Lillesveen <[email protected]>
  • Loading branch information
lilles and Rune Lillesveen authored Nov 29, 2024
1 parent 5ba2d12 commit 9a8ec95
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion css-conditional-5/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1451,7 +1451,7 @@ Scroll snapping: the '@container/snapped' feature</h4>
<pre class="descdef mq">
Name: snapped
For: @container
Value: none | x | y | block | inline
Value: none | x | y | block | inline | both
Type: discrete
</pre>

Expand Down Expand Up @@ -1481,6 +1481,11 @@ Scroll snapping: the '@container/snapped' feature</h4>
'@container/snapped' [=container feature=] matches ''inline''
if the [=query container=] is a [=snap target=] for its [=scroll container=]
in the inline direction of the [=snap container=].
<dt><dfn>both</dfn>
<dd>
'@container/snapped' [=container feature=] matches ''both''
if the [=query container=] is a [=snap target=] for its [=scroll container=]
in both directions of the [=snap container=].
</dl>

<h4 id="scrollable">
Expand Down

0 comments on commit 9a8ec95

Please sign in to comment.