Skip to content

Commit 770094a

Browse files
committed
[css-flexbox] Require percentrage resolution to depend on the container being definite too.
1 parent 2dd25fb commit 770094a

2 files changed

Lines changed: 227 additions & 104 deletions

File tree

css-flexbox/Overview.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2742,7 +2742,8 @@ Definite and Indefinite Sizes</h3>
27422742
<li>
27432743
If a percentage is going to be resolved against a <a>flex item’s</a> <a>main size</a>,
27442744
and the <a>flex item</a> has a <a>definite</a> <a>flex basis</a>,
2745-
the <a>main size</a> must be treated as <a>definite</a>
2745+
and the <a>flex container</a> has a <a>definite</a> <a>main size</a>,
2746+
the <a>flex item’s</a> <a>main size</a> must be treated as <a>definite</a>
27462747
for the purpose of resolving the percentage,
27472748
and the percentage must resolve against the <strong>flexed</strong> <a>main size</a> of the <a>flex item</a>
27482749
(that is, after the layout algorithm below has been completed for the <a>flex item’s</a> <a>flex container</a>,
@@ -3277,7 +3278,7 @@ Clarifications</h4>
32773278
Restored normative status of note about table wrapper boxes normative;
32783279
it had been accidentally changed in the previous draft.
32793280
(Issue <a href="http://dev.w3.org/csswg/css-flexbox-1/issues-lc-20140925#issue-2">2</a>)
3280-
3281+
32813282
<li id="change-201409-display-longhands">
32823283
Removed references to 'display' property longhands,
32833284
since they will be removed from CSS Display Level 3.

0 commit comments

Comments
 (0)