Skip to content

Commit

Permalink
[css-contain-3] Clarify style queries of shorthand values #7095
Browse files Browse the repository at this point in the history
  • Loading branch information
mirisuzanne committed Mar 31, 2022
1 parent bb594b7 commit 2e215a0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions css-contain-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,10 @@ Style Container Features</h3>
is the same as for [=CSS feature queries=].
(See ''@supports''. [[!CSS-CONDITIONAL-3]])

[=Style features=] that query a [=shorthand property=] are true if the
[=computed values=] match for each expanded [=longhand property=],
and false otherwise.

[=Cascade-dependent keywords=], such as ''revert'' and ''revert-layer'',
are not allowed as values in a [=style feature=], and cause the
[=container style query=] to be false.
Expand Down Expand Up @@ -1022,6 +1026,8 @@ Changes since the 21 December 2021 First Public Working Draft</h3>

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:

* Clarify handling of [=shorthand properties=] in [=container style queries=].
(<a href="https://github.com/w3c/csswg-drafts/issues/7095">Issue 7095</a>)
* [=Cascade-dependent keywords=] are not allowed as values in a
[=style feature=], and cause the [=container style query=] to be false.
(<a href="https://github.com/w3c/csswg-drafts/issues/7080">Issue 7080</a>)
Expand Down

0 comments on commit 2e215a0

Please sign in to comment.