Skip to content

Commit

Permalink
[css-contain-3] Change the initial value of container-type to be style
Browse files Browse the repository at this point in the history
  • Loading branch information
mirisuzanne committed Mar 30, 2022
1 parent da6ea99 commit 5560384
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions css-contain-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -385,11 +385,11 @@ Creating Query Containers: the 'container-type' property</h3>

<pre class='propdef'>
Name: container-type
Value: none | style || [ size | inline-size | block-size ]
Initial: none
Value: none | style || [ size | inline-size ]
Initial: style
Inherited: no
Applies to: all elements
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''
Computed value: the keyword ''container-type/none'' or one or more of ''container-type/size'', ''container-type/inline-size'', ''container-type/style''
Animation type: not animatable
</pre>

Expand Down Expand Up @@ -421,6 +421,9 @@ Creating Query Containers: the 'container-type' property</h3>
<dt><dfn>style</dfn>
<dd>
Establishes a [=query container=] for [=container style queries=].
<dt><dfn>none</dfn>
<dd>
The element is not a [=query container=] for any [=container query=].
</dl>

<div class=example>
Expand Down Expand Up @@ -1012,8 +1015,11 @@ 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 the syntax of syntax of the ''@container'' rule
to appropriately handle parenthesis.
* Change the initial value of 'container-type' to be ''style''.
(<a href="https://github.com/w3c/csswg-drafts/issues/6393">Issue 6393</a>)
* Remove the block-size value from 'container-type',
since single-axis block-size containment is not currently possible.
(<a href="https://github.com/w3c/csswg-drafts/issues/1031">Issue 1031</a>)
* Remove the <<string>> option from the 'container-name' syntax.
Container names must be <<custom-ident>>s.
(<a href="https://github.com/w3c/csswg-drafts/issues/6405">Issue 6405</a>)
Expand Down

0 comments on commit 5560384

Please sign in to comment.