Skip to content

Commit 2301012

Browse files
committed
[css-flexbox-1] Fix Bikeshed errors.
1 parent 43be33f commit 2301012

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

css-flexbox-1/Overview.bs

+14-14
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ Overview</h3>
407407
<h3 id="placement">
408408
Module interactions</h3>
409409

410-
This module extends the definition of the 'display' property [[!CSS21]],
410+
This module extends the definition of the 'display' property [[!CSS2]],
411411
adding a new block-level and new inline-level display type,
412412
and defining a new type of formatting context
413413
along with properties to control its layout.
@@ -564,7 +564,7 @@ Flex Containers: the ''flex'' and ''inline-flex'' 'display' values</h2>
564564
For example, floats do not intrude into the flex container,
565565
and the flex container's margins do not collapse with the margins of its contents.
566566
<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]]
568568
The 'overflow' property applies to <a>flex containers</a>.
569569

570570
Flex containers are not block containers,
@@ -691,7 +691,7 @@ Flex Items</h2>
691691
(skipping ''display:contents'' ancestors)
692692
is ''flex'' or ''inline-flex'',
693693
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&sect;9.7</a> [[!CSS21]]
694+
(See <a href="https://www.w3.org/TR/CSS2/visuren.html#dis-pos-flo">CSS2.1&sect;9.7</a> [[!CSS2]]
695695
and [[css-display-3#transformations]]
696696
for details on this type of 'display' value conversion.)
697697

@@ -798,7 +798,7 @@ Flex Item Margins and Paddings</h3>
798798
<h3 id='painting'>
799799
Flex Item Z-Ordering</h3>
800800

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]],
802802
except that 'order'-modified document order is used in place of raw document order,
803803
and 'z-index'
804804
values other than ''z-index/auto'' create a stacking context
@@ -836,7 +836,7 @@ Collapsed Items</h3>
836836

837837
Though collapsed flex items aren't rendered,
838838
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]],
840840
effects that depend on a box appearing in the formatting structure
841841
(like incrementing counters or running animations and transitions)
842842
still operate on collapsed items.
@@ -1344,7 +1344,7 @@ Display Order: the 'order' property</h3>
13441344
A flex container lays out its content in <dfn export>order-modified document order</dfn>,
13451345
starting from the lowest numbered ordinal group and going up.
13461346
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]],
13481348
exactly as if the flex items were reordered in the source document.
13491349
Absolutely-positioned children of a <a>flex container</a>
13501350
are treated as having ''order: 0''
@@ -1914,7 +1914,7 @@ The 'flex-basis' property</h4>
19141914
It accepts the same values as the 'width' and 'height' property, plus ''content''.
19151915

19161916
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]],
19181918
except that if a value would resolve to ''width/auto'' for 'width',
19191919
it instead resolves to ''content'' for 'flex-basis'.
19201920
For example, percentage values of 'flex-basis' are resolved against
@@ -2466,7 +2466,7 @@ Flex Container Baselines</h3>
24662466
for the purpose of determining its baseline.
24672467

24682468
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]]
24702470

24712471
See [[css-writing-modes-3#intro-baselines]]
24722472
and [[css-align-3#baseline-rules]]
@@ -2561,7 +2561,7 @@ Line Length Determination</h3>
25612561
<li>
25622562
If the used <a>flex basis</a> is ''content'' or depends on its <a>available space</a>,
25632563
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]]),
25652565
size the item under that constraint.
25662566
The <a>flex base size</a> is the item's resulting <a>main size</a>.
25672567

@@ -4172,7 +4172,7 @@ Clarifications</h4>
41724172
<blockquote>
41734173
<p>
41744174
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]],
41764176
<ins>except that if a value would resolve to ''width/auto'' for 'width',
41774177
it instead resolves to ''content'' for 'flex-basis'</ins>.
41784178
For example, percentage values of 'flex-basis' are resolved against
@@ -4267,7 +4267,7 @@ Substantive Changes and Bugfixes</h4>
42674267
It's the outermost box&mdash;the direct child of the <a>flex container</a> box&mdash;that
42684268
becomes a <a>flex item</a>.
42694269
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]]
42714271
becomes the <a>flex item</a>.</p>
42724272
<p>In the case of flex items with ''display: table'',
42734273
the table wrapper box becomes the <a>flex item</a>,
@@ -4393,7 +4393,7 @@ Substantive Changes and Bugfixes</h4>
43934393
document order (which determines speech and navigation order) should be
43944394
<em>out-of-sync</em> with the visual order.</p>
43954395

4396-
<div class="example">
4396+
<div class="example" id="example-a11y-tools">
43974397
For example, a tool might offer both drag-and-drop reordering of flex items
43984398
as well as handling of media queries for alternate layouts per screen size range.
43994399

@@ -4560,7 +4560,7 @@ Substantive Changes and Bugfixes</h4>
45604560
until the first time that the next collected item would not fit into the flex container’s inner main size,
45614561
<ins>(</ins>or until a forced break is encountered<ins>, see [[#pagination]])</ins>.
45624562
[...]
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]]
45644564
or the CSS3 'break-before'/'break-after' [[CSS3-BREAK]] properties specify a fragmentation break.</del></p>
45654565
</blockquote>
45664566

@@ -5040,7 +5040,7 @@ Substantive Changes and Bugfixes</h4>
50405040
(<a href="https://drafts.csswg.org/css-flexbox-1/issues-cr-2012#issue-18">Issue 18</a>)
50415041
<blockquote>
50425042
<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>.
50445044
</blockquote>
50455045
<li id="change-2012-flex-basis-zero">
50465046
An omitted 'flex-basis' component of the 'flex' shorthand

0 commit comments

Comments
 (0)