Skip to content

Commit dd56266

Browse files
committed
x
1 parent 7038d0d commit dd56266

1 file changed

Lines changed: 30 additions & 24 deletions

File tree

css3-gcpm/Overview.html

Lines changed: 30 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ <h2 class="no-num no-toc" id=abstract>Abstract</h2>
7474
final presentation of the document. Along with two other CSS3 modules
7575
&ndash; multi-column layout and paged media &ndash; this module offers
7676
advanced functionality for presenting structured documents on paged media.
77-
This specification only applies to the &lsquo;<code
78-
class=property>print</code>&rsquo; media type.
77+
Paged media can be printed, or presented on screens.
7978

8079
<h2 class="no-num no-toc" id=status-of-this-document>Status of this
8180
document</h2>
@@ -244,9 +243,12 @@ <h2 class="no-num no-toc" id=table-of-contents><a name=contents>Table of
244243
</span>The &lsquo;<code class=property>first-page</code>&rsquo;
245244
pseudo-element</a>
246245

247-
<li><a href="#conformance"><span class=secno>16. </span>Conformance</a>
246+
<li><a href="#selecting-columns-and-pages"><span class=secno>16.
247+
</span>Selecting columns and pages</a>
248248

249-
<li><a href="#appendix-a-default-style-sheet"><span class=secno>17.
249+
<li><a href="#conformance"><span class=secno>17. </span>Conformance</a>
250+
251+
<li><a href="#appendix-a-default-style-sheet"><span class=secno>18.
250252
</span>Appendix A: Default style sheet</a>
251253

252254
<li class=no-num><a href="#acknowledgments">Acknowledgments</a>
@@ -272,8 +274,7 @@ <h2 id=introduction><span class=secno>1. </span>Introduction</h2>
272274
<p>This specification describes features often used in printed
273275
publications. Some of the proposed functionality (e.g., the new list style
274276
types, and border segments) may also used with other media types. However,
275-
this specification is only concerned with the &lsquo;<code
276-
class=property>print</code>&rsquo; media type.
277+
this specification is monstly concerned with paged media.
277278

278279
<h2 id=running-headers-and-footers><span class=secno>2. </span>Running
279280
headers and footers</h2>
@@ -3323,24 +3324,12 @@ <h2>Aligning baselines in multi-column layouts</h2>
33233324
<!--
33243325
<p class=note>A similar idea &mdash; 'line-stacking-strategy: grid-height' &mdash; was proposed in a <a href="http://www.w3.org/TR/css3-linebox/#line-stacking-strategy">previous version of the CSS3 line module</a>. The 'line-stacking-strategy' property is <a href="http://www.w3.org/TR/xsl/#line-stacking-strategy">used in XSL</a>.
33253326
-->
3326-
3327-
<h2 id=the-first-page-pseudo-element><span class=secno>15. </span>The
3328-
&lsquo;<code class=property>first-page</code>&rsquo; pseudo-element</h2>
33293327
<!--
3330-
<p>The 'first-page' pseudo-element selects the content of an element
3331-
which appears on the first page the element appears on. If the
3332-
element only appears on one page, all the content of the element is
3333-
selected.
3328+
div.chapter:columns-page(1) { }
33343329
-->
3335-
<!--
3336-
<p>The 'first-page' pseudo-element is used to apply styling to the
3337-
part of an element that ends up on the page where the element first
3338-
appears when formatted. The following properties apply to :first-page
3339-
pseudo-elements: column properties, background properties, margin
3340-
properties, border properties, and padding properties. UAs may apply
3341-
other properties as well.
3342-
-->
3343-
3330+
<h2 id=the-first-page-pseudo-element><span class=secno>15. </span>The
3331+
&lsquo;<code class=property>first-page</code>&rsquo; pseudo-element</h2>
3332+
33443333
<p>The &lsquo;<code class=property>first-page</code>&rsquo; pseudo-element
33453334
is used to apply styling to the part of an element that ends up on the
33463335
starting page for that element. If the whole element appears on the
@@ -3367,6 +3356,23 @@ <h2 id=the-first-page-pseudo-element><span class=secno>15. </span>The
33673356
<pre>
33683357
div.chapter { break-before: left }
33693358
div.chapter::first-page { padding-left: 4em }
3359+
</pre>
3360+
</div>
3361+
3362+
<h2 id=selecting-columns-and-pages><span class=secno>16. </span>Selecting
3363+
columns and pages</h2>
3364+
3365+
<p>Pseudo-elements are introduced to apply styling to the part of an
3366+
element that ends up on a certain page of column of that element. The
3367+
&lsquo;<code class=css>column(n)</code>&rsquo; pseudo-element selects
3368+
columns, and the &lsquo;<code class=css>page(n)</code>&rsquo;
3369+
psedo-element select columns.
3370+
3371+
<div class=example>
3372+
<pre>
3373+
div.chapter:column(3) /* the third column of the element */
3374+
div.chapter:column(2n) /* all even columns */
3375+
div.chapter:column(1):page(2) /* first column on page 2 */
33703376
</pre>
33713377
</div>
33723378
<!--
@@ -3429,11 +3435,11 @@ <h2>Page selection: nth()</h2>
34293435
34303436
-->
34313437

3432-
<h2 id=conformance><span class=secno>16. </span>Conformance</h2>
3438+
<h2 id=conformance><span class=secno>17. </span>Conformance</h2>
34333439

34343440
<p>TBD
34353441

3436-
<h2 id=appendix-a-default-style-sheet><span class=secno>17.
3442+
<h2 id=appendix-a-default-style-sheet><span class=secno>18.
34373443
</span>Appendix A: Default style sheet</h2>
34383444

34393445
<pre>

0 commit comments

Comments
 (0)