Skip to content

Commit af818c7

Browse files
committed
Now use article element in examples
1 parent 835dcd6 commit af818c7

2 files changed

Lines changed: 25 additions & 25 deletions

File tree

css3-regions/Overview.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -596,8 +596,8 @@ <h3 id=named-flows-and-regions><span class=secno>1.1. </span>Named flows
596596
CSS regions module properties provide that mechanism.
597597

598598
<p>The following example illustrates how the content of an
599-
<code>article</code> element becomes a <a href="#named-flow0">named
600-
flow</a> and how boxes marked with &lsquo;<code
599+
<code>&lt;article&gt;</code> element becomes a <a
600+
href="#named-flow0">named flow</a> and how boxes marked with &lsquo;<code
601601
class=css>region1</code>&rsquo;, &lsquo;<code
602602
class=css>region2</code>&rsquo;, &lsquo;<code
603603
class=css>region3</code>&rsquo; and &lsquo;<code
@@ -607,7 +607,7 @@ <h3 id=named-flows-and-regions><span class=secno>1.1. </span>Named flows
607607
<div class=example>
608608
<pre>
609609
&lt;style&gt;
610-
#article {
610+
article {
611611
<strong>flow-into: article_flow;</strong>
612612
}
613613

@@ -1455,7 +1455,7 @@ <h3 id=the-region-overflow-property><span class=secno>3.4. </span>The
14551455
<div class=example>
14561456
<pre>
14571457
&lt;style&gt;
1458-
#article {
1458+
article {
14591459
flow-into: "article";
14601460
}
14611461

@@ -1467,7 +1467,7 @@ <h3 id=the-region-overflow-property><span class=secno>3.4. </span>The
14671467

14681468
&lt;/style&gt;
14691469

1470-
&lt;div id="article"&gt;...&lt;/div&gt;
1470+
&lt;article&gt;...&lt;/article&gt;
14711471

14721472
&lt;div id="region_1"&gt;&lt;/div&gt;
14731473
&lt;div id="region_2"&gt;&lt;/div&gt;
@@ -1803,7 +1803,7 @@ <h2 id=multi-column-regions><span class=secno>4. </span>Multi-column
18031803
}
18041804
&lt;/style&gt;
18051805

1806-
&lt;div id="article"&gt;...&lt;div&gt;
1806+
&lt;article&gt;...&lt;/article&gt;
18071807
&lt;div id="multicol"&gt&lt;/div&gt;
18081808
&lt;div id="remainder"&gt;&lt;/div&gt;</pre>
18091809

@@ -1827,7 +1827,7 @@ <h2 id=multi-column-regions><span class=secno>4. </span>Multi-column
18271827
}
18281828
&lt;/style&gt;
18291829

1830-
&lt;div id="article"&gt;...&lt;div&gt;
1830+
&lt;article&gt;...&lt;/article&gt;
18311831
&lt;div id="flex"&gt;
18321832
&lt;div /&gt;
18331833
&lt;div /&gt;
@@ -2556,7 +2556,7 @@ <h3 id=regions-visual-formatting-examples><span class=secno>7.4.
25562556
<div class=example>
25572557
<pre>
25582558
&lt;style&gt;
2559-
#article {
2559+
article {
25602560
flow-into: article;
25612561
}
25622562

@@ -2592,10 +2592,10 @@ <h3 id=regions-visual-formatting-examples><span class=secno>7.4.
25922592

25932593
&lt;/style&gt;
25942594
&lt;body&gt;
2595-
&lt;div id="article"&gt;
2595+
&lt;article&gt;
25962596
&lt;p style="region-break-after:always;"&gt;I am not a ... &lt;/p&gt;
25972597
&lt;p&gt;...&lt;/p&gt;
2598-
&lt;/div&gt;
2598+
&lt;/article&gt;
25992599
&lt;div id="rA"&gt;&lt;/div&gt;
26002600
&lt;div id="rB"&gt;&lt;/div&gt;
26012601
&lt;div id="rC"&gt;&lt;/div&gt;
@@ -3331,7 +3331,7 @@ <h2 class=no-num id=intro-example-code>Appendix A. Example Code for
33313331
class=highlight>/*
33323332
* Creates the named flow
33333333
*/</span>
3334-
#article {
3334+
article {
33353335
<strong>flow-into: article_flow;</strong>
33363336
}
33373337

@@ -3352,15 +3352,15 @@ <h2 class=no-num id=intro-example-code>Appendix A. Example Code for
33523352
through the region chain.
33533353
--&gt;</span>
33543354

3355-
&lt;div <em>id="article"</em>&gt;
3355+
&lt;article&gt;
33563356
&lt;h1&gt;Introduction&lt;/h1&gt;
33573357
&lt;p&gt;This is an example ...&lt;/p&gt;
33583358

33593359
&lt;h2&gt;More Details&lt;/h2&gt;
33603360
&lt;p&gt;This illustrates ...&lt;/p&gt;
33613361
&lt;p&gt;Then, the example ...&lt;/p&gt;
33623362
&lt;p&gt;Finally, this ...&lt;/p&gt;
3363-
&lt;/div&gt;
3363+
&lt;/article&gt;
33643364

