Skip to content

Commit 9a8ec95

Browse files
authored
[css-conditional-5] Add 'both' value for snapped query #11181 (#11294)
Co-authored-by: Rune Lillesveen <futhark@google.com>
1 parent 5ba2d12 commit 9a8ec95

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

css-conditional-5/Overview.bs

+6-1
Original file line numberDiff line numberDiff line change
@@ -1451,7 +1451,7 @@ Scroll snapping: the '@container/snapped' feature</h4>
14511451
<pre class="descdef mq">
14521452
Name: snapped
14531453
For: @container
1454-
Value: none | x | y | block | inline
1454+
Value: none | x | y | block | inline | both
14551455
Type: discrete
14561456
</pre>
14571457

@@ -1481,6 +1481,11 @@ Scroll snapping: the '@container/snapped' feature</h4>
14811481
'@container/snapped' [=container feature=] matches ''inline''
14821482
if the [=query container=] is a [=snap target=] for its [=scroll container=]
14831483
in the inline direction of the [=snap container=].
1484+
<dt><dfn>both</dfn>
1485+
<dd>
1486+
'@container/snapped' [=container feature=] matches ''both''
1487+
if the [=query container=] is a [=snap target=] for its [=scroll container=]
1488+
in both directions of the [=snap container=].
14841489
</dl>
14851490

14861491
<h4 id="scrollable">

0 commit comments

Comments
 (0)