Skip to content

Commit 0ef6a78

Browse files
committed
[css-flexbox] Some minor tweaks to the element vs. box thing, to address comments by Peter Moulder.
1 parent 20efd1d commit 0ef6a78

3 files changed

Lines changed: 104 additions & 81 deletions

File tree

css-flexbox/Overview.bs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -523,11 +523,11 @@ Flex Containers: the <a href="#display-flex">''flex''</a> and <a href="#display-
523523
</ul>
524524

525525
<p>
526-
If a box’s specified 'display' is ''inline-flex''
527-
and the box is floated or absolutely positioned,
528-
the computed value of 'display' is <a href="#display-flex">''flex''</a>.
529-
The table in <a href="http://www.w3.org/TR/CSS2/visuren.html#dis-pos-flo">CSS 2.1 Chapter 9.7</a> is thus amended
530-
to contain an additional row,
526+
If an element's specified 'display' is ''inline-flex'',
527+
then its 'display' property computes to <a href="#display-flex">''flex''</a>
528+
in certain circumstances:
529+
the table in <a href="http://www.w3.org/TR/CSS2/visuren.html#dis-pos-flo">CSS 2.1 Section 9.7</a>
530+
is amended to contain an additional row,
531531
with ''inline-flex'' in the "Specified Value" column
532532
and <a href="#display-flex">''flex''</a> in the "Computed Value" column.
533533

@@ -594,7 +594,7 @@ Flex Items</h2>
594594
For example, a misparented ''table-cell'' child is fixed up
595595
by <a href="http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes">generating anonymous ''table'' and ''table-row'' boxes</a> around it. [[!CSS21]]
596596
This fixup must occur <em>before</em> a flex container's children are promoted to <i>flex items</i>.
597-
For example, given two contiguous child boxes with ''display:table-cell'',
597+
For example, given two contiguous child elements with ''display:table-cell'',
598598
an anonymous table wrapper box around them becomes the <i>flex item</i>.
599599

600600
<p class='note'>

0 commit comments

Comments
 (0)