Skip to content

Commit 0c8e129

Browse files
committed
[css-flexbox] Define main size/cross size for flex containers. (Current definition only applies to flex items.) Fixes #981.
1 parent e65d3f6 commit 0c8e129

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

css-flexbox/Overview.bs

+12-8
Original file line numberDiff line numberDiff line change
@@ -440,11 +440,11 @@ Flex Layout Box Model and Terminology</h2>
440440
<dt class='size'>main size
441441
<dt class='size'>main size property
442442
<dd>
443-
A <a>flex item</a>’s width or height,
443+
The width or height of a <a>flex container</a> or <a>flex item</a>,
444444
whichever is in the <a>main dimension</a>,
445-
is the item's <dfn lt="main size|main-size">main size</dfn>.
446-
The <a>flex item</a>’s <dfn lt="main size property|max main size property|min main size property">main size property</dfn> is
447-
either the 'width' or 'height' property,
445+
is that box’s <dfn lt="main size|main-size">main size</dfn>.
446+
Its <dfn lt="main size property|max main size property|min main size property">main size property</dfn> is
447+
thus either its 'width' or 'height' property,
448448
whichever is in the <a>main dimension</a>.
449449
</dl>
450450

@@ -465,11 +465,12 @@ Flex Layout Box Model and Terminology</h2>
465465
<dt class='size'>cross size
466466
<dt class='size'>cross size property
467467
<dd>
468-
The width or height of a <a>flex item</a>,
468+
The width or height of a <a>flex container</a> or <a>flex item</a>,
469469
whichever is in the <a>cross dimension</a>,
470-
is the item's <dfn lt="cross size | cross-size">cross size</dfn>.
471-
The <dfn lt="cross size property|max cross size property|min cross size property">cross size property</dfn> is
472-
whichever of 'width' or 'height' that is in the <a>cross dimension</a>.
470+
is that box’s <dfn lt="cross size | cross-size">cross size</dfn>.
471+
Its <dfn lt="cross size property|max cross size property|min cross size property">cross size property</dfn> is
472+
thus either its 'width' or 'height' property,
473+
whichever is in the <a>cross dimension</a>.
473474
</dl>
474475

475476
Additional sizing terminology used in this specification
@@ -3460,6 +3461,9 @@ Substantive Changes and Bugfixes</h4>
34603461
<h4 id="change-201605-clarify">
34613462
Clarifications</h4>
34623463
<ul>
3464+
<li>Made sure that <a>main size</a> and <a>cross size</a> are defined
3465+
for <a>flex containers</a> as well as for <a>flex items</a>.
3466+
(<a href="https://github.com/w3c/csswg-drafts/issues/981">Issue 981</a>)
34633467
</ul>
34643468

34653469
<h3 id="changes-20160301">

0 commit comments

Comments
 (0)