Skip to content

Commit 99ec123

Browse files
author
Anders Hartvoll Ruud
committed
Make <container-name> required in the container shorthand
Fixes Issue 7142.
1 parent 9936abd commit 99ec123

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-contain-3/Overview.bs

+3-3
Original file line numberDiff line numberDiff line change
@@ -528,13 +528,11 @@ Creating Named Containers: the 'container' shorthand</h3>
528528

529529
<pre class='propdef shorthand'>
530530
Name: container
531-
Value: <<'container-name'>>? [ / <<'container-type'>> ]?
531+
Value: <<'container-name'>> [ / <<'container-type'>> ]?
532532
</pre>
533533

534534
The 'container' [=shorthand property=] sets
535535
both 'container-type' and 'container-name' in the same declaration.
536-
If <<'container-name'>> is omitted,
537-
it is reset to its [=initial value=].
538536
If <<'container-type'>> is omitted,
539537
it is reset to its [=initial value=].
540538

@@ -1030,6 +1028,8 @@ Changes since the 21 December 2021 First Public Working Draft</h3>
10301028

10311029
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:
10321030

1031+
* Make the <<'container-name'>> in the 'container' shorthand required.
1032+
(<a href="https://github.com/w3c/csswg-drafts/issues/7142">Issue 7142</a>)
10331033
* Clarify handling of [=shorthand properties=] in [=container style queries=].
10341034
(<a href="https://github.com/w3c/csswg-drafts/issues/7095">Issue 7095</a>)
10351035
* [=Cascade-dependent keywords=] are not allowed as values in a

0 commit comments

Comments
 (0)