@@ -980,16 +980,6 @@ Display Order: the 'order' property</h2>
980980 It takes a single <dfn value for=order><<integer>></dfn> value,
981981 which specifies which ordinal group the item belongs to.
982982
983- [=flex container|Flex=] and [=grid containers=] lay out their contents
984- in <dfn export>order-modified document order</dfn> ,
985- starting from the lowest numbered ordinal group and going up.
986- Items with the same ordinal group are laid out in the order they appear in the source document.
987- This also affects the <a href="https://www.w3.org/TR/CSS2/zindex.html">painting order</a> [[!CSS2]] ,
988- exactly as if the [=flex item|flex=] /[=grid items=] were reordered in the source document.
989- Absolutely-positioned children of a [=flex container|flex=] /[=grid container=]
990- are treated as having ''order: 0''
991- for the purpose of determining their painting order relative to [=flex item|flex=] /[=grid items=] .
992-
993983 <div class='example'>
994984 The following figure shows a simple tabbed interface, where the tab for the active pane is always first:
995985
@@ -1007,6 +997,16 @@ Display Order: the 'order' property</h2>
1007997 </pre>
1008998 </div>
1009999
1000+ [=flex container|Flex=] and [=grid containers=] lay out their contents
1001+ in <dfn export>order-modified document order</dfn> ,
1002+ starting from the lowest numbered ordinal group and going up.
1003+ Items with the same ordinal group are laid out in the order they appear in the source document.
1004+ This also affects the <a href="https://www.w3.org/TR/CSS2/zindex.html">painting order</a> [[!CSS2]] ,
1005+ exactly as if the [=flex item|flex=] /[=grid items=] were reordered in the source document.
1006+ Absolutely-positioned children of a [=flex container|flex=] /[=grid container=]
1007+ are treated as having ''order: 0''
1008+ for the purpose of determining their painting order relative to [=flex item|flex=] /[=grid items=] .
1009+
10101010 Unless otherwise specified by a future specification,
10111011 this property has no effect on boxes that are not [=flex items=] or [=grid items=] .
10121012
0 commit comments