Skip to content

Commit bb594b7

Browse files
committed
[css-contain-3] No Cascade-dependent keywords in style queries
1 parent fc8a376 commit bb594b7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

css-contain-3/Overview.bs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,13 @@ Style Container Features</h3>
882882
is the same as for [=CSS feature queries=].
883883
(See ''@supports''. [[!CSS-CONDITIONAL-3]])
884884

885+
[=Cascade-dependent keywords=], such as ''revert'' and ''revert-layer'',
886+
are not allowed as values in a [=style feature=], and cause the
887+
[=container style query=] to be false.
888+
889+
Note: The remaining non-cascade-dependent [=CSS-wide keywords=]
890+
are [=computed value|computed=] with respect to the [=query container=],
891+
the same as other values.
885892

886893
<h2 id="container-lengths">
887894
Container Relative Lengths: the ''cqw'', ''cqh'', ''cqi'', ''cqb'', ''cqmin'', ''cqmax'' units</h2>
@@ -1015,6 +1022,9 @@ Changes since the 21 December 2021 First Public Working Draft</h3>
10151022

10161023
Significant changes since the <a href="https://www.w3.org/TR/2021/WD-css-contain-3-20211221/">21 December 2021 First Public Working Draft</a> include:
10171024

1025+
* [=Cascade-dependent keywords=] are not allowed as values in a
1026+
[=style feature=], and cause the [=container style query=] to be false.
1027+
(<a href="https://github.com/w3c/csswg-drafts/issues/7080">Issue 7080</a>)
10181028
* Change the initial value of 'container-type' to be ''style''.
10191029
(<a href="https://github.com/w3c/csswg-drafts/issues/6393">Issue 6393</a>)
10201030
* Remove the block-size value from 'container-type',

0 commit comments

Comments
 (0)