File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2035,12 +2035,6 @@ <h3 id=flex-property><span class=secno>7.1. </span> The ‘<a
20352035 from the ‘< a href ="#flex "> < code class =property > flex</ code > </ a > ’
20362036 shorthand, its specified value is the length zero.
20372037
2038- < p class =note > If not omitted, a zero
2039- < var > <'flex-basis'> </ var > component must be either
2040- specified with a unit or preceded by both flex ratios. Otherwise it will
2041- either be interpreted as one of the flex ratios, or will make the
2042- declaration invalid.
2043-
20442038 < p > If the specified ‘< a href ="#flex-basis-propdef "> < code
20452039 class =property > flex-basis</ code > </ a > ’ is < a
20462040 href ="#flex-basis-auto "> ‘< code class =css > auto</ code > ’</ a > , the used
@@ -2076,6 +2070,11 @@ <h3 id=flex-property><span class=secno>7.1. </span> The ‘<a
20762070 shorthand can better accommodate the most < a href ="#flex-common "> common
20772071 cases</ a > .
20782072
2073+ < p > A unitless zero that is not already preceded by two flex factors must
2074+ be interpreted as a flex factor. To avoid misinterpretation or invalid
2075+ declarations, authors must specify a zero < var > <flex-basis> </ var >
2076+ component with a unit or precede it by both flex ratios.
2077+
20792078 < h3 id =flex-common > < span class =secno > 7.2. </ span > Common Values of ‘< a
20802079 href ="#flex "> < code class =property > flex</ code > </ a > ’</ h3 >
20812080
Original file line number Diff line number Diff line change @@ -1518,11 +1518,6 @@ <h3 id='flex-property'>
15181518 the initial < i > main size</ i > of the < i > flex item</ i > ,
15191519 before free space is distributed according to the flex ratios.
15201520 When omitted from the 'flex' shorthand, its specified value is the length zero.
1521- < p class ="note ">
1522- If not omitted, a zero < var > <'flex-basis'> </ var > component
1523- must be either specified with a unit or preceded by both flex ratios.
1524- Otherwise it will either be interpreted as one of the flex ratios,
1525- or will make the declaration invalid.
15261521 < p >
15271522 If the specified 'flex-basis' is < a href ="#flex-basis-auto "> ''auto''</ a > ,
15281523 the used < i > flex basis</ i > is the value of the element's < i > main size property</ i > .
@@ -1550,6 +1545,13 @@ <h3 id='flex-property'>
15501545 are different from their defaults when omitted in the 'flex' shorthand.
15511546 This so that the 'flex' shorthand can better accommodate the most < a href ="#flex-common "> common cases</ a > .
15521547
1548+ < p >
1549+ A unitless zero that is not already preceded by two flex factors
1550+ must be interpreted as a flex factor.
1551+ To avoid misinterpretation or invalid declarations,
1552+ authors must specify a zero < var > <flex-basis> </ var > component
1553+ with a unit or precede it by both flex ratios.
1554+
15531555< h3 id ='flex-common '>
15541556Common Values of 'flex'</ h3 >
15551557
Original file line number Diff line number Diff line change @@ -253,11 +253,11 @@ <h1>CSS Flexible Box Layout Level 3 Disposition of Comments for 2012-06-12 LCWD<
253253Response: < a href ="http://lists.w3.org/Archives/Public/www-style/2012Sep/0116.html "> http://lists.w3.org/Archives/Public/www-style/2012Sep/0116.html</ a >
254254Closed: Accepted
255255</ pre >
256- < pre class ="open " id ="issue-26 ">
256+ < pre class ="a " id ="issue-26 ">
257257Issue 26.
258258Summary: Clarify parsing of unitless zero in 'flex' shorthand
259259From: 呂康豪 (Kang-Hao Lu)
260260Comment: < a href ="http://lists.w3.org/Archives/Public/www-style/2012Sep/0216.html "> http://lists.w3.org/Archives/Public/www-style/2012Sep/0216.html</ a >
261261Response: < a href ="http://lists.w3.org/Archives/Public/www-style/2012Sep/0300.html "> http://lists.w3.org/Archives/Public/www-style/2012Sep/0300.html</ a >
262- Open
262+ Closed: Accepted
263263</ pre >
Original file line number Diff line number Diff line change @@ -197,5 +197,5 @@ Summary: Clarify parsing of unitless zero in 'flex' shorthand
197197From: 呂康豪 (Kang-Hao Lu)
198198Comment: http://lists.w3.org/Archives/Public/www-style/2012Sep/0216.html
199199Response: http://lists.w3.org/Archives/Public/www-style/2012Sep/0300.html
200- Open
200+ Closed: Accepted
201201----
You can’t perform that action at this time.
0 commit comments