@@ -407,7 +407,7 @@ Overview</h3>
407
407
<h3 id="placement">
408
408
Module interactions</h3>
409
409
410
- This module extends the definition of the 'display' property [[!CSS21 ]] ,
410
+ This module extends the definition of the 'display' property [[!CSS2 ]] ,
411
411
adding a new block-level and new inline-level display type,
412
412
and defining a new type of formatting context
413
413
along with properties to control its layout.
@@ -564,7 +564,7 @@ Flex Containers: the ''flex'' and ''inline-flex'' 'display' values</h2>
564
564
For example, floats do not intrude into the flex container,
565
565
and the flex container's margins do not collapse with the margins of its contents.
566
566
<a>Flex containers</a> form a containing block for their contents
567
- <a href="https://www.w3.org/TR/CSS2/visudet.html#containing-block-details">exactly like block containers do</a> . [[!CSS21 ]]
567
+ <a href="https://www.w3.org/TR/CSS2/visudet.html#containing-block-details">exactly like block containers do</a> . [[!CSS2 ]]
568
568
The 'overflow' property applies to <a>flex containers</a> .
569
569
570
570
Flex containers are not block containers,
@@ -691,7 +691,7 @@ Flex Items</h2>
691
691
(skipping ''display:contents'' ancestors)
692
692
is ''flex'' or ''inline-flex'' ,
693
693
the element's own 'display' value is [=blockified=] .
694
- (See <a href="https://www.w3.org/TR/CSS2/visuren.html#dis-pos-flo">CSS2.1§9.7</a> [[!CSS21 ]]
694
+ (See <a href="https://www.w3.org/TR/CSS2/visuren.html#dis-pos-flo">CSS2.1§9.7</a> [[!CSS2 ]]
695
695
and [[css-display-3#transformations]]
696
696
for details on this type of 'display' value conversion.)
697
697
@@ -798,7 +798,7 @@ Flex Item Margins and Paddings</h3>
798
798
<h3 id='painting'>
799
799
Flex Item Z-Ordering</h3>
800
800
801
- <a>Flex items</a> paint exactly the same as inline blocks [[!CSS21 ]] ,
801
+ <a>Flex items</a> paint exactly the same as inline blocks [[!CSS2 ]] ,
802
802
except that 'order' -modified document order is used in place of raw document order,
803
803
and 'z-index'
804
804
values other than ''z-index/auto'' create a stacking context
@@ -836,7 +836,7 @@ Collapsed Items</h3>
836
836
837
837
Though collapsed flex items aren't rendered,
838
838
they do appear in the <a href="https://www.w3.org/TR/CSS2/intro.html#formatting-structure">formatting structure</a> .
839
- Therefore, unlike on ''display:none'' items [[!CSS21 ]] ,
839
+ Therefore, unlike on ''display:none'' items [[!CSS2 ]] ,
840
840
effects that depend on a box appearing in the formatting structure
841
841
(like incrementing counters or running animations and transitions)
842
842
still operate on collapsed items.
@@ -1344,7 +1344,7 @@ Display Order: the 'order' property</h3>
1344
1344
A flex container lays out its content in <dfn export>order-modified document order</dfn> ,
1345
1345
starting from the lowest numbered ordinal group and going up.
1346
1346
Items with the same ordinal group are laid out in the order they appear in the source document.
1347
- This also affects the <a href="https://www.w3.org/TR/CSS2/zindex.html">painting order</a> [[!CSS21 ]] ,
1347
+ This also affects the <a href="https://www.w3.org/TR/CSS2/zindex.html">painting order</a> [[!CSS2 ]] ,
1348
1348
exactly as if the flex items were reordered in the source document.
1349
1349
Absolutely-positioned children of a <a>flex container</a>
1350
1350
are treated as having ''order: 0''
@@ -1914,7 +1914,7 @@ The 'flex-basis' property</h4>
1914
1914
It accepts the same values as the 'width' and 'height' property, plus ''content'' .
1915
1915
1916
1916
For all values other than ''flex-basis/auto'' and ''content'' (defined above),
1917
- 'flex-basis' is resolved the same way as 'width' in horizontal writing modes [[!CSS21 ]] ,
1917
+ 'flex-basis' is resolved the same way as 'width' in horizontal writing modes [[!CSS2 ]] ,
1918
1918
except that if a value would resolve to ''width/auto'' for 'width' ,
1919
1919
it instead resolves to ''content'' for 'flex-basis' .
1920
1920
For example, percentage values of 'flex-basis' are resolved against
@@ -2466,7 +2466,7 @@ Flex Container Baselines</h3>
2466
2466
for the purpose of determining its baseline.
2467
2467
2468
2468
When <a href="https://www.w3.org/TR/CSS2/tables.html#height-layout">determining the baseline of a table cell</a> ,
2469
- a flex container provides a baseline just as a line box or table-row does. [[!CSS21 ]]
2469
+ a flex container provides a baseline just as a line box or table-row does. [[!CSS2 ]]
2470
2470
2471
2471
See [[css-writing-modes-3#intro-baselines]]
2472
2472
and [[css-align-3#baseline-rules]]
@@ -2561,7 +2561,7 @@ Line Length Determination</h3>
2561
2561
<li>
2562
2562
If the used <a>flex basis</a> is ''content'' or depends on its <a>available space</a> ,
2563
2563
and the flex container is being sized under a min-content or max-content constraint
2564
- (e.g. when performing <a href="https://www.w3.org/TR/CSS2/tables.html#auto-table-layout">automatic table layout</a> [[!CSS21 ]] ),
2564
+ (e.g. when performing <a href="https://www.w3.org/TR/CSS2/tables.html#auto-table-layout">automatic table layout</a> [[!CSS2 ]] ),
2565
2565
size the item under that constraint.
2566
2566
The <a>flex base size</a> is the item's resulting <a>main size</a> .
2567
2567
@@ -4172,7 +4172,7 @@ Clarifications</h4>
4172
4172
<blockquote>
4173
4173
<p>
4174
4174
For all values other than ''flex-basis/auto'' and ''content'' (defined above),
4175
- 'flex-basis' is resolved the same way as 'width' in horizontal writing modes [[!CSS21 ]] ,
4175
+ 'flex-basis' is resolved the same way as 'width' in horizontal writing modes [[!CSS2 ]] ,
4176
4176
<ins> except that if a value would resolve to ''width/auto'' for 'width' ,
4177
4177
it instead resolves to ''content'' for 'flex-basis' </ins> .
4178
4178
For example, percentage values of 'flex-basis' are resolved against
@@ -4267,7 +4267,7 @@ Substantive Changes and Bugfixes</h4>
4267
4267
It's the outermost box—the direct child of the <a>flex container</a> box—that
4268
4268
becomes a <a>flex item</a> .
4269
4269
For example, given two contiguous child elements with ''display: table-cell'' ,
4270
- the <a href="https://www.w3.org/TR/CSS21/tables.html#anonymous-boxes">anonymous table wrapper box generated around them</a> [[!CSS21 ]]
4270
+ the <a href="https://www.w3.org/TR/CSS21/tables.html#anonymous-boxes">anonymous table wrapper box generated around them</a> [[!CSS2 ]]
4271
4271
becomes the <a>flex item</a> .</p>
4272
4272
<p> In the case of flex items with ''display: table'' ,
4273
4273
the table wrapper box becomes the <a>flex item</a> ,
@@ -4393,7 +4393,7 @@ Substantive Changes and Bugfixes</h4>
4393
4393
document order (which determines speech and navigation order) should be
4394
4394
<em> out-of-sync</em> with the visual order.</p>
4395
4395
4396
- <div class="example">
4396
+ <div class="example" id="example-a11y-tools" >
4397
4397
For example, a tool might offer both drag-and-drop reordering of flex items
4398
4398
as well as handling of media queries for alternate layouts per screen size range.
4399
4399
@@ -4560,7 +4560,7 @@ Substantive Changes and Bugfixes</h4>
4560
4560
until the first time that the next collected item would not fit into the flex container’s inner main size,
4561
4561
<ins> (</ins> or until a forced break is encountered<ins> , see [[#pagination]] )</ins> .
4562
4562
[...]
4563
- <del> A break is forced wherever the CSS2.1 'page-break-before' /'page-break-after' [[CSS21 ]]
4563
+ <del> A break is forced wherever the CSS2.1 'page-break-before' /'page-break-after' [[CSS2 ]]
4564
4564
or the CSS3 'break-before' /'break-after' [[CSS3-BREAK]] properties specify a fragmentation break.</del></p>
4565
4565
</blockquote>
4566
4566
@@ -5040,7 +5040,7 @@ Substantive Changes and Bugfixes</h4>
5040
5040
(<a href="https://drafts.csswg.org/css-flexbox-1/issues-cr-2012#issue-18">Issue 18</a> )
5041
5041
<blockquote>
5042
5042
<p>
5043
- <a>Flex items</a> paint exactly the same as <del> block-level elements in the normal flow</del> <ins> inline blocks [[!CSS21 ]] </ins> .
5043
+ <a>Flex items</a> paint exactly the same as <del> block-level elements in the normal flow</del> <ins> inline blocks [[!CSS2 ]] </ins> .
5044
5044
</blockquote>
5045
5045
<li id="change-2012-flex-basis-zero">
5046
5046
An omitted 'flex-basis' component of the 'flex' shorthand
0 commit comments