Skip to content

Commit 5a76d9a

Browse files
committed
[css-sizing] Add an example of the 'other formula'. Fix markup error.
1 parent d25cad7 commit 5a76d9a

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

css-sizing-3/Overview.bs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ Terminology</h2>
8484
A size that can be determined without measuring content;
8585
that is, a <<length>>,
8686
a size of the <a>initial containing block</a>,
87-
or a <<percentage>> or other formula that is resolved solely against <a>definite</a> sizes.
87+
or a <<percentage>> or other formula
88+
(such the <a href="https://www.w3.org/TR/CSS21/visudet.html#blockwidth">“fill-available” sizing of non-replaced blocks</a> [[CSS21]])
89+
that is resolved solely against <a>definite</a> sizes.
8890
Additionally, the size of the <a>containing block</a> of an absolutely positioned element is always <a>definite</a>
8991
with respect to that element.
9092

@@ -213,7 +215,7 @@ Intrinsic Size Contributions</h3>
213215
</dl>
214216

215217
Intrinsic size contributions are based on the <a>outer size</a> of the box;
216-
for this purpose ''auto'' margins are treated as zero.
218+
for this purpose ''margin/auto'' margins are treated as zero.
217219

218220
<h3 id='constraints'>
219221
Intrinsic Size Constraints</h3>

css-sizing/Overview.bs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ Terminology</h2>
8484
A size that can be determined without measuring content;
8585
that is, a <<length>>,
8686
a size of the <a>initial containing block</a>,
87-
or a <<percentage>> or other formula that is resolved solely against <a>definite</a> sizes.
87+
or a <<percentage>> or other formula
88+
(such the <a href="https://www.w3.org/TR/CSS21/visudet.html#blockwidth">“fill-available” sizing of non-replaced blocks</a> [[CSS21]])
89+
that is resolved solely against <a>definite</a> sizes.
8890
Additionally, the size of the <a>containing block</a> of an absolutely positioned element is always <a>definite</a>
8991
with respect to that element.
9092

@@ -213,7 +215,7 @@ Intrinsic Size Contributions</h3>
213215
</dl>
214216

215217
Intrinsic size contributions are based on the <a>outer size</a> of the box;
216-
for this purpose ''auto'' margins are treated as zero.
218+
for this purpose ''margin/auto'' margins are treated as zero.
217219

218220
<h3 id='constraints'>
219221
Intrinsic Size Constraints</h3>

0 commit comments

Comments
 (0)