Skip to content

Commit f2510a6

Browse files
committed
[css-flexbox] Fix links.
1 parent cb1b9c4 commit f2510a6

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

css-flexbox/Overview.bs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Former Editor: Neil Deakin, Mozilla Corporation, enndeakin@gmail.com
2424
Former Editor: Ian Hickson, formerly of Opera Software, ian@hixie.ch
2525
Former Editor: David Hyatt, formerly of Netscape Corporation, hyatt@apple.com
2626
!Issues List: <a href="http://dev.w3.org/csswg/css-flexbox-1/issues-lc-20140325">http://dev.w3.org/csswg/css-flexbox-1/issues-lc-20140325</a>
27-
Ignored Terms: column-*, auto, first formatted line, first letter
27+
Ignored Terms: column-*, auto, first formatted line, first letter, static position
2828
Link Defaults: css21 (property) margin/min-width/min-height/max-width/max-height, css-break-3 (property) break-after
2929
</pre>
3030
<style>
@@ -254,7 +254,7 @@ Overview</h3>
254254
can be laid out in any <a href="#flex-direction-property">flow direction</a>
255255
(leftwards, rightwards, downwards, or even upwards!)
256256
<li>
257-
can have their display order <a href="#valdef-flex-direction-row-reverse">reversed</a> or
257+
can have their display order <a value for="flex-direction" title="row-reverse">reversed</a> or
258258
<a href="#order-property">rearranged</a> at the style layer
259259
(i.e., visual order can be independent of source and speech order)
260260
<li>
@@ -302,19 +302,19 @@ Overview</h3>
302302
<pre>
303303
&lt;style>
304304
#deals {
305-
display: flex; /* Flex layout so items <a href="#propdef-align-self" title="Flex items stretch by default.">have equal height</a> */
306-
flex-flow: row wrap; /* <a href="http://dev.w3.org/csswg/css3-flexbox/#flex-flow-property">Allow items to wrap into multiple lines</a> */
305+
display: flex; /* Flex layout so items <a property title="align-self">have equal height</a> */
306+
flex-flow: row wrap; /* <a section href="#flex-flow-property">Allow items to wrap into multiple lines</a> */
307307
}
308308
.sale-item {
309309
display: flex; /* Lay out each item using flex layout */
310-
flex-flow: column; /* <a href="#flex-flow-property">Lay out item's contents vertically</a> */
310+
flex-flow: column; /* <a section href="#flex-flow-property">Lay out item's contents vertically</a> */
311311
}
312312
.sale-item > img {
313-
order: -1; /* <a href="#order-property">Shift image before other content (in visual order)</a> */
314-
align-self: center; /* <a href="#propdef-align-self">Center the image cross-wise (horizontally)</a> */
313+
order: -1; /* <a section href="#order-property">Shift image before other content (in visual order)</a> */
314+
align-self: center; /* <a property title="align-self">Center the image cross-wise (horizontally)</a> */
315315
}
316316
.sale-item > button {
317-
margin-top: auto; /* <a href="#auto-margins">Auto top margin pushes button to bottom</a> */
317+
margin-top: auto; /* <a section href="#auto-margins">Auto top margin pushes button to bottom</a> */
318318
}
319319
&lt;/style></pre>
320320
<pre>
@@ -1309,7 +1309,7 @@ Reordering and Accessibility</h4>
13091309

13101310
<p>
13111311
As an added bonus,
1312-
the columns will all be <a href="#valuedef-stretch0">equal-height</a> by default,
1312+
the columns will all be <a value for="align-self" title="stretch">equal-height</a> by default,
13131313
and the main content will be as wide as necessary to fill the screen.
13141314
Additionally,
13151315
this can then be combined with media queries to switch to an all-vertical layout on narrow screens:

css-flexbox/Overview.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ <h3 class="heading settled" data-level=1.1 id=overview><span class=secno>1.1 </s
393393
can be laid out in any <a href=#flex-direction-property>flow direction</a>
394394
(leftwards, rightwards, downwards, or even upwards!)
395395
<li>
396-
can have their display order <a href=#valdef-flex-direction-row-reverse>reversed</a> or
396+
can have their display order <a class=css data-link-for=flex-direction data-link-type=value href=#valdef-flex-direction-row-reverse title=row-reverse>reversed</a> or
397397
<a href=#order-property>rearranged</a> at the style layer
398398
(i.e., visual order can be independent of source and speech order)
399399
<li>
@@ -440,19 +440,19 @@ <h3 class="heading settled" data-level=1.1 id=overview><span class=secno>1.1 </s
440440

441441
<pre>&lt;style&gt;
442442
#deals {
443-
display: flex; /* Flex layout so items <a href=#propdef-align-self title="Flex items stretch by default.">have equal height</a> */
444-
flex-flow: row wrap; /* <a href=http://dev.w3.org/csswg/css3-flexbox/#flex-flow-property>Allow items to wrap into multiple lines</a> */
443+
display: flex; /* Flex layout so items <a data-link-type=property href=#propdef-align-self title=align-self>have equal height</a> */
444+
flex-flow: row wrap; /* <a data-section="" href=#flex-flow-property>Allow items to wrap into multiple lines</a> */
445445
}
446446
.sale-item {
447447
display: flex; /* Lay out each item using flex layout */
448-
flex-flow: column; /* <a href=#flex-flow-property>Lay out item’s contents vertically</a> */
448+
flex-flow: column; /* <a data-section="" href=#flex-flow-property>Lay out item’s contents vertically</a> */
449449
}
450450
.sale-item &gt; img {
451-
order: -1; /* <a href=#order-property>Shift image before other content (in visual order)</a> */
452-
align-self: center; /* <a href=#propdef-align-self>Center the image cross-wise (horizontally)</a> */
451+
order: -1; /* <a data-section="" href=#order-property>Shift image before other content (in visual order)</a> */
452+
align-self: center; /* <a data-link-type=property href=#propdef-align-self title=align-self>Center the image cross-wise (horizontally)</a> */
453453
}
454454
.sale-item &gt; button {
455-
margin-top: auto; /* <a href=#auto-margins>Auto top margin pushes button to bottom</a> */
455+
margin-top: auto; /* <a data-section="" href=#auto-margins>Auto top margin pushes button to bottom</a> */
456456
}
457457
&lt;/style&gt;</pre>
458458
<pre>&lt;section id='deals'&gt;
@@ -1309,7 +1309,7 @@ <h4 class="heading settled" data-level=5.4.1 id=order-accessibility><span class=
13091309

13101310
<p>
13111311
As an added bonus,
1312-
the columns will all be <a href=#valuedef-stretch0>equal-height</a> by default,
1312+
the columns will all be <a class=css data-link-for=align-self data-link-type=value href=#valdef-align-items-align-self-stretch title=stretch>equal-height</a> by default,
13131313
and the main content will be as wide as necessary to fill the screen.
13141314
Additionally,
13151315
this can then be combined with media queries to switch to an all-vertical layout on narrow screens:

0 commit comments

Comments
 (0)