[css-conditional-5] Clarify a little bit that we can skip containers. · w3c/csswg-drafts@416c971
tabatkins
·
2026-07-01
·
via Recent Commits to csswg-drafts:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -632,6 +632,10 @@ Creating Query Containers: the 'container-type' property</h3>
|
632 | 632 | (such as ''@container/scrollable''), |
633 | 633 | the element is only a [=query container=] |
634 | 634 | on the element's own [=scrollable axises=]. |
| 635 | + |
| 636 | + Note: This means that a ''scrollable'' query, for example, |
| 637 | + could query against different containers |
| 638 | + for ''scroll-state(scrollable: block)'' and ''scroll-state(scrollable: inline)'' queries. |
635 | 639 | <dt><dfn>normal</dfn> |
636 | 640 | <dd> |
637 | 641 | The element is not a [=query container=] |
@@ -1555,7 +1559,7 @@ Scroll State Container Features</h3>
|
1555 | 1559 | a feature name, a comparator, and a value. |
1556 | 1560 | |
1557 | 1561 | [=Scroll-state features=] can either match state of the scroller itself |
1558 | | - (such as the ''scollable'' feature), |
| 1562 | + (such as the ''scrollable'' feature), |
1559 | 1563 | or an element that is affected by the scroll position |
1560 | 1564 | of an ancestor [=scroll container's=] [=scrollport=] |
1561 | 1565 | (such as the ''snapped'' feature). |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。