Skip to content

Commit 7da5f3c

Browse files
committed
Remove layout algo structure note, as the algo is easier to read now.
1 parent a870835 commit 7da5f3c

2 files changed

Lines changed: 0 additions & 68 deletions

File tree

css3-flexbox/Overview.html

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1949,44 +1949,6 @@ <h2 id=layout-algorithm><span class=secno>9. </span> Flexbox Layout
19491949
algorithms they wish, but must produce the same results as the algorithms
19501950
described here.
19511951

1952-
<div class=note>
1953-
<p>This note will outline the general structure of the layout algorithm,
1954-
before I go into the ugly details below, to aid in reading the
1955-
relatively-long and complex algorithm.</p>
1956-
1957-
<ol>
1958-
<li value=0>Generate anonymous flexbox items as necessary.
1959-
1960-
<li>Reorder flexbox items according to &lsquo;<a
1961-
href="#flex-order0"><code class=property>flex-order</code></a>&rsquo;.
1962-
1963-
<li>Find the hypothetical main size of every flexbox item.
1964-
1965-
<li>Linebreak the flexbox, if it's multi-line.
1966-
1967-
<li>Based on the hypothetical sizes of the items, find the real main size
1968-
of the flexbox.
1969-
1970-
<li>Resolve any flexible lengths. All items now have a real main size.
1971-
1972-
<li>Update layout for the items based on their real main sizes, and
1973-
determine their hypothetical cross size.
1974-
1975-
<li>Find the real cross size of the flexbox and its lines.
1976-
1977-
<li>Align the lines, per &lsquo;<a href="#flex-line-pack0"><code
1978-
class=property>flex-line-pack</code></a>&rsquo;.
1979-
1980-
<li>Align in the cross-axis, per &lsquo;<a href="#flex-align0"><code
1981-
class=property>flex-align</code></a>&rsquo;.
1982-
1983-
<li>Update layout for the items based on their real cross sizes.
1984-
1985-
<li>Align in the main-axis, per &lsquo;<a href="#flex-pack0"><code
1986-
class=property>flex-pack</code></a>&rsquo;.
1987-
</ol>
1988-
</div>
1989-
19901952
<p class=note> This section is mainly intended for implementors. Authors
19911953
writing web pages should generally be served well by the individual
19921954
property descriptions, and do not need to read this section unless they

css3-flexbox/Overview.src.html

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -975,36 +975,6 @@ <h2 id='layout-algorithm'>
975975

976976
<p>This section contains normative algorithms detailing the exact layout behavior of a flexbox and its contents. The algorithms here were designed to optimize readability and theoretical simplicity, and may not necessarily be the most efficient. Implementations may use whatever actual algorithms they wish, but must produce the same results as the algorithms described here.</p>
977977

978-
<div class=note>
979-
<p>This note will outline the general structure of the layout algorithm, before I go into the ugly details below, to aid in reading the relatively-long and complex algorithm.</p>
980-
981-
<ol>
982-
<li value=0>Generate anonymous flexbox items as necessary.</li>
983-
984-
<li>Reorder flexbox items according to 'flex-order'.</li>
985-
986-
<li>Find the hypothetical main size of every flexbox item.</li>
987-
988-
<li>Linebreak the flexbox, if it's multi-line.</li>
989-
990-
<li>Based on the hypothetical sizes of the items, find the real main size of the flexbox.</li>
991-
992-
<li>Resolve any flexible lengths. All items now have a real main size.</li>
993-
994-
<li>Update layout for the items based on their real main sizes, and determine their hypothetical cross size.</li>
995-
996-
<li>Find the real cross size of the flexbox and its lines.</li>
997-
998-
<li>Align the lines, per 'flex-line-pack'.</li>
999-
1000-
<li>Align in the cross-axis, per 'flex-align'.</li>
1001-
1002-
<li>Update layout for the items based on their real cross sizes.</li>
1003-
1004-
<li>Align in the main-axis, per 'flex-pack'.</li>
1005-
</ol>
1006-
</div>
1007-
1008978
<p class='note'>
1009979
This section is mainly intended for implementors.
1010980
Authors writing web pages should generally be served well by the individual property descriptions,

0 commit comments

Comments
 (0)