Skip to content

Commit 78a4135

Browse files
author
howcome
committed
machine-generated version
1 parent 6fea3b5 commit 78a4135

1 file changed

Lines changed: 14 additions & 9 deletions

File tree

css-gcpm/Overview.html

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<meta content="CSS Generated Content for Paged Media Module"
1212
name=dcterms.title>
1313
<meta content=text name=dcterms.type>
14-
<meta content=2013-09-11 name=dcterms.date>
14+
<meta content=2013-09-12 name=dcterms.date>
1515
<meta content="Håkon Wium Lie" name=dcterms.creator>
1616
<meta content=W3C name=dcterms.publisher>
1717
<meta content="http://dev.w3.org/csswg/css3-gcpm/" name=dcterms.identifier>
@@ -42,13 +42,13 @@
4242

4343
<h1>CSS Generated Content for Paged Media Module</h1>
4444

45-
<h2 class="no-num no-toc" id=w3c-working>Editor's Draft 11 September 2013</h2>
45+
<h2 class="no-num no-toc" id=w3c-working>Editor's Draft 12 September 2013</h2>
4646

4747
<dl>
4848
<dt>This version:
4949

5050
<dd><a
51-
href="http://dev.w3.org/csswg/css3-gcpm/">http://www.w3.org/TR/2013/ED-css3-gcpm-20130911/</a>
51+
href="http://dev.w3.org/csswg/css3-gcpm/">http://www.w3.org/TR/2013/ED-css3-gcpm-20130912/</a>
5252

5353
<dt>Latest version:
5454

@@ -4092,9 +4092,8 @@ <h3 id=selecting-certain-named-pages><span class=secno>13.1.
40924092

40934093
<p>In CSS2, <a
40944094
href="http://www.w3.org/TR/CSS2/page.html#page-selectors">first, left and
4095-
right pages</a> can be selected. This specification exte adds selector
4096-
grammar from <a
4097-
href="http://www.w3.org/TR/css3-selectors/#nth-child-pseudo"></a>. <!--
4095+
right pages</a> can be selected. This specification extends pages
4096+
selectors: <!--
40984097
<p>The 'first-page' pseudo-element is similar to the 'first-letter'
40994098
and 'first-line' elements; it is used to apply styling to the part of
41004099
an element that ends up on the starting page for that element. If the
@@ -4247,14 +4246,20 @@ <h3 id=page-and-column-pseudo-elements><span class=secno>13.3.
42474246
</pre>
42484247
</div>
42494248

4250-
<p>Several syntax variations are possible.
4249+
<p>It is also possible to place the code inside @page:
42514250

42524251
<div class=example>
42534252
<pre>
42544253
@page :left {
4255-
...
4254+
background: pink; /* declaration applies to pages */
42564255
{
4257-
p { text-align: left }
4256+
p { text-align: left } /* declaration applies to elements on page */
4257+
}
4258+
@top-center {
4259+
background: orange; /* declaration applies to margin box */
4260+
{
4261+
p { text-align: left } /* declaration applies to elements in margin box */
4262+
}
42584263
}
42594264
}
42604265
</pre>

0 commit comments

Comments
 (0)