Skip to content

Commit b4f77f5

Browse files
andruudAnders Hartvoll Ruud
andauthored
[css-contain-3] Fix link errors (#7300)
- Make 'fictional tag sequence' link to something. - Use 'identifier' from css-values, not css-syntax. - Remove references to <<size-query>>, as that no longer exists, and: - Also remove references to <<style-query>>, to be consistent. - '@container/orientation' instead of 'orientation'. - Link to <<'container-type'>> instead of the now non-existent <<container-type>. Co-authored-by: Anders Hartvoll Ruud <andruud@google.com>
1 parent b507ff6 commit b4f77f5

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

css-contain-3/Overview.bs

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ spec:css-break-3; type:dfn; text:fragmentation context
2828
spec:css-break-3; type:dfn; text:fragmented flow
2929
spec:css-contain-2; type:dfn; text:layout containment box
3030
spec:css-contain-2; type:dfn; text:size containment box
31+
spec:css-pseudo-4; type:dfn; text:fictional tag sequence
3132
spec:css-sizing-4; type:property; text:contain-intrinsic-size
3233
spec:css-sizing-4; type:property; text:aspect-ratio
3334
spec:intersection-observer; type:dfn; text:intersection root
@@ -38,7 +39,6 @@ spec:css-sizing-3; type:dfn; text:width
3839
spec:css-sizing-3; type:property; text:height
3940
spec:css-sizing-3; type:dfn; text:height
4041
spec:css-sizing-3; type:dfn; text:size
41-
spec:css-syntax-3; type:dfn; text:identifier
4242
spec:css-values-4; type:dfn; text:relative length
4343
spec:web-animations-1; type:dfn; text:effect values
4444
</pre>
@@ -713,7 +713,6 @@ Container Features</h2>
713713
Size Container Features</h3>
714714

715715
A <dfn export>container size query</dfn>
716-
(syntactically represented as <<size-query>>)
717716
allows querying
718717
the size of the [=query container=]’s [=principal box=].
719718
It is a boolean combination of
@@ -722,7 +721,7 @@ Size Container Features</h3>
722721
The syntax of a <dfn><<size-feature>></dfn> is the same as for a [=media feature=]:
723722
a feature name, a comparator, and a value.
724723
[[mediaqueries-5]]
725-
The boolean syntax and logic combining [=size features=] into a <<size-query>>
724+
The boolean syntax and logic combining [=size features=] into a [=container size query|size query=]
726725
is the same as for [=CSS feature queries=].
727726
(See ''@supports''. [[!CSS-CONDITIONAL-3]])
728727

@@ -851,20 +850,19 @@ Orientation: the '@container/orientation' feature</h4>
851850
<dl dfn-type=value dfn-for="@container/orientation">
852851
<dt><dfn>portrait</dfn>
853852
<dd>
854-
The 'orientation' [=container feature=] is ''portrait''
853+
The '@container/orientation' [=container feature=] is ''portrait''
855854
when the value of the '@container/height' [=container feature=]
856855
is greater than or equal to
857856
the value of the '@container/width' [=container feature=].
858857
<dt><dfn>landscape</dfn>
859-
<dd>Otherwise 'orientation' is ''landscape''.
858+
<dd>Otherwise '@container/orientation' is ''landscape''.
860859
</dl>
861860

862861

863862
<h3 id="style-container">
864863
Style Container Features</h3>
865864

866865
A <dfn export>container style query</dfn>
867-
(syntactically represented by <<style-query>>)
868866
allows querying
869867
the [=computed values=] of the [=query container=].
870868
It is a boolean combination of
@@ -878,7 +876,7 @@ Style Container Features</h3>
878876
(which is also [=computed value|computed=] with respect to the [=query container=]),
879877
unknown if the property or its value is invalid or unsupported,
880878
and false otherwise.
881-
The boolean syntax and logic combining [=style features=] into a <<style-query>>
879+
The boolean syntax and logic combining [=style features=] into a [=container style query|style query=]
882880
is the same as for [=CSS feature queries=].
883881
(See ''@supports''. [[!CSS-CONDITIONAL-3]])
884882

@@ -1049,7 +1047,7 @@ Changes since the 21 December 2021 First Public Working Draft</h3>
10491047
* Remove the <<string>> option from the 'container-name' syntax.
10501048
Container names must be <<custom-ident>>s.
10511049
(<a href="https://github.com/w3c/csswg-drafts/issues/6405">Issue 6405</a>)
1052-
* Reverse the order of <<container-name>> and <<container-type>>
1050+
* Reverse the order of <<'container-name'>> and <<'container-type'>>
10531051
in the 'container' shorthand property, with both being optional.
10541052
(<a href="https://github.com/w3c/csswg-drafts/issues/6393">Issue 6393</a>)
10551053
* Allow <<general-enclosed>> syntax in <<container-condition>>s,

0 commit comments

Comments
 (0)