Skip to content

Commit 62da498

Browse files
committed
[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.
1 parent a49382f commit 62da498

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

css-flexbox/Overview.bs

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Level: 1
66
Status: ED
77
Group: csswg
88
ED: http://dev.w3.org/csswg/css-flexbox/
9-
TR: http://www.w3.org/TR/css3-flexbox/
9+
TR: http://www.w3.org/TR/css-flexbox-1/
1010
Previous Version: http://www.w3.org/TR/2012/CR-css3-flexbox-20120918/
1111
Previous Version: http://www.w3.org/TR/2012/WD-css3-flexbox-20120612/
1212
Previous Version: http://www.w3.org/TR/2012/WD-css3-flexbox-20120322/
@@ -256,7 +256,7 @@ Overview</h3>
256256
can be laid out in any <a href="#flex-direction-property">flow direction</a>
257257
(leftwards, rightwards, downwards, or even upwards!)
258258
<li>
259-
can have their display order <a href="#flex-flow-row-reverse">reversed</a> or
259+
can have their display order <a href="#flex-direction-property">reversed</a> or
260260
<a href="#order-property">rearranged</a> at the style layer
261261
(i.e., visual order can be independent of source and speech order)
262262
<li>
@@ -304,7 +304,7 @@ Overview</h3>
304304
<pre>
305305
&lt;style>
306306
#deals {
307-
display: flex; /* Flex layout so items <a href="#align-self" title="Flex items stretch by default.">have equal height</a> */
307+
display: flex; /* Flex layout so items <a href="#align-items-property" title="Flex items stretch by default.">have equal height</a> */
308308
flex-flow: row wrap; /* <a href="http://dev.w3.org/csswg/css3-flexbox/#flex-flow-property">Allow items to wrap into multiple lines</a> */
309309
}
310310
.sale-item {
@@ -313,7 +313,7 @@ Overview</h3>
313313
}
314314
.sale-item > img {
315315
order: -1; /* <a href="#order-property">Shift image before other content (in visual order)</a> */
316-
align-self: center; /* <a href="#align-self">Center the image cross-wise (horizontally)</a> */
316+
align-self: center; /* <a href="#align-items-property">Center the image cross-wise (horizontally)</a> */
317317
}
318318
.sale-item > button {
319319
margin-top: auto; /* <a href="#auto-margins">Auto top margin pushes button to bottom</a> */
@@ -345,7 +345,7 @@ Overview</h3>
345345
<div class="col"></div>
346346
<div class="desc">
347347
<img src="images/computer.jpg" alt='You get: a white computer with matching keyboard and monitor.'>
348-
<h1 style="font-size: 1.4em;">Computer Starter Kit</h1>
348+
<h1 id=quiet-pubrules-1 style="font-size: 1.4em;">Computer Starter Kit</h1>
349349
<p>
350350
This is the best computer money can buy,
351351
if you don't have much money.
@@ -358,7 +358,7 @@ Overview</h3>
358358
</div>
359359
<div class="desc">
360360
<img src="images/printer.png" alt='You get: beautiful ASCII art.'>
361-
<h1 style="font-size: 1.4em;">Printer</h1>
361+
<h1 id=quiet-pubrules-2 style="font-size: 1.4em;">Printer</h1>
362362
<p>
363363
Only capable of printing
364364
ASCII art.
@@ -475,7 +475,7 @@ Flex Layout Box Model and Terminology</h2>
475475
</dl>
476476

477477
<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>
479479

480480
<pre class="propdef">
481481
Name: display
@@ -527,12 +527,12 @@ Flex Containers: the <a href="#display-flex">''flex''</a> and <a href="#display-
527527

528528
<p>
529529
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>
531531
in certain circumstances:
532532
the table in <a href="http://www.w3.org/TR/CSS2/visuren.html#dis-pos-flo">CSS 2.1 Section 9.7</a>
533533
is amended to contain an additional row,
534534
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.
536536

537537
<h2 id='flex-items'>
538538
Flex Items</h2>
@@ -646,7 +646,7 @@ Flex Item Z-Ordering</h3>
646646
<p>
647647
<i>Flex items</i> paint exactly the same as inline blocks [[!CSS21]],
648648
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>
650650
values other than <a value for=z-index>auto</a> create a stacking context
651651
even if 'position' is ''static''.
652652

@@ -1095,7 +1095,7 @@ Reordering and Accessibility</h4>
10951095
(such as <a href="http://www.w3.org/TR/css3-speech/">speech</a>).
10961096
Likewise, 'order' does not affect
10971097
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]]).
10991099
Authors <em>must</em> use 'order' only for visual, not logical, reordering of content;
11001100
style sheets that use 'order' to perform logical reordering are non-conforming.
11011101

