Skip to content

Commit 5560384

Browse files
committed
[css-contain-3] Change the initial value of container-type to be style #6393
1 parent da6ea99 commit 5560384

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

css-contain-3/Overview.bs

+11-5
Original file line numberDiff line numberDiff line change
@@ -385,11 +385,11 @@ Creating Query Containers: the 'container-type' property</h3>
385385

386386
<pre class='propdef'>
387387
Name: container-type
388-
Value: none | style || [ size | inline-size | block-size ]
389-
Initial: none
388+
Value: none | style || [ size | inline-size ]
389+
Initial: style
390390
Inherited: no
391391
Applies to: all elements
392-
Computed value: the keyword ''container-type/none'' or one or more of ''container-type/size'', ''container-type/inline-size'', ''container-type/block-size'', ''container-type/style''
392+
Computed value: the keyword ''container-type/none'' or one or more of ''container-type/size'', ''container-type/inline-size'', ''container-type/style''
393393
Animation type: not animatable
394394
</pre>
395395

@@ -421,6 +421,9 @@ Creating Query Containers: the 'container-type' property</h3>
421421
<dt><dfn>style</dfn>
422422
<dd>
423423
Establishes a [=query container=] for [=container style queries=].
424+
<dt><dfn>none</dfn>
425+
<dd>
426+
The element is not a [=query container=] for any [=container query=].
424427
</dl>
425428

426429
<div class=example>
@@ -1012,8 +1015,11 @@ Changes since the 21 December 2021 First Public Working Draft</h3>
10121015

10131016
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:
10141017

1015-
* Clarify the syntax of syntax of the ''@container'' rule
1016-
to appropriately handle parenthesis.
1018+
* Change the initial value of 'container-type' to be ''style''.
1019+
(<a href="https://github.com/w3c/csswg-drafts/issues/6393">Issue 6393</a>)
1020+
* Remove the block-size value from 'container-type',
1021+
since single-axis block-size containment is not currently possible.
1022+
(<a href="https://github.com/w3c/csswg-drafts/issues/1031">Issue 1031</a>)
10171023
* Remove the <<string>> option from the 'container-name' syntax.
10181024
Container names must be <<custom-ident>>s.
10191025
(<a href="https://github.com/w3c/csswg-drafts/issues/6405">Issue 6405</a>)

0 commit comments

Comments
 (0)