Skip to content

Commit 0b413ec

Browse files
committed
[css2] Hakon's edits according to the issues list
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402389
1 parent c942e85 commit 0b413ec

4 files changed

Lines changed: 32 additions & 25 deletions

File tree

css2/cascade.src

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: cascade.src,v 2.55 2005-09-13 19:16:22 bbos Exp $ -->
3+
<!-- $Id: cascade.src,v 2.56 2006-01-31 19:13:32 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Assigning property values, Cascading, and Inheritance</TITLE>
@@ -182,9 +182,10 @@ http://lists.w3.org/Archives/Member/w3c-css-wg/1998JanMar/0054.html
182182
<P>The <span class="index-def"
183183
title="@import"><dfn>'@import'</dfn></span> rule allows users to
184184
import style rules from other style sheets. Any @import rules must
185-
precede all rule sets in a style sheet. The '@import' keyword must be
186-
followed by the URI of the style sheet to include. A string is also
187-
allowed; it will be interpreted as if it had url(...) around it.
185+
precede all other rules (except the @charset rule, if present). The
186+
'@import' keyword must be followed by the URI of the style sheet to
187+
include. A string is also allowed; it will be interpreted as if it had
188+
url(...) around it.
188189

189190
<div class="example"><P>
190191
The following lines are equivalent in meaning and illustrate both

css2/conform.src

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: conform.src,v 2.70 2006-01-24 06:50:24 bbos Exp $ -->
3+
<!-- $Id: conform.src,v 2.71 2006-01-31 19:13:32 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Conformance: requirements and recommendations</TITLE>
@@ -401,19 +401,12 @@ support as experimental. A future level of CSS may specify this further.
401401

402402
<h2>Error conditions</h2>
403403

404-
<P>In general, this document does not specify error handling behavior
405-
for user agents (e.g., how they behave when they cannot find
406-
a resource designated by a URI).
404+
<p>In general, this document specifies error handling behavior
405+
throughout the specification. For example, see the <a
406+
href="syndata.html#parsing-errors">rules for handling parsing errors</a>.
407407

408-
<P>However, user agents must observe the <a
409-
href="syndata.html#parsing-errors">rules for handling parsing errors</a>.
410-
411-
<P>Since user agents may vary in how they handle error conditions,
412-
authors and users must not rely on specific error recovery behavior.
413-
414-
415-
<H2><span class="index-def" title="text/css"><a
416-
name="text-css">The text/css content type</a></span></H2>
408+
<h2><span class="index-def" title="text/css"><a
409+
name="text-css">The text/css content type</a></span></h2>
417410

418411
<p>CSS style sheets that exist in separate files are sent over the
419412
Internet as a sequence of bytes accompanied by encoding

css2/generate.src

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,12 @@ fragment and style sheet:</p>
141141
</pre>
142142
</div>
143143

144+
<div class="note">
145+
<p><strong>Note.</strong> This specification does not fully define the interaction of :before
146+
and :after with replaced elements (such as IMG in HTML). This will
147+
be defined in more detail in a future specification.</p>
148+
</div>
149+
144150
<h2><a name="content">The</a> <span
145151
class="propinst-content">'content'</span> property</h2>
146152

@@ -208,9 +214,13 @@ for the subject of the selector. The
208214
string is not parsed by the CSS processor. If the subject of the selector
209215
doesn't have an attribute X, an empty string is returned. The
210216
case-sensitivity of attribute names depends on the document language.
217+
</dl>
218+
219+
<div class="note">
211220
<strong>Note.</strong> In CSS 2.1, it is not possible to refer to
212221
attribute values for other elements than the subject of the selector.
213-
</dl>
222+
</div>
223+
214224

215225
<P>The <span class="propinst-display">'display'</span> property
216226
controls whether the content is placed in a block or inline box.
@@ -551,7 +561,7 @@ of a counter starts at the first element in the document that has a
551561
<span class="propinst-counter-reset">'counter-reset'</span> for that
552562
counter and includes the element's descendants and its following
553563
siblings with their descendants. However, it does not include any
554-
elements in the scope of a counter created by a 'counter-reset' on a
564+
elements in the scope of a counter with the same name created by a 'counter-reset' on a
555565
later sibling of the element or by a later 'counter-reset' on the same
556566
element.
557567

css2/page.src

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: page.src,v 2.44 2005-08-27 09:25:58 ihickson Exp $ -->
3+
<!-- $Id: page.src,v 2.45 2006-01-31 19:13:32 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Paged media</TITLE>
@@ -48,15 +48,18 @@ box</dfn></span> is a rectangular region that contains two areas:</p>
4848
<ul>
4949

5050
<li>The <span class="index-def" title="page area"><a
51-
name="page-area"><dfn>page area</dfn></a></span>. The page
52-
area includes the boxes laid out on that page.
53-
The edges of the first page area act as the initial <a
54-
href="visudet.html#containing-block-details">containing block</a>
55-
for layout that occurs between page breaks.
51+
name="page-area"><dfn>page area</dfn></a></span>. The page area
52+
includes the boxes laid out on that page. The edges of the first page
53+
area establish the rectangle that is the initial <a
54+
href="visudet.html#containing-block-details">containing block</a> of
55+
the document.
56+
5657

5758
<li>The margin area, which surrounds the page area.
5859
</ul>
5960

61+
<p>The size of a page box cannot be specified in CSS 2.1.
62+
6063
<P>Authors can specify the margins of a page box inside an <span
6164
class="index-def" title="@page">@page</span> rule. An @page rule
6265
consists of the keyword "@page", followed by an optional page

0 commit comments

Comments
 (0)