@@ -1148,7 +1148,7 @@ Reordering and Accessibility</h4>
11481148

11491149
<p>
11501150
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,
11521152
and the main content will be as wide as necessary to fill the screen.
11531153
Additionally,
11541154
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>
13551355
</dl>
13561356

13571357
<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>.
13591359
<p class="note">
13601360
Note that the initial values of 'flex-grow' and 'flex-basis'
13611361
are different from their defaults when omitted in the 'flex' shorthand.
@@ -1402,7 +1402,7 @@ Common Values of 'flex'</h3>
14021402
Equivalent to ''flex: 0 0 auto''.
14031403
This value sizes the item according to the 'width'/'height' properties,
14041404
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>,
14061406
except that flex items are not allowed to shrink,
14071407
even in overflow situations.
14081408

@@ -2201,7 +2201,7 @@ Cross Size Determination</h3>
22012201
<ol>
22022202
<li>
22032203
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'',
22052205
and whose cross-axis margins are both non-<a value for=margin>auto</a>.
22062206
Find the largest of the distances between each item's baseline and its hypothetical outer cross-start edge,
22072207
and the largest of the distances between each item's baseline and its hypothetical outer cross-end edge,
@@ -2837,7 +2837,7 @@ Boris Zbarsky.
28372837
to help ensure that the item is large enough to fit its contents.
28382838
<p class='note'>
28392839
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.
28412841
</del>
28422842
<ins>
28432843
<p>On a <a>flex item</a> whose 'overflow' is not ''overflow/visible'',
@@ -2857,7 +2857,7 @@ Boris Zbarsky.
28572857
<blockquote>
28582858
<ins>
28592859
<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>
28612861
</ins>
28622862
</blockquote>
28632863
<li>
@@ -2870,7 +2870,7 @@ Boris Zbarsky.
28702870
if a <i>single-line</i> <i>flex container</i> has a definite cross size,
28712871
the outer <i>cross size</i> of any <i>flex items</i> with ''align-self: stretch''
28722872
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>
28742874
</ins>
28752875
</blockquote>
28762876
<li>Allow percentages inside a stretched auto-height flex item to resolve by requiring a relayout pass.
@@ -2879,7 +2879,7 @@ Boris Zbarsky.
28792879
<ins>
28802880
<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.
28812881

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>
28832883
</ins>
28842884
</blockquote>
28852885
<li>
@@ -2894,7 +2894,7 @@ Boris Zbarsky.
28942894
<li>a definite <i>cross size</i>
28952895
</ul>
28962896
<p>then the <i>flex base size</i> is calculated from its inner <i>cross size</i>
2897-
and the <i>flex item</i>&rsquo;s intrinsic aspect ratio.
2897+
and the <i>flex item</i>&rsquo;s intrinsic aspect ratio.</p>
28982898
</ins>
28992899
</blockquote>
29002900
<li>
@@ -2936,7 +2936,7 @@ Boris Zbarsky.
29362936
when sized under a <i title="min-size constraint">min-content</i>/<i>max-size constraint</i> (respectively).
29372937

29382938
<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>
29402940
</ins>
29412941
</blockquote>
29422942
<li>
@@ -3108,7 +3108,7 @@ Boris Zbarsky.
31083108
<ins><p>If the specified 'display-outside' of an in-flow child of an element that generates a <a>flex container</a>
31093109
is ''inline-level'',
31103110
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>
31123112
</ins>
31133113
</blockquote>
31143114
<li>

0 commit comments

Comments
 (0)