Skip to content

Commit 300e3e6

Browse files
committed
[css2] Status section for CR and final issues (Håkon's, but edited by Kimberly).
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402208
1 parent b8d4146 commit 300e3e6

File tree

7 files changed

+96
-90
lines changed

7 files changed

+96
-90
lines changed

css2/cascade.src

Lines changed: 56 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: cascade.src,v 2.46 2003-10-17 17:52:46 bbos Exp $ -->
3+
<!-- $Id: cascade.src,v 2.47 2004-02-14 00:59:12 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>
7+
<!-- Changed by Kimberly Blessing, 2004-02-13 -->
78
</HEAD>
89
<BODY>
910

@@ -22,11 +23,11 @@ calculation: the value is determined through specification (the
2223
(the "computed value"), and finally transformed according to
2324
the limitations of the local environment (the "actual value").
2425

25-
<h3>
26-
<span class="index-def" title="specified value">
26+
27+
<h3><span class="index-def" title="specified value">
2728
<a name="specified-value">Specified values</a></span></h3>
2829

29-
<p>User agents must first assign a specified value to a property based
30+
<p>User agents must first assign a specified value to each property based
3031
on the following mechanisms (in order of precedence):</p>
3132

3233
<ol>
@@ -35,22 +36,17 @@ on the following mechanisms (in order of precedence):</p>
3536
<li>Otherwise use the property's <span class="index-def" title="initial value">initial value</span>. The initial value of each property is indicated in the property's definition.
3637
</ol>
3738

38-
<p>Since it has no parent, the root of the <a
39-
href="conform.html#doctree">document tree</a> cannot use values from
40-
the parent element; in this case, the initial value is used if
41-
necessary.
42-
4339

4440
<h3><span class="index-def" title="computed value">
45-
<a name="computed-value">Computed values</a>
46-
</span>
47-
</h3>
41+
<a name="computed-value">Computed values</a></span></h3>
42+
43+
<p>Specified values are resolved to computed values during the cascade;
44+
for example valid relative URIs are made absolute and 'em' and 'ex'
45+
units are computed to pixel or absolute lengths. Computing a value
46+
never requires the user agent to render the document.
4847

49-
<p>Specified values may be absolute (i.e., they are not specified
50-
relative to another value, as in 'red' or '2mm') or relative (i.e.,
51-
they are specified relative to another value, as in 'auto', '2em', and
52-
'12%'). For absolute values, no computation is needed to find the
53-
computed value.
48+
<p>The computed value of invalid and absolute URIs is the specified
49+
value.
5450

5551
<p>Relative values, on the other hand, must be transformed into
5652
computed values: percentages must be multiplied by a reference value
@@ -74,15 +70,27 @@ properties may define the computed value of a property for an element
7470
to depend on whether the property applies to that element.
7571

7672

73+
<h3><span class="index-def" title="used value">
74+
<a name="used-value">Used values</a></span></h3>
75+
76+
<p>Computed values can be relative to each other; for example a width
77+
could be set as a percentage, which is dependent on the containing
78+
block's width. The <dfn id="usedValue">used value</dfn> is the
79+
result of taking the computed value and resolving these dependencies
80+
into a final absolute value used for the actual layout.
81+
82+
7783
<h3><span class="index-def" title="actual value">
7884
<a name="actual-value">Actual values</a></span></h3>
7985

80-
<p>A computed value is in principle ready to be used, but a user agent
81-
may not be able to make use of the value in a given environment. For
82-
example, a user agent may only be able to render borders with integer
83-
pixel widths and may therefore have to approximate the computed
84-
width. The actual value is the computed value after any approximations
85-
have been applied.
86+
<p>A used value is in principle the value used for rendering, but a
87+
user agent may not be able to make use of the value in a given
88+
environment. For example, a user agent may only be able to render
89+
borders with integer pixel widths and may therefore have to
90+
approximate the computed width, or the user agent may be forced to
91+
use only black and white shades instead of full colour. The actual
92+
value is the used value after any approximations have been applied.
93+
8694

8795
<h2><a name="inheritance">Inheritance</a></h2>
8896

@@ -114,7 +122,7 @@ For example, given the following style sheet:</P>
114122

115123
<pre>
116124
body { font-size: 10pt }
117-
h1 { font-size: 120% }
125+
h1 { font-size: 130% }
118126
</pre>
119127

120128
<p>and this document fragment:
@@ -126,13 +134,13 @@ h1 { font-size: 120% }
126134
</pre>
127135

128136
<p>the <span class="prop-inst-font-size">'font-size'</span> property
129-
for the H1 element will have the computed value '12pt' (120% times
137+
for the H1 element will have the computed value '13pt' (130% times
130138
10pt, the parent's value). Since the computed value of <span
131139
class="propinst-font-size">'font-size'</span> is inherited, the EM
132-
element will have the computed value '12pt' as well. If the
133-
user agent does not have the 12pt font available, the
140+
element will have the computed value '13pt' as well. If the
141+
user agent does not have the 13pt font available, the
134142
actual value of <span class="propinst-font-size">'font-size'</span>
135-
for both H1 and EM might be, for example, '11pt'.
143+
for both H1 and EM might be, for example, '12pt'.
136144
</div>
137145

138146
<h3>The <span class="index-def" title="inherit, definition
@@ -239,10 +247,16 @@ browsers, the EM element in HTML is presented using an italic
239247
font). See <a href="sample.html">A sample style sheet for HTML
240248
</a> for a recommended default style sheet for HTML documents.
241249

242-
<P>Note that the default style sheet may change if system settings are
243-
modified by the user (e.g., system colors). However, due to
244-
limitations in a user agent's internal implementation, it may be
245-
impossible to change the values in the default style sheet.
250+
<p class="note">Note that the user may modify system settings (e.g.
251+
system colors) that affect the default style sheet. However, some user
252+
agent implementations make it impossible to change the values in the
253+
default style sheet.
254+
255+
256+
Note that the user may modify system settings
257+
(e.g. system colors) that affect the default style sheet. However,
258+
some user agent implementations make it impossible to change the
259+
values in the default style sheet.
246260
</ul>
247261

248262
<P>Style sheets from these three origins will overlap in scope, and
@@ -257,10 +271,6 @@ rules in user style sheets. Precedence is reversed, however, for
257271
"!important" rules. All user and author rules have more weight
258272
than rules in the UA's default style sheet.
259273

260-
<P>Rules specified in a given style sheet override rules of the same
261-
weight imported from other style sheets. Imported style sheets can
262-
themselves import and override other style sheets, recursively, and
263-
the same precedence rules apply.
264274

265275
<H3><a name="cascading-order">Cascading order</a></H3>
266276

@@ -274,7 +284,7 @@ must apply the following sorting order:</p>
274284
Declarations apply if the associated selector <A
275285
HREF="selector.html">matches</A> the element in question.
276286

277-
<LI>Sort by weight (normal or important) and origin (author, user, or user agent). In ascending order:
287+
<LI>Sort by importance (normal or important) and origin (author, user, or user agent). In ascending order:
278288

279289
<ol>
280290
<li>user agent style sheets
@@ -311,23 +321,20 @@ and user style sheets. By default, rules in an author's style
311321
sheet override those in a user's style sheet (see cascade
312322
rule 3).
313323

314-
<P>However, for balance, an "!important" declaration (the keywords "!"
315-
and "important" follow the declaration) takes precedence over a normal
316-
declaration. Both author and user style sheets may contain
324+
<P>However, for balance, an "!important" declaration (the delimiter token
325+
"!" and keyword "important" follow the declaration) takes precedence over
326+
a normal declaration. Both author and user style sheets may contain
317327
"!important" declarations, and user "!important" rules override author
318328
"!important" rules. This CSS feature improves accessibility
319329
of documents by giving users with special requirements (large
320330
fonts, color combinations, etc.) control over presentation.
321331

322-
323-
324332
<P>Declaring a <span class="index-inst" title="shorthand
325333
property">shorthand property</span> (e.g., <span
326334
class="propinst-background">'background'</span>) to be "!important" is
327335
equivalent to declaring all of its sub-properties to be "!important".
328336

329337
<div class="example">
330-
331338
<P>The first rule in the user's style sheet in the following example
332339
contains an "!important" declaration, which overrides the corresponding
333340
declaration in the author's style sheet. The second declaration
@@ -347,7 +354,7 @@ p { font-size: 18pt }
347354

348355
/* From the author's style sheet */
349356
p { text-indent: 1.5em !important }
350-
p { font: 12pt sans-serif !important }
357+
p { font: normal 12pt sans-serif !important }
351358
p { font-size: 24pt }
352359
</PRE>
353360
</div>
@@ -418,7 +425,7 @@ defined as an "ID" in the source document's DTD.
418425

419426
<H3>Precedence of non-CSS presentational hints</H3>
420427

421-
<P>The UA may choose to honor presentational attributes in the source
428+
<P>The UA may choose to honor presentational attributes an HTML source
422429
document. If so, these attributes are translated to the corresponding
423430
CSS rules with specificity equal to 0, and are treated as if they were
424431
inserted at the start of the author style sheet. They may therefore be
@@ -437,13 +444,11 @@ onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onload,
437444
onload, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup,
438445
onreset, onselect, onsubmit, onunload, onunload, profile, prompt,
439446
readonly, rel, rev, rowspan, scheme, scope, selected, shape, span,
440-
src, standby, start, style, summary, title, type, usemap, value,
441-
valuetype, version.
447+
src, standby, start, style, summary, title, type (except on LI, OL and
448+
UL elements), usemap, value, valuetype, version.
442449

443-
<P>For XHTML and other languages written in XML, no attribute should
444-
be considered presentational. The styling of elements and
445-
non-presentational attributes should be handled in the user agent
446-
stylesheet.
450+
<P>For other languages, all document language-based styling should be
451+
handled in the user agent style sheet.
447452

448453
<div class="example">
449454

css2/conform.src

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: conform.src,v 2.56 2003-06-09 15:44:07 bbos Exp $ -->
3+
<!-- $Id: conform.src,v 2.57 2004-02-14 00:59:12 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Conformance: requirements and recommendations</TITLE>
7+
<!-- Changed by Kimberly Blessing, 2004-02-13 -->
78
</HEAD>
89
<BODY>
910
<H1>Conformance: Requirements and Recommendations</H1>
@@ -130,7 +131,7 @@ sub-elements.
130131

131132
<dt><strong><span class="index-def" title="ignore">Ignore</span></strong>
132133

133-
<dd>This term has three slightly different meanings this specification. First, a CSS parser must follow certain rules when it discovers unknown or illegal syntax in a style sheet. The parser must then ignore certain parts of the style sheets. The exact rules for what parts must be ignored is given in these section: <a href="syndata.html#q8">Declarations and properties</a>, <a href="syndata.html#parsing-errors">Rules for handling parsing errors</a>, <a href="syndata.html#q20">Unsupported Values</a>, or may be explained in the text where the term "ignore" appears. Second, a user agent may (and, in some cases must) disregard certain properties or values in the style sheet even if the syntax is legal. For example, table-column-group elements cannot have borders around them, so the border properties must be ignored.
134+
<dd>This term has two slightly different meanings this specification. First, a CSS parser must follow certain rules when it discovers unknown or illegal syntax in a style sheet. The parser must then ignore certain parts of the style sheets. The exact rules for what parts must be ignored is given in these section: <a href="syndata.html#q8">Declarations and properties</a>, <a href="syndata.html#parsing-errors">Rules for handling parsing errors</a>, <a href="syndata.html#q20">Unsupported Values</a>, or may be explained in the text where the term "ignore" appears. Second, a user agent may (and, in some cases must) disregard certain properties or values in the style sheet even if the syntax is legal. For example, table-column-group elements cannot have borders around them, so the border properties must be ignored.
134135

135136

136137
<dt><strong><span class="index-def" title="rendered

css2/cover.src

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757
<p class="copyright"><a
5858
href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">
59-
Copyright</a> &copy; 2003 <a href="http://www.w3.org/"><abbr
59+
Copyright</a> &copy; 2004 <a href="http://www.w3.org/"><abbr
6060
title="World Wide Web Consortium">W3C</abbr></a><sup>&reg;</sup> (<a
6161
href="http://www.lcs.mit.edu/"><abbr title="Massachusetts Institute
6262
of Technology">MIT</abbr></a>, <a
@@ -104,36 +104,34 @@ that are implemented interoperably at the date of publication of the Recommendat
104104

105105
<h2 id=status>Status of this document</h2>
106106

107-
<p>This is a W3C <a
108-
href="http://www.w3.org/Consortium/Process/Process-19991111/tr.html#last-call">Last
109-
Call Working Draft</a>. "Last call" means that the working group
110-
believes that this specification is ready and therefore wishes this to
111-
be the last call for comments. If the feedback is positive, the
112-
working group plans to submit it for consideration as a <a
113-
href="http://www.w3.org/TR/#About">W3C Candidate Recommendation</a>.
114-
Comments can be sent until <strong>10 October 2003.</strong>
107+
<p><em>This section describes the status of this document at the time
108+
of its publication. Other documents may supersede it. A list of
109+
current W3C publications and the latest revision of this technical
110+
report can be found in the <a href="http://www.w3.org/TR/">W3C
111+
technical reports index at http://www.w3.org/TR/</a>.</em>
115112

116-
<p>This document is produced by the <a
117-
href="http://www.w3.org/Style/Group/">CSS working group</a> (part of
118-
the <a href="http://www.w3.org/Style/">Style Activity</a>, see <a
119-
href="http://www.w3.org/Style/Activity">summary</a>).
113+
<p>This is a W3C Candidate Recommendation, which means the
114+
specification has been widely reviewed and W3C recommends that it be
115+
implemented. It will remain Candidate Recommendation <a
116+
href="#crec">at least until September 2004.</a>
117+
118+
<p>Publication as a Candidate Recommendation does not imply
119+
endorsement by the W3C Membership. It is inappropriate to cite this
120+
document as other than work in progress.
120121

121122
<p>The (<a
122123
href="http://lists.w3.org/Archives/Public/www-style/">archived</a>)
123124
public mailing list <a
124125
href="mailto:www-style@w3.org">www-style@w3.org</a> (see <a
125126
href="http://www.w3.org/Mail/Request">instructions</a>) is preferred
126-
for discussion of this and other drafts in the Style area. When
127-
commenting on this draft, please put the text "CSS21" in the subject,
128-
preferably like this: "[CSS21] &lt;summary of comment&gt;"
127+
for discussion of this and other specifications in the Style area.
128+
When commenting on this document, please put the text "CSS21" in the
129+
subject, preferably like this: "[CSS21] &lt;summary of comment&gt;"
129130

130-
<p><em>This section describes the status of this document at the time
131-
of its publication. Other documents may supersede this document. A
132-
list of current W3C publications and the latest revision of this
133-
technical report can be found in the <a href="/TR/">W3C technical
134-
reports index</a> at <a href="/TR/">http://www.w3.org/TR/.</a> It is
135-
inappropriate to use W3C Working Drafts as reference material or to
136-
cite them as other than "work in progress."</em>
131+
<p>This document is produced by the <a
132+
href="http://www.w3.org/Style/members">CSS working group</a> (part of
133+
the <a href="http://www.w3.org/Style/">Style Activity</a>, see <a
134+
href="http://www.w3.org/Style/Activity">summary</a>).
137135

138136
<p>Patent disclosures relevant to CSS may be found on the Working
139137
Group's public <a

css2/generate.src

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
55
<title>Generated content, automatic numbering, and lists</title>
6+
<!-- Changed by Kimberly Blessing, 2004-02-13 -->
67
</head>
78
<body>
89
<h1 align="center">
@@ -239,6 +240,7 @@ more information on the "\A" escape sequence.
239240
h1:before {
240241
display: block;
241242
text-align: center;
243+
white-space: pre;
242244
content: "chapter\A hoofdstuk\A chapitre"
243245
}
244246
</pre>

css2/media.src

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: media.src,v 2.31 2003-11-06 23:34:42 bbos Exp $ -->
3+
<!-- $Id: media.src,v 2.32 2004-02-14 00:59:12 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Media types</TITLE>
7-
<!-- Changed by: Tantek Celik and H&aring;kon Lie, 2002-11-16 -->
7+
<!-- Changed by Kimberly Blessing, 2004-02-13 -->
88
</HEAD>
99
<BODY>
1010
<H1>Media types</H1>
@@ -114,8 +114,8 @@ properties that apply to that media type.
114114
<P>The names chosen for CSS media types reflect target devices for
115115
which the relevant properties make sense. In the following list of CSS
116116
media types the names of media types are normative, but the
117-
parenthetical descriptions are informative. Likewise, the "Media"
118-
field in the description of each property is informative.
117+
descriptions are informative. Likewise, the "Media" field in the
118+
description of each property is informative.
119119

120120
<dl>
121121
<dt><strong>all</strong>
@@ -175,15 +175,14 @@ can only support one media type when rendering a document. However,
175175
user agents may have different modes which support different media
176176
types.
177177

178+
<P>Unknown media type names should not result in the @media rule being ignored.
178179

179180
<!--
180181
<P>Due to rapidly changing technologies, CSS2 does not specify a
181182
definitive list of media types that may be values for <span
182183
class="index-inst" title="@media">@media</span>.
183184
-->
184185

185-
186-
187186
<div class="note"><P>
188187
<em><strong>Note.</strong>
189188
Future versions of CSS may extend the list of media types. Authors
@@ -260,7 +259,7 @@ between media groups and media types:</P>
260259
<TR><TH>aural<TD align="center">continuous<TD align="center">speech, audio<TD align="center">N/A<TD align="center">both</TR>
261260
-->
262261
<TR><TH>braille<TD align="center">continuous<TD align="center">tactile<TD align="center">grid<TD align="center">both</TR>
263-
<TR><TH>emboss<TD align="center">paged<TD align="center">tactile<TD align="center">grid<TD align="center">static</TR>
262+
<TR><TH>embossed<TD align="center">paged<TD align="center">tactile<TD align="center">grid<TD align="center">static</TR>
264263
<TR><TH>handheld<TD align="center">both<TD align="center">visual, audio, speech<TD
265264
align="center">both<TD align="center">both</TR>
266265
<TR><TH>print<TD align="center">paged<TD align="center">visual<TD

css2/page.src

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: page.src,v 2.40 2003-11-06 23:34:42 bbos Exp $ -->
3+
<!-- $Id: page.src,v 2.41 2004-02-14 00:59:12 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Paged media</TITLE>
7+
<!-- Changed by Kimberly Blessing, 2004-02-13 -->
78
</HEAD>
89

910
<body>
@@ -308,7 +309,7 @@ section on <a href="visuren.html#line-box">line boxes</a>.
308309
<ol>
309310
<li>
310311
In the vertical margin between block boxes. When a page
311-
break occurs here, the <a href="cascade.html#computed-value">computed
312+
break occurs here, the <a href="cascade.html#used-value">used
312313
values</a> of the relevant
313314
<span class="propinst-margin-top">'margin-top'</span>
314315
and <span class="propinst-margin-bottom">'margin-bottom'</span>

0 commit comments

Comments
 (0)