Skip to content

Commit d07306b

Browse files
committed
[css-contain-3][editotrial] Update changelog and examples
1 parent 90f52c2 commit d07306b

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

css-contain-3/Overview.bs

+24-2
Original file line numberDiff line numberDiff line change
@@ -948,14 +948,15 @@ Container Relative Lengths: the ''cqw'', ''cqh'', ''cqi'', ''cqb'', ''cqmin'', '
948948
<div class=example>
949949
Authors can ensure that [=container query length=] units
950950
have an appropriate [=query container=]
951-
by applying them inside a [=container query=] with the required <<container-type>>.
951+
by applying them inside a [=container query=]
952+
that relies on the same ''container-type''.
952953
Custom fallback values can be defined outside the [=container query=]:
953954

954955
<pre class=lang-css>
955956
/* The fallback value does not rely on containment */
956957
h2 { font-size: 1.2em; }
957958

958-
@container type(inline-size) {
959+
@container (inline-size >= 0px) {
959960
/* only applies when an inline-size container is available */
960961
h2 { font-size: calc(1.2em + 1cqi); }
961962
}
@@ -987,10 +988,31 @@ Privacy and Security Considerations {#priv-sec}
987988

988989
This appendix is <em>informative</em>.
989990

991+
<h3 id="changes-2021-12">
992+
Changes since the 21 December 2021 First Public Working Draft</h3>
993+
994+
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:
995+
996+
* Allow <<general-enclosed>> syntax in <<container-condition>>s,
997+
for the sake of forward compatability.
998+
(<a href="https://github.com/w3c/csswg-drafts/issues/6396">Issue 6396</a>)
999+
* Remove the size function syntax from <<size-feature>> queries.
1000+
(<a href="https://github.com/w3c/csswg-drafts/issues/6870">Issue 6870</a>)
1001+
* Update the [=query container=] selection process
1002+
to account for necessary container-types,
1003+
and removed the explicit type-selection syntax.
1004+
(<a href="https://github.com/w3c/csswg-drafts/issues/6644">Issue 6644</a>)
1005+
* Remove state query features, which have been deferred.
1006+
(<a href="https://github.com/w3c/csswg-drafts/issues/6402">Issue 6402</a>)
1007+
* Clarify container selection around pseudo-elements and the shadow-DOM.
1008+
(<a href="https://github.com/w3c/csswg-drafts/issues/5984">Issue 5984</a>
1009+
and <a href="https://github.com/w3c/csswg-drafts/issues/6711">Issue 6711</a>)
1010+
9901011
<h3 id="l3-changes">
9911012
Changes from <a href="https://www.w3.org/TR/css-contain-2/">CSS Containment Level 2</a>
9921013
</h3>
9931014

1015+
* Introduces [=inline-size containment=].
9941016
* Defines the terms, properties, units, and at-rule
9951017
needed for [=Container Queries=]
9961018

0 commit comments

Comments
 (0)