Skip to content

Commit a830e4e

Browse files
committed
[css-sizing-4][editorial] Fixed Bikeshed issues
1 parent 129552a commit a830e4e

1 file changed

Lines changed: 15 additions & 12 deletions

File tree

css-sizing-4/Overview.bs

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,19 @@ Test Suite: https://wpt.fyi/results/css/css-sizing
1818
</pre>
1919

2020
<pre class='link-defaults'>
21+
spec:css-align-3;
22+
type:property; text:column-gap
23+
type:value; text:stretch
24+
spec:css-borders-4; type:property; text:border
2125
spec:css-display-3; type:dfn; text:box
22-
spec:css-align-3; type:property; text:column-gap
23-
spec:css2; type: property
24-
text: min-width
25-
text: min-height
26-
text: max-width
27-
text: max-height
28-
spec:css-align-3; type:value; text:stretch
2926
spec:css-logical-1; type:property; text:block-size
3027
spec:css-values-5; type:function; text:calc-size()
28+
spec:css2; type:property
29+
text:min-width
30+
text:min-height
31+
text:max-width
32+
text:max-height
33+
spec:html; type:element; text:meta
3134
</pre>
3235

3336

@@ -339,7 +342,7 @@ Effects of Preferred Aspect Ratio on Automatic Sizes</h3>
339342
<h4 id="aspect-ratio-margin-collapse">
340343
Margin-collapsing</h4>
341344

342-
For the purpose of margin collapsing ([[css2#collapsing-margins]]),
345+
For the purpose of margin collapsing ([[css2/box#collapsing-margins]]),
343346
if the [=block axis=] is the [=ratio-dependent axis=],
344347
it is not considered to have a [=computed value|computed=] 'block-size' of ''height/auto''.
345348

@@ -494,7 +497,7 @@ Min/Max Size Transfers</h3>
494497

495498
In this next example,
496499
the percentage height of the item cannot be resolved and [=behaves as auto=]
497-
(see [[CSS2#the-height-property]]).
500+
(see [[css2/visudet#the-height-property]]).
498501
Since both axes now have an [=automatic size=],
499502
the height becomes the [=ratio-dependent axis=].
500503
Calculating the [=intrinsic size contributions=] of the box
@@ -588,7 +591,7 @@ Overriding Contained Intrinsic Sizes: the 'contain-intrinsic-*' properties</h3>
588591
Note: Whether a [=replaced element=]
589592
has an [=internal layout intrinsic size=]
590593
is defined by the [=host language=].
591-
In HTML, only <<iframe>>s do so.
594+
In HTML, only <{iframe}>s do so.
592595

593596
Issue: Should this apply even when ''contain:layout'' isn't specified?
594597

@@ -997,7 +1000,7 @@ Stretch-fit Sizing: filling the containing block</h3>
9971000
but the bottom margins do not collapse,
9981001
because the bottom margin of a box is not adjoining
9991002
to the bottom margin of a parent with a non-''height/auto'' height,
1000-
see [[CSS2#collapsing-margins]].
1003+
see [[css2/box#collapsing-margins]].
10011004
Luckily, an overflowing bottom margin doesn't have any visible effect.)
10021005
</div>
10031006

@@ -1153,7 +1156,7 @@ Recent Changes</h3>
11531156
* Define that 'aspect-ratio' inhibits margin self-collapsing
11541157
(<a href="https://github.com/w3c/csswg-drafts/issues/5328">Issue 5328</a>)
11551158
<blockquote>
1156-
<p>For the purpose of margin collapsing ([[css2#collapsing-margins]]),
1159+
<p>For the purpose of margin collapsing ([[css2/box#collapsing-margins]]),
11571160
if the [=block axis=] is the [=ratio-dependent axis=],
11581161
it is not considered to have a [=computed value|computed=] 'block-size' of ''height/auto''.
11591162
</blockquote>

0 commit comments

Comments
 (0)