Skip to content

Commit d2a1d23

Browse files
committed
[css-flexbox] Listing improvements.
1 parent b1fbffe commit d2a1d23

2 files changed

Lines changed: 17 additions & 11 deletions

File tree

css-flexbox/Overview.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@
246246
</p>
247247
<h1 class="p-name no-ref" id=title>CSS Flexible Box Layout Module Level 1</h1>
248248
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
249-
<span class=dt-updated><span class=value-title title=20140205>5 February 2014</span></span></span></h2>
249+
<span class=dt-updated><span class=value-title title=20140211>11 February 2014</span></span></span></h2>
250250
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-flexbox/>http://dev.w3.org/csswg/css-flexbox/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css3-flexbox/>http://www.w3.org/TR/css3-flexbox/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/css-flexbox/>http://dev.w3.org/csswg/css-flexbox/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2012/CR-css3-flexbox-20120918/ rel=previous>http://www.w3.org/TR/2012/CR-css3-flexbox-20120918/</a><dd><a href=http://www.w3.org/TR/2012/WD-css3-flexbox-20120612/ rel=previous>http://www.w3.org/TR/2012/WD-css3-flexbox-20120612/</a><dd><a href=http://www.w3.org/TR/2012/WD-css3-flexbox-20120322/ rel=previous>http://www.w3.org/TR/2012/WD-css3-flexbox-20120322/</a><dd><a href=http://www.w3.org/TR/2011/WD-css3-flexbox-20111129/ rel=previous>http://www.w3.org/TR/2011/WD-css3-flexbox-20111129/</a><dd><a href=http://www.w3.org/TR/2011/WD-css3-flexbox-20110322/ rel=previous>http://www.w3.org/TR/2011/WD-css3-flexbox-20110322/</a><dd><a href=http://www.w3.org/TR/2009/WD-css3-flexbox-20090723/ rel=previous>http://www.w3.org/TR/2009/WD-css3-flexbox-20090723/</a>
251251
<dt>Feedback:</dt>
252252
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-flexbox%5D%20feedback">www-style@w3.org</a>
@@ -2044,7 +2044,7 @@ <h3 class="heading settled heading" data-level=9.2 id=line-sizing><span class=se
20442044
<li id=algo-main-item><a class=self-link href=#algo-main-item></a>
20452045
<strong>Determine the <dfn data-dfn-type=dfn data-noexport="" id=flex-base-size>flex base size<a class=self-link href=#flex-base-size></a></dfn> and <dfn data-dfn-type=dfn data-noexport="" id=hypothetical-main-size>hypothetical main size<a class=self-link href=#hypothetical-main-size></a></dfn> of each item:</strong>
20462046

2047-
<p> <ul>
2047+
<ol type=A>
20482048
<li>
20492049
If the item has a <a data-link-type=dfn href=#definite title=definite>definite</a> flex basis,
20502050
that’s the <a data-link-type=dfn href=#flex-base-size title="flex base size">flex base size</a>.
@@ -2057,9 +2057,12 @@ <h3 class="heading settled heading" data-level=9.2 id=line-sizing><span class=se
20572057
The <a data-link-type=dfn href=#flex-base-size title="flex base size">flex base size</a> is the item’s resulting main size.
20582058

20592059
<li>
2060-
If flex item has an intrinsic aspect ratio,
2061-
the flex item has <a class=css data-link-type=propdesc href=#propdef-align-self title=align-self>align-self: stretch</a>,
2062-
the <a data-link-type=dfn href=#flex-basis title="flex basis">flex basis</a> and cross size are both <a class=css-code data-link-for=width data-link-type=value title=auto>auto</a> ,
2060+
If the flex item ...
2061+
<ul>
2062+
<li>has an intrinsic aspect ratio
2063+
<li>has <a class=css data-link-type=propdesc href=#propdef-align-self title=align-self>align-self: stretch</a>,
2064+
<li>has a <a data-link-type=dfn href=#flex-basis title="flex basis">flex basis</a> and cross size both <a class=css-code data-link-for=width data-link-type=value title=auto>auto</a>
2065+
</ul>
20632066
and the flex container is <a data-link-type=dfn href=#single-line title=single-line>single-line</a> and has a <a data-link-type=dfn href=#definite title=definite>definite</a> cross size,
20642067
the <a data-link-type=dfn href=#flex-base-size title="flex base size">flex base size</a> is computed from the flex container’s inner cross size
20652068
(clamped to the <a data-link-type=dfn href=#flex-item title="flex item">flex item</a>’s min and max <a data-link-type=dfn href=#cross-size title="cross size">cross size</a>)
@@ -2084,7 +2087,7 @@ <h3 class="heading settled heading" data-level=9.2 id=line-sizing><span class=se
20842087
and treating a main size of <a class=css-code data-link-for=width data-link-type=value title=auto>auto</a> as <span class=css data-link-type=maybe title=max-content>max-content</span>.
20852088
The <a data-link-type=dfn href=#flex-base-size title="flex base size">flex base size</a> is the item’s resulting main size.
20862089

2087-
</ul>
2090+
</ol>
20882091

20892092
<p> The <a data-link-type=dfn href=#hypothetical-main-size title="hypothetical main size">hypothetical main size</a> is the item’s <a data-link-type=dfn href=#flex-base-size title="flex base size">flex base size</a>
20902093
clamped according to its min and max main size properties.

css-flexbox/Overview.src.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2031,7 +2031,7 @@ <h3 id='line-sizing'>
20312031
<li id='algo-main-item'>
20322032
<strong>Determine the <dfn>flex base size</dfn> and <dfn>hypothetical main size</dfn> of each item:</strong>
20332033

2034-
<ul>
2034+
<ol type=A>
20352035
<li>
20362036
If the item has a <i>definite</i> flex basis,
20372037
that's the <i>flex base size</i>.
@@ -2044,9 +2044,12 @@ <h3 id='line-sizing'>
20442044
The <i>flex base size</i> is the item's resulting main size.
20452045

20462046
<li>
2047-
If flex item has an intrinsic aspect ratio,
2048-
the flex item has ''align-self: stretch'',
2049-
the <a>flex basis</a> and cross size are both <a value for=width>auto</a> ,
2047+
If the flex item ...
2048+
<ul>
2049+
<li>has an intrinsic aspect ratio
2050+
<li>has ''align-self: stretch'',
2051+
<li>has a <a>flex basis</a> and cross size both <a value for=width>auto</a>
2052+
</ul>
20502053
and the flex container is <i>single-line</i> and has a <i>definite</i> cross size,
20512054
the <i>flex base size</i> is computed from the flex container's inner cross size
20522055
(clamped to the <i>flex item</i>&rsquo;s min and max <i>cross size</i>)
@@ -2071,7 +2074,7 @@ <h3 id='line-sizing'>
20712074
and treating a main size of <a value for=width>auto</a> as ''max-content''.
20722075
The <i>flex base size</i> is the item's resulting main size.
20732076

2074-
</ul>
2077+
</ol>
20752078

20762079
The <i>hypothetical main size</i> is the item's <i>flex base size</i>
20772080
clamped according to its min and max main size properties.

0 commit comments

Comments
 (0)