33653365
<span
33663366
class=highlight>&lt;!--

css3-regions/Overview.src.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -384,15 +384,15 @@ <h3 id="named-flows-and-regions">Named flows and region chains</h3>
384384
The CSS regions module properties provide that mechanism.</p>
385385

386386
<p>The following example illustrates
387-
how the content of an <code>article</code> element
387+
how the content of an <code>&lt;article&gt;</code> element
388388
becomes a <span>named flow</span>
389389
and how boxes marked with 'region1', 'region2', 'region3' and 'region4' IDs
390390
become CSS Regions that consume the 'article_flow' content.</p>
391391

392392
<div class="example">
393393
<pre>
394394
&lt;style&gt;
395-
#article {
395+
article {
396396
<strong>flow-into: article_flow;</strong>
397397
}
398398

@@ -1304,7 +1304,7 @@ <h3 id="the-region-overflow-property">The region-overflow property</h3>
13041304
<div class="example">
13051305
<pre>
13061306
&lt;style&gt;
1307-
#article {
1307+
article {
13081308
flow-into: "article";
13091309
}
13101310

@@ -1316,7 +1316,7 @@ <h3 id="the-region-overflow-property">The region-overflow property</h3>
13161316

13171317
&lt;/style&gt;
13181318

1319-
&lt;div id="article"&gt;...&lt;/div&gt;
1319+
&lt;article&gt;...&lt;/article&gt;
13201320

13211321
&lt;div id="region_1"&gt;&lt;/div&gt;
13221322
&lt;div id="region_2"&gt;&lt;/div&gt;
@@ -1610,7 +1610,7 @@ <h2 id="multi-column-regions">Multi-column regions</h2>
16101610
}
16111611
&lt;/style&gt;
16121612

1613-
&lt;div id="article"&gt;...&lt;div&gt;
1613+
&lt;article&gt;...&lt;/article&gt;
16141614
&lt;div id="multicol"&gt&lt;/div&gt;
16151615
&lt;div id="remainder"&gt;&lt;/div&gt;</pre>
16161616
<p>is equivalent in rendering to, for example:</p>
@@ -1632,7 +1632,7 @@ <h2 id="multi-column-regions">Multi-column regions</h2>
16321632
}
16331633
&lt;/style&gt;
16341634

1635-
&lt;div id="article"&gt;...&lt;div&gt;
1635+
&lt;article&gt;...&lt;/article&gt;
16361636
&lt;div id="flex"&gt;
16371637
&lt;div /&gt;
16381638
&lt;div /&gt;
@@ -2243,7 +2243,7 @@ <h3 id="regions-visual-formatting-examples">Regions visual formatting example</h
22432243
<div class="example">
22442244
<pre>
22452245
&lt;style&gt;
2246-
#article {
2246+
article {
22472247
flow-into: article;
22482248
}
22492249

@@ -2279,10 +2279,10 @@ <h3 id="regions-visual-formatting-examples">Regions visual formatting example</h
22792279

22802280
&lt;/style&gt;
22812281
&lt;body&gt;
2282-
&lt;div id="article"&gt;
2282+
&lt;article&gt;
22832283
&lt;p style="region-break-after:always;"&gt;I am not a ... &lt;/p&gt;
22842284
&lt;p&gt;...&lt;/p&gt;
2285-
&lt;/div&gt;
2285+
&lt;/article&gt;
22862286
&lt;div id="rA"&gt;&lt;/div&gt;
22872287
&lt;div id="rB"&gt;&lt;/div&gt;
22882288
&lt;div id="rC"&gt;&lt;/div&gt;
@@ -2706,7 +2706,7 @@ <h2 id="intro-example-code" class="no-num">Appendix A. Example Code for Introduc
27062706
<span class="highlight">/*
27072707
* Creates the named flow
27082708
*/</span>
2709-
#article {
2709+
article {
27102710
<strong>flow-into: article_flow;</strong>
27112711
}
27122712

@@ -2725,15 +2725,15 @@ <h2 id="intro-example-code" class="no-num">Appendix A. Example Code for Introduc
27252725
through the region chain.
27262726
--&gt;</span>
27272727

2728-
&lt;div <em>id="article"</em>&gt;
2728+
&lt;article</em>&gt;
27292729
&lt;h1&gt;Introduction&lt;/h1&gt;
27302730
&lt;p&gt;This is an example ...&lt;/p&gt;
27312731

27322732
&lt;h2&gt;More Details&lt;/h2&gt;
27332733
&lt;p&gt;This illustrates ...&lt;/p&gt;
27342734
&lt;p&gt;Then, the example ...&lt;/p&gt;
27352735
&lt;p&gt;Finally, this ...&lt;/p&gt;
2736-
&lt;/div&gt;
2736+
&lt;/article&gt;
27372737

27382738
<span class="highlight">&lt;!--
27392739
For this example, we layout the regions with a grid.

0 commit comments

Comments
 (0)