Skip to content

Commit 72acb70

Browse files
committed
[css2] Generated. Do not edit!
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402990
1 parent 20e18ba commit 72acb70

2 files changed

Lines changed: 17 additions & 3 deletions

File tree

css2/page.html

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,16 +101,30 @@ <h2>13.2 <a name="page-box">Page boxes</a>: the @page rule</h2>
101101
<P>Authors can specify the margins of a page box inside an <a name="x3"><span
102102
class="index-def" title="@page">@page</span></a> rule. An @page rule
103103
consists of the keyword "@page", followed by an optional page
104-
selector, followed by a block of declarations. The declarations in an
104+
selector, followed by a block containing declarations and
105+
at-rules. The declarations in an
105106
@page rule are said to be in the <span class="index-def"
106107
title="page-context"><a name="page-context"><dfn>page
107108
context</dfn></a></span>.</p>
108109

110+
<p class=note>Note: CSS level&nbsp;2 has no at-rules that may appear
111+
inside @page, but such at-rules are expected to be defined in
112+
level&nbsp;3.
113+
109114
<P>The <a name="x5"><span class="index-def" title="page selector"><dfn>page
110115
selector</dfn></span></a> specifies for which pages the declarations
111116
apply. In CSS&nbsp;2.1, page selectors may designate the first page,
112117
all left pages, or all right pages</p>
113118

119+
<P>The rules for handling malformed declarations, malformed
120+
statements, and invalid at-rules inside @page are as defined in <a
121+
href="syndata.html#parsing-errors">section&nbsp;4.2,</a> with the
122+
following addition: when the UA expects the start of a declaration or
123+
at-rule (i.e., an IDENT token or an ATKEYWORD token) but finds an
124+
unexpected token instead, that token is considered to be the first
125+
token of a malformed declaration. I.e., the rule for malformed
126+
declarations, rather than malformed statements is used to determine
127+
which tokens to ignore in that case.
114128

115129
<h3>13.2.1 <a name="page-margins">Page margins</a></h3>
116130

css2/syndata.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ <h2>4.2 <a name="parsing-errors">Rules for handling parsing
739739

740740

741741

742-
<li><strong>Invalid at-keywords.</strong> User agents must <span
742+
<li><strong>At-rules with unknown at-keywords.</strong> User agents must <span
743743
class="index-inst" title="ignore"><a name="x28" href="#ignore">ignore</a></span>
744744
an invalid at-keyword together with everything following it, up to the
745745
end of the block that contains the invalid at-keyword, or up to and
@@ -1114,7 +1114,7 @@ <h3>4.3.4 <a name="uri">URLs and URIs</a></h3>
11141114
delimiters in CSS, the entire URI value must be treated as a single
11151115
unit by the tokenizer and normal tokenization behavior does not apply
11161116
within a URI value. Therefore comments are not allowed within a URI
1117-
value.
1117+
value.</em>
11181118
</div>
11191119

11201120
<p> In order to create modular style sheets that are not dependent on

0 commit comments

Comments
 (0)