forked from w3c/csswg-drafts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherrata.src
More file actions
360 lines (264 loc) · 12.6 KB
/
errata.src
File metadata and controls
360 lines (264 loc) · 12.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Errata in _THE_ID_</title>
<!-- Changed by: Ian B. Jacobs, 28-Sep-1998 -->
<LINK rel="start" href="http://www.w3.org/TR/REC-css2">
<style type="text/css">
body {
background: white;
color: black;
}
</style>
<base href="_THIS_VERSION_/">
</head>
<body>
<p align="right"><a href="http://www.w3.org/"><img
src="http://www.w3.org/Icons/w3c_home.gif" alt="W3C" align="left" border="0"
hspace="0"></a><br clear="all"></p>
<H1 align="center">Errata in _THE_ID_</H1>
<dl>
<dt>This document:
<dd><a href="_THE_UPDATE_DIR_/_THE_ID_-errata.html">
_THE_UPDATE_DIR_/_THE_ID_-errata.html</a>
<dt>Last revised:
<dd>$Date: 1999-06-29 22:17:52 $
</dl>
<dl>
<dt>This document records known errors in the document:
<dd><a href="_THIS_VERSION_">_THIS_VERSION_</a>
<dt>The latest version of the CSS 2 specification:
<dd><a href="_THE_LATEST_VERSION_">_THE_LATEST_VERSION_</a>
</dl>
<HR>
<P>Please email error reports to <a
href="mailto:css2-editors@w3.org">css2-editors@w3.org</a>.
<h2><a name="known-errors">Known Errors</a></h2>
<H3>Shorthand properties</H3>
<P>Shorthand properties take a list of subproperty values <em>or</em>
the value 'inherit'. One cannot mix 'inherit' with other subproperty
values as it would not be possible to specify the subproperty to which
'inherit' applied. The definitions of a number of shorthand properties
do not enforce this rule: 'border-top', 'border-right',
'border-bottom', 'border-left', 'border', 'background', 'font',
'list-style', 'cue', and 'outline'.
<H3><a href="syndata.html#tokenization">Section 4.1.1</a> (and
<a href="grammar.html#q2">D2</a>)</H3>
<P>The "nmchar" token should also allow the range "A-Z".
<H3><a href="syndata.html#values">Section 4.3 (Double sign problem)</a></H3>
<P>Several values described in subsections of this section
incorrectly allow two "+" or "-" signs at their beginnings.
<a href="syndata.html#length-units">Lengths</a>, for instance,
are described as follows:</P>
<BLOCKQUOTE>
The format of a length value (denoted by <length> in this
specification) is an optional sign character ('+' or '-', with '+'
being the default) immediately followed by a <number>
(with or without a decimal point)
immediately followed by a unit identifier (e.g., px, deg, etc.).
</BLOCKQUOTE>
<P>However, since <number> already allows a "+" or "-"
sign, the above definition means two signs may appear. The following
value types allow two signs but are meant to allow one
initial sign only:</P>
<UL>
<LI><a href="syndata.html#length-units">Lengths</a>
<LI><a href="syndata.html#percentage-units">Percentages</a>
<LI><a href="syndata.html#angle-units">Angles</a>
</UL>
<H3><a href="visuren.html#choose-position">Section 9.3.1</a></H3>
<P>The definition of the value 'static' should
say that the properties 'top', 'right', 'bottom', and 'left'
do not apply.
<h3><a href="visuren.html#position-props">Section 9.3.2</a></H3>
<P>The properties 'top', 'right', 'bottom', and 'left', incorrectly
refer to offsets with respect to a box's content edge. The proper edge
is the margin edge. Thus, for 'top', the description should read,
"This property specifies how far a box's top margin edge is offset
below the top edge of the box's containing block."
<h3><a href="visudet.html#q6">Section 10.3.3</a></h3>
<P>In the last sentence of the paragraph following the equation --
"If the value of 'direction' is 'ltr', this happens to
'margin-left' instead." -- substitute 'rtl' for 'ltr'.
<h3><a href="visudet.html#q17">Section 10.6.3</a></H3>
<P>The height calculation for block-level, non-replaced elements in
normal flow, and floating, non-replaced elements is not quite correct.
The height calculation should read as follows:</P>
<p>If <span class="propinst-top">'top'</span>, <span
class="propinst-bottom">'bottom'</span>, <span
class="propinst-margin-top">'margin-top'</span>, or <span
class="propinst-margin-bottom">'margin-bottom'</span> are 'auto',
their computed value is 0. If <span
class="propinst-height">'height'</span> is 'auto', the height depends
on whether the element has any block-level children and whether it has
padding or borders.
<P>If it only has inline-level children, the height is the distance
between the top of the topmost line box and the bottom of the
bottommost line box.
<P>If it has block-level children, the height is the distance between
the top border-edge of the topmost block-level child box and the
bottom border-edge of the bottommost block-level child box. However,
if the element has a non-zero top padding and/or top border, then the
content starts at the top <em>margin</em> edge of the topmost child.
Similarly, if the element has a non-zero bottom padding and/or bottom
border, then the content ends at the bottom <em>margin</em> edge of
the bottommost child.
<P>Only children in the normal flow are taken into account (i.e.,
floating boxes and absolutely positioned boxes are ignored, and
relatively positioned boxes are considered without their offset). Note
that the child box may be an <a
href="visuren.html#anonymous-block-level">anonymous box.</a>
<h3><a href="visufx.html#overflow">Section 11.1.1</a></h3>
<P>The example of a DIV element containing a BLOCKQUOTE
containing another DIV is not rendered correctly. The first
rule:
<PRE>
DIV { width : 100px; height: 100px;
border: thin solid red;
}
</PRE>
<P>Applies to both the external and internal DIV, so, for
example, the internal DIV box should be rendered
with a red border. The intention of the authors was
that the first style rule only apply to the external DIV.
This could be accomplished by making it more specific by
adding a "class" or "id" value to the markup and changing
the selectors accordingly.
<h3><a href="fonts.html#font-size-props">Section 15.2.4</a></h3>
<P>Under the 'font-size-adjust' property, in the formula given
for <number>, the variables y, a', and c are explained. An
explanation for the variable "a" is missing and should read:</P>
<PRE>
a = aspect value of first-choice font
</PRE>
<h3><a href="fonts.html#generic-font-families">Section 15.2.6</a></h3>
<P>'Totum' and 'Kodic' is not a 'serif' but 'sans-serif'. 'pathang' is
not a 'sans-serif' but 'serif'.
<h2><a name="minor-errors">Minor Typographical Errors</a></h2>
<h3><a href="intro.html#q1">Section 2.1</a></h3>
<P>For the example with the LINK element, the list
following the example incorrectly refers to the "ref"
attribute. This should be the "href" attribute.
<h3><a href="conform.html#q1">Section 3.1</a></h3>
<P>Under the definition of "Child", the phrase
"if an only if" should read "if and only if".
<P>Under the definition of "Sibling", the last sentence should read,
"Element B is a following sibling if it comes after A in the document
tree."
<h3><a href="conform.html#text-css">Section 3.4</a></h3>
<P>The correct RFC number for the registration of the
"text/css" content type is RFC 2318, not RFC 2138.
<h3><a href="selector.html#lang">Section 5.11.1</a></h3>
<P>In "XML uses an attribute called XML:LANG", the
XML attribute should be in lowercase, i.e., xml:lang.
<h3><a href="selector.html#first-line-pseudo">Section 5.12.1</a></h3>
<P>The rendering of the first example is:</P>
<PRE>
THIS IS A SOMEWHAT LONG HTML PARAGRAPH THAT
will be broken into several lines.
</PRE>
<P>while the fictional tag sequence is given as:</P>
<PRE>
<P><B><P:first-line></B> This is a somewhat long HTML
paragraph that will <B></P:first-line></B> ...
</PRE>
<P>The word "will" should follow the fictional tag sequence
for :first-line.
<h3><a href="cascade.html#cascading-order">Section 6.4</a></h3>
<P>The last sentence in the penultimate paragraph should
begin "All user and author rules..." instead of "All rules
user and author rules...".
<h3><a href="box.html#border-color-properties">Section 8.5.2</a></h3>
<P>The individual border-X-color property definitions may
also take the value 'transparent'.
<h3><a href="visuren.html#q5">Section 9.2.1</a></h3>
<P>In the example after the diagram, the
HTML fragment "<P>This is the content of P.</>"
should end instead with the end tag "</P>".
<h3><a href="visuren.html#anonymous">Section 9.2.2, Anonymous inline boxes</a></h3>
<P>In the (third paragraph) sentence "In the example, the color of the
anonymous initial boxes is inherited from the P, but the background is transparent", substitute the word "inline" for "initial".
<h3><a href="visuren.html#relative-positioning">Section 9.4.3</a></h3>
<P>In the second paragraph, "a new a new" should only read "a new".
<h3><a href="generate.html#content">Section 12.2</a></h3>
<P>In the definition of <counter>, the sentence "The latter
function also has two forms: 'counter(name, string)' or 'counter(name,
string, style)'" should read "two forms: 'counters(name, string)' or
'counters(name, string, style)'"
<h3><a href="colors.html#gamma-correction">Section 14.3</a></h3>
<P>The first sentence has one too many "the"s in
"please consult the the Gamma Tutorial...".
<h3><a href="aural.html#propdef-voice-family">Section 19.8</a></h3>
<P>In the following sentence from the
definition of the 'voice-family' property:
<BLOCKQUOTE>
If quoting is omitted, any whitespace characters before and after the
font name are ignored and any sequence of
whitespace characters inside the font name is converted to a single space.
</BLOCKQUOTE>
<P>all occurrences of the word "font" should be replaced by "voice family".
<h3><a href="sample.html">Sample Style Sheet for HTML 4.0</a></h3>
<P>The value of the 'line-height' property set for the BODY
element should be "1.12em".
<P>The OBJECT and APPLET elements should have 'display: inline'.
<h2><a name="clarifications">Clarifications</a></h2>
<h3><a href="selector.html#descendant-selectors">Section 5.5</a></h3>
<P>Near the end of the section, the text 'Note the whitespace on
either side of the "*"' may be misleading. The note is not meant to
imply that whitespace is required on both sides of the "*" (since the
grammar does not require it in this case) but that one may use
whitespace in this case.
<h3><a href="cascade.html#value-def-inherit">Section 6.2.1</a></h3>
<P>The 'inherit' value causes the properties value to be
inherited. This applies even to properties for which values
do not otherwise inherit.
<h3><a href="visuren.html#inline-formatting">Section 9.4.2</a></h3>
<P>The statement "When an inline box is split, margins, borders, and
padding have no visual effect where the split occurs." may be
generalized. Margins, borders, and padding have no visual effect
where one or more splits occur.
<h3><a href="visuren.html#relative-positioning">Section 9.4.3</a></h3>
<P>The following attempts to clarify the meaning of the 'left',
'right', 'top' and 'bottom' properties for relative positioning.
<P>For relatively positioned elements, 'left' and 'right' move the
box(es) horizontally, without changing their size. 'Left' moves the
boxes to the right, and 'right' moves them to the left. Since boxes
are not split or stretched as a result of 'left' or 'right', the
computed values are always: left = -right.
<P>If both 'left' and 'right' are 'auto' (their initial values), the
computed values are '0' (i.e., the boxes stay in their original
position).
<P>If 'left' is 'auto', its computed value is minus the value of 'right'
(i.e., the boxes move to the left by the value of 'right').
<P>If 'right' is specified as 'auto', its computed value is minus the
value of 'left'.
<P>If neither 'left' nor 'right' is 'auto', the position is
over-constrained, and one of them has to be ignored. If the
'direction' property is 'ltr', the value of 'left' wins and 'right'
becomes -'left'. If 'direction' is 'rtl', 'right' wins and 'left' is
ignored.
<div class="example">
<P><strong>Example.</strong>
The following two style sheets are equivalent:
<PRE>
DIV.a8 { position: relative; left: -1em; right: auto }
</PRE>
and
<PRE>
DIV.a8 { position: relative; left: auto; right: 1em }
</PRE>
</div>
<P>The 'top' and 'bottom' properties move relatively positioned
elements up or down. They also must be each other's negative. If both
are 'auto', their computed values are both '0'. If one of them is
'auto', it becomes the negative of the other. If neither is 'auto',
'bottom' is ignored (i.e., the computed value of 'bottom' will be
minus the value of 'top').
<h3><a href="aural.html#speaking-props">Section 19.3</a></h3>
<P>The parenthetical phrase "somewhat analogous to the 'display' property"
is misleading. The 'speak' property resembles 'visibility' in
some ways and 'display' in others.
<!-- <h2><a name="open-issues">Open Issues</a></h2> -->
</BODY>
</HTML>