You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[css-flexbox-1] Fixed broken fragment IDs to what was (probably)
meant, or removed the link, or made it auto-generated. Added two ID
attributes to H1s in an example, because the pubrules checker didn't
know it was just an example. Replaced a broken link to an HTML5
chapter on "tabindex" that was apparently meant to go to an HTML4
chapter instead. Removed some '' pairs that Bikeshed turned into A
elements, because Bikeshed doesn't know that it should not nest A
elements. Replaced a link to an appendix of css3-writing-modes that no
longer exists with a bibliographic reference to css3-sizing. Added a
few closing tags before </ins> end tags, because the HTML5 parser
doesn't seem to close elements automatically when the INS element
ends.
@@ -475,7 +475,7 @@ Flex Layout Box Model and Terminology</h2>
475
475
</dl>
476
476
477
477
<h2 id='flex-containers'>
478
-
Flex Containers: the <a href="#display-flex">''flex''</a> and <a href="#display-inline-flex">''inline-flex''</a> 'display' values</h2>
478
+
Flex Containers: the flex and inline-flex 'display' values</h2>
479
479
480
480
<pre class="propdef">
481
481
Name: display
@@ -527,12 +527,12 @@ Flex Containers: the <a href="#display-flex">''flex''</a> and <a href="#display-
527
527
528
528
<p>
529
529
If an element's specified 'display' is ''inline-flex'',
530
-
then its 'display' property computes to <a href="#display-flex">''flex''</a>
530
+
then its 'display' property computes to <a href="#flex-containers">flex</a>
531
531
in certain circumstances:
532
532
the table in <a href="http://www.w3.org/TR/CSS2/visuren.html#dis-pos-flo">CSS 2.1 Section 9.7</a>
533
533
is amended to contain an additional row,
534
534
with ''inline-flex'' in the "Specified Value" column
535
-
and <a href="#display-flex">''flex''</a> in the "Computed Value" column.
535
+
and ''flex'' in the "Computed Value" column.
536
536
537
537
<h2 id='flex-items'>
538
538
Flex Items</h2>
@@ -646,7 +646,7 @@ Flex Item Z-Ordering</h3>
646
646
<p>
647
647
<i>Flex items</i> paint exactly the same as inline blocks [[!CSS21]],
648
648
except that 'order'-modified document order is used in place of raw document order,
649
-
and <a href="http://www.w3.org/TR/CSS21/visuren.html#propdef-z-index">'z-index'</a>
649
+
and <a href="http://www.w3.org/TR/CSS21/visuren.html#propdef-z-index">z-index</a>
650
650
values other than <a value for=z-index>auto</a> create a stacking context
651
651
even if 'position' is ''static''.
652
652
@@ -1095,7 +1095,7 @@ Reordering and Accessibility</h4>
1095
1095
(such as <a href="http://www.w3.org/TR/css3-speech/">speech</a>).
1096
1096
Likewise, 'order' does not affect
1097
1097
the default traversal order of sequential navigation modes
1098
-
(such as cycling through links, see e.g. 'nav-index'[[CSS3UI]] or <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#sequential-focus-navigation-and-the-tabindex-attribute"><code>tabindex</code></a>[[HTML40]]).
1098
+
(such as cycling through links, see e.g. 'nav-index'[[CSS3UI]] or <a href="http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#adef-tabindex"><code>tabindex</code></a>[[HTML40]]).
1099
1099
Authors <em>must</em> use 'order' only for visual, not logical, reordering of content;
1100
1100
style sheets that use 'order' to perform logical reordering are non-conforming.
1101
1101
@@ -1148,7 +1148,7 @@ Reordering and Accessibility</h4>
1148
1148
1149
1149
<p>
1150
1150
As an added bonus,
1151
-
the columns will all be <a href="#align-stretch">equal-height</a> by default,
1151
+
the columns will all be <a href="#align-items-property">equal-height</a> by default,
1152
1152
and the main content will be as wide as necessary to fill the screen.
1153
1153
Additionally,
1154
1154
this can then be combined with media queries to switch to an all-vertical layout on narrow screens:
@@ -1355,7 +1355,7 @@ The 'flex' Shorthand</h3>
1355
1355
</dl>
1356
1356
1357
1357
<p>
1358
-
The initial values of the 'flex' components are equivalent to <a href="#flex-initial">''flex: 0 1 auto''</a>.
1358
+
The initial values of the 'flex' components are equivalent to <a href="#flex-initial">flex: 0 1 auto</a>.
1359
1359
<p class="note">
1360
1360
Note that the initial values of 'flex-grow' and 'flex-basis'
1361
1361
are different from their defaults when omitted in the 'flex' shorthand.
@@ -1402,7 +1402,7 @@ Common Values of 'flex'</h3>
1402
1402
Equivalent to ''flex: 0 0 auto''.
1403
1403
This value sizes the item according to the 'width'/'height' properties,
1404
1404
but makes the flex item fully inflexible.
1405
-
This is similar to <a href="#flex-initial">''initial''</a>,
1405
+
This is similar to <a href="#flex-initial">initial</a>,
Collect all the flex items whose inline-axis is parallel to the main-axis,
2204
-
whose 'align-self' is <a href="#align-baseline">''baseline''</a>,
2204
+
whose 'align-self' is ''baseline'',
2205
2205
and whose cross-axis margins are both non-<a value for=margin>auto</a>.
2206
2206
Find the largest of the distances between each item's baseline and its hypothetical outer cross-start edge,
2207
2207
and the largest of the distances between each item's baseline and its hypothetical outer cross-end edge,
@@ -2837,7 +2837,7 @@ Boris Zbarsky.
2837
2837
to help ensure that the item is large enough to fit its contents.
2838
2838
<p class='note'>
2839
2839
It is intended that this will compute to the ''min-content'' keyword
2840
-
when the specification defining it (<a href="http://www.w3.org/TR/css3-writing-modes/#intrinsic-sizing">Writing Modes Appendix D</a>) is sufficiently mature.
2840
+
when the specification defining it ([[CSS3-SIZING]]) is sufficiently mature.
2841
2841
</del>
2842
2842
<ins>
2843
2843
<p>On a <a>flex item</a> whose 'overflow' is not ''overflow/visible'',
@@ -2857,7 +2857,7 @@ Boris Zbarsky.
2857
2857
<blockquote>
2858
2858
<ins>
2859
2859
<p>Percentage margins and paddings on <i>flex items</i> are always resolved against their respective dimensions;
2860
-
unlike blocks, they do not always resolve against the inline dimension of their containing block.
2860
+
unlike blocks, they do not always resolve against the inline dimension of their containing block.</p>
2861
2861
</ins>
2862
2862
</blockquote>
2863
2863
<li>
@@ -2870,7 +2870,7 @@ Boris Zbarsky.
2870
2870
if a <i>single-line</i><i>flex container</i> has a definite cross size,
2871
2871
the outer <i>cross size</i> of any <i>flex items</i> with ''align-self: stretch''
2872
2872
is the flex container's inner cross size (clamped to the <i>flex item</i>’s min and max <i>cross size</i>)
2873
-
and is considered <i>definite</i>.
2873
+
and is considered <i>definite</i>.</p>
2874
2874
</ins>
2875
2875
</blockquote>
2876
2876
<li>Allow percentages inside a stretched auto-height flex item to resolve by requiring a relayout pass.
@@ -2879,7 +2879,7 @@ Boris Zbarsky.
2879
2879
<ins>
2880
2880
<p>If the flex item has ''align-self: stretch'', redo layout for its contents, treating this used size as its definite cross size so that percentage-sized children can be resolved.
2881
2881
2882
-
<p class="note">Note that this step does not affect the main size of the flex item, even if it has an intrinsic aspect ratio.
2882
+
<p class="note">Note that this step does not affect the main size of the flex item, even if it has an intrinsic aspect ratio.</p>
2883
2883
</ins>
2884
2884
</blockquote>
2885
2885
<li>
@@ -2894,7 +2894,7 @@ Boris Zbarsky.
2894
2894
<li>a definite <i>cross size</i>
2895
2895
</ul>
2896
2896
<p>then the <i>flex base size</i> is calculated from its inner <i>cross size</i>
2897
-
and the <i>flex item</i>’s intrinsic aspect ratio.
2897
+
and the <i>flex item</i>’s intrinsic aspect ratio.</p>
2898
2898
</ins>
2899
2899
</blockquote>
2900
2900
<li>
@@ -2936,7 +2936,7 @@ Boris Zbarsky.
2936
2936
when sized under a <i title="min-size constraint">min-content</i>/<i>max-size constraint</i> (respectively).
2937
2937
2938
2938
<p>
2939
-
See [[!CSS3-SIZING]] for a definition of the terms in this section.
2939
+
See [[!CSS3-SIZING]] for a definition of the terms in this section.</p>
2940
2940
</ins>
2941
2941
</blockquote>
2942
2942
<li>
@@ -3108,7 +3108,7 @@ Boris Zbarsky.
3108
3108
<ins><p>If the specified 'display-outside' of an in-flow child of an element that generates a <a>flex container</a>
3109
3109
is ''inline-level'',
3110
3110
it computes to ''block-level''.
3111
-
(This effectively converts any inline 'display' values to their block equivalents.)
3111
+
(This effectively converts any inline 'display' values to their block equivalents.)</p>
0 commit comments