Skip to content

Commit fe9da67

Browse files
committed
[css2] Updates
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401765
1 parent e42a43c commit fe9da67

1 file changed

Lines changed: 208 additions & 5 deletions

File tree

css2/errata.src

Lines changed: 208 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ hspace="0"></a><br clear="all"></p>
2525
<dd><a href="_THE_UPDATE_DIR_/_THE_ID_-errata.html">
2626
_THE_UPDATE_DIR_/_THE_ID_-errata.html</a>
2727
<dt>Last revised:
28-
<dd>$Date: 1999-06-29 22:17:52 $
28+
<dd>$Date: 1999-11-02 18:31:44 $
2929
</dl>
3030

3131
<dl>
@@ -56,7 +56,11 @@ do not enforce this rule: 'border-top', 'border-right',
5656
<H3><a href="syndata.html#tokenization">Section 4.1.1</a> (and
5757
<a href="grammar.html#q2">D2</a>)</H3>
5858

59-
<P>The "nmchar" token should also allow the range "A-Z".
59+
<UL>
60+
<LI>The "nmchar" token should also allow the range "A-Z".
61+
<LI>In the rule for "any" (in the core syntax), change "FUNCTION"
62+
to "FUNCTION any* ')'".
63+
</UL>
6064

6165
<H3><a href="syndata.html#values">Section 4.3 (Double sign problem)</a></H3>
6266

@@ -84,6 +88,16 @@ initial sign only:</P>
8488
<LI><a href="syndata.html#angle-units">Angles</a>
8589
</UL>
8690

91+
<H3><a href="syndata.html#color-units">Section 4.3.6</a></H3>
92+
93+
<P>Delete the comments about range
94+
restriction after the following examples:
95+
96+
<PRE>
97+
EM { color: rgb(255,0,0) }
98+
EM { color: rgb(100%, 0%, 0%) }
99+
</PRE>
100+
87101
<H3><a href="visuren.html#choose-position">Section 9.3.1</a></H3>
88102

89103
<P>The definition of the value 'static' should
@@ -173,6 +187,12 @@ explanation for the variable "a" is missing and should read:</P>
173187
<P>'Totum' and 'Kodic' is not a 'serif' but 'sans-serif'. 'pathang' is
174188
not a 'sans-serif' but 'serif'.
175189

190+
<h3><a href="tables.html#q2"> 17.2</a></h3>
191+
192+
<P>In the definition of <strong>table-header-group</strong>, change
193+
"footer" to "header" in "Print user agents may repeat footer rows on
194+
each page spanned by a table."
195+
176196
<h2><a name="minor-errors">Minor Typographical Errors</a></h2>
177197

178198
<h3><a href="intro.html#q1">Section 2.1</a></h3>
@@ -195,7 +215,7 @@ tree."
195215
<P>The correct RFC number for the registration of the
196216
"text/css" content type is RFC 2318, not RFC 2138.
197217

198-
<h3><a href="selector.html#lang">Section 5.11.1</a></h3>
218+
<h3><a href="selector.html#lang">Section 5.11.4</a></h3>
199219

200220
<P>In "XML uses an attribute called XML:LANG", the
201221
XML attribute should be in lowercase, i.e., xml:lang.
@@ -227,8 +247,13 @@ user and author rules...".
227247

228248
<h3><a href="box.html#border-color-properties">Section 8.5.2</a></h3>
229249

230-
<P>The individual border-X-color property definitions may
250+
<UL>
251+
<LI>
252+
The individual border-X-color property definitions may
231253
also take the value 'transparent'.
254+
<LI>The 'border-color' shorthand property should read:
255+
<PRE>[ &lt;color&gt; | transparent ]{1,4} | inherit</PRE>
256+
</UL>
232257

233258
<h3><a href="visuren.html#q5">Section 9.2.1</a></h3>
234259

@@ -245,13 +270,57 @@ anonymous initial boxes is inherited from the P, but the background is transpare
245270

246271
<P>In the second paragraph, "a new a new" should only read "a new".
247272

273+
<h3><a href="visudet.html#q15">Section 10.6.1</a></h3>
274+
275+
<P>The <span class="propinst-height">'height'</span> property doesn't
276+
apply. The height of the content area is equal to the actual font size
277+
of the element. The vertical padding, border and margin of an inline,
278+
non-replaced box start at the top and bottom of the font, not the
279+
<span class="propinst-line-height">'line-height'</span>. But only the
280+
<span class="propinst-line-height">'line-height'</span> is used to
281+
compute the height of the line box.
282+
283+
<P>If more than one font size is used (this could happen when glyphs
284+
are found in different fonts), the height of the content area is not
285+
defined by this specification. However, we recommend that the largest
286+
font size determine the content height.
287+
248288
<h3><a href="generate.html#content">Section 12.2</a></h3>
249289

250290
<P>In the definition of &lt;counter&gt;, the sentence "The latter
251291
function also has two forms: 'counter(name, string)' or 'counter(name,
252292
string, style)'" should read "two forms: 'counters(name, string)' or
253293
'counters(name, string, style)'"
254294

295+
<h3><a href="generate.html#markers">Section 12.6.1</a></h3>
296+
297+
<P>Change the third paragraph as follows:
298+
299+
<BLOCKQUOTE>
300+
<P>For the :before pseudo-element, the baseline in the marker box will
301+
be vertically aligned with the baseline in the first line box of the
302+
principal box. If the principal box contains no line boxes, or if
303+
there is a block box within the principal box that is above the first
304+
line box, the top outer edge of the marker box will be aligned with
305+
the top outer edge of the principal box.
306+
307+
<P>For the :after pseudo-element, the baseline in the marker box will
308+
be vertically aligned with the baseline in the last line box in the
309+
principal box. If the principal box contains no line boxes, or if
310+
there is a block box within the principal box that is below the last
311+
line box, the bottom outer edge of the marker box will be aligned with
312+
the bottom outer edge of the principal box.
313+
</BLOCKQUOTE>
314+
315+
<h3><a href="page.html#page-box">Section 13.2</a></h3>
316+
317+
<P>In the following code, put a ":" after "size".
318+
319+
<PRE>
320+
@page { size 8.5in 11in; margin: 2cm }
321+
</PRE>
322+
323+
255324
<h3><a href="colors.html#gamma-correction">Section 14.3</a></h3>
256325

257326
<P>The first sentence has one too many "the"s in
@@ -270,6 +339,17 @@ whitespace characters inside the font name is converted to a single space.
270339

271340
<P>all occurrences of the word "font" should be replaced by "voice family".
272341

342+
<h3><a href="grammar.html#q2">Section D.2 Lexical scanner </a></h3>
343+
344+
<P>Remove "RGB S*" from the rule "term" since rgb() is covered by
345+
the "function" production, which matches counter(), atrr(), format(),
346+
and others as well.
347+
348+
<h3><a href="grammar.html#tokenizer-diffs">Section D.3 Comparison of tokenization in CSS2 and CSS1 </a></h3>
349+
350+
<P>In the last bullet, change <code>.\55ft</code> to
351+
<code>.\35 5ft</code>.
352+
273353
<h3><a href="sample.html">Sample Style Sheet for HTML 4.0</a></h3>
274354

275355
<P>The value of the 'line-height' property set for the BODY
@@ -293,6 +373,36 @@ whitespace in this case.
293373
inherited. This applies even to properties for which values
294374
do not otherwise inherit.
295375

376+
<h3><a href="box.html#box-dimensions">Section 8.1</a></h3>
377+
378+
<UL>
379+
<LI>From the definition of "padding edge", delete the sentence "The
380+
padding edge of a box defines the edges of the containing block
381+
established by the box." For information about containing
382+
blocks, consult <a href="visudet.html#containing-block-details">
383+
Section 10.1</a>.
384+
385+
<LI>Border backgrounds are not specified by border properties. Change
386+
the last paragraph of 8.1 to:
387+
<BLOCKQUOTE>
388+
<P>The background style of the content, padding, and border areas of a
389+
box is specified by the <span
390+
class="propinst-background">'background'</span> property of the
391+
generating element. Margin backgrounds are always transparent.
392+
</BLOCKQUOTE>
393+
</UL>
394+
395+
<h3><a href="box.html#collapsing-margins">Section 8.3.1</a></h3>
396+
397+
<P>Add this clarifying note to the first bullet of the explanation
398+
of vertical collapsing of margins:</P>
399+
400+
<BLOCKQUOTE>
401+
<P><strong>Note.</strong> Adjoining boxes may be generated by
402+
elements that are not related as siblings or ancestors.
403+
</BLOCKQUOTE>
404+
405+
296406
<h3><a href="visuren.html#inline-formatting">Section 9.4.2</a></h3>
297407

298408
<P>The statement "When an inline box is split, margins, borders, and
@@ -302,9 +412,20 @@ where one or more splits occur.
302412

303413
<h3><a href="visuren.html#relative-positioning">Section 9.4.3</a></h3>
304414

415+
<P>Relatively positioned boxes do not always establish new containing
416+
blocks. Change the second paragraph to:</P>
417+
418+
<BLOCKQUOTE>
419+
<p>A relatively positioned box keeps its normal flow size, including
420+
line breaks and the space originally reserved for it. The section on
421+
<a href="#containing-block">containing blocks</a> explains when a
422+
relatively positioned box establishes a new containing block.
423+
</BLOCKQUOTE>
424+
305425
<P>The following attempts to clarify the meaning of the 'left',
306-
'right', 'top' and 'bottom' properties for relative positioning.
426+
'right', 'top' and 'bottom' properties for relative positioning:
307427

428+
<BLOCKQUOTE>
308429
<P>For relatively positioned elements, 'left' and 'right' move the
309430
box(es) horizontally, without changing their size. 'Left' moves the
310431
boxes to the right, and 'right' moves them to the left. Since boxes
@@ -348,13 +469,95 @@ are 'auto', their computed values are both '0'. If one of them is
348469
'auto', it becomes the negative of the other. If neither is 'auto',
349470
'bottom' is ignored (i.e., the computed value of 'bottom' will be
350471
minus the value of 'top').
472+
</BLOCKQUOTE>
473+
474+
<h3><a href="visuren.html#direction">Section 9.10</a></h3>
475+
476+
<P>In this sentence of the last paragraph:</p>
477+
478+
<BLOCKQUOTE>
479+
<P>Conforming HTML user agents may therefore ignore the 'direction'
480+
and 'unicode-bidi' properties in author and user style sheets.
481+
</BLOCKQUOTE>
482+
483+
<P>the word "ignore" means that if a 'unicode-bidi' or 'direction'
484+
value conflicts with the HTML 4.0 "dir" attribute value, then user
485+
agents may choose to use the "dir" value rather than the CSS
486+
properties.
487+
488+
<P>User agents are not required to support the <span
489+
class="propinst-direction">'direction'</span> and <span
490+
class="propinst-unicode-bidi">'unicode-bidi'</span> properties to
491+
conform to CSS2 unless they support bi-directional text rendering
492+
(except for the case of HTML 4.0 as noted above).
493+
494+
<h3><a href="visudet.html#propdef-line-height">Section 10.8.1</a></h3>
495+
496+
<P>Clarify this paragraph:
497+
498+
<BLOCKQUOTE>
499+
<P>Note that replaced elements have a 'font-size' and a 'line-height'
500+
property, even if they are not used directly to determine the height
501+
of the box. The 'font-size' is, however, used to define the 'em' and
502+
'ex' units, and the 'line-height' has a role in the 'vertical-align'
503+
property.
504+
</BLOCKQUOTE>
505+
506+
<P>as follows:
507+
508+
<BLOCKQUOTE>
509+
<P>Note that replaced elements have a <span
510+
class="propinst-font-size">'font-size'</span> and a <span
511+
class="propinst-line-height">'line-height'</span> property, even if
512+
they are not used directly to determine the height of the box: 'em'
513+
and 'ex' values are relative to values of <span
514+
class="propinst-font-size">'font-size'</span> and percentage values
515+
for <span class="propinst-vertical-align">'vertical-align'</span> are
516+
relative to values of <span
517+
class="propinst-line-height">'line-height'</span>.
518+
</BLOCKQUOTE>
519+
520+
<h3><a href="visufx.html#clipping">Section 11.1.2</a></h3>
521+
522+
<P>Values of "rect()" should be separated by commas. Thus, the
523+
definition of &lt;shape&gt; should start:</p>
524+
525+
<BLOCKQUOTE>
526+
<P>In CSS2, the only valid &lt;shape&gt; value is: rect (&lt;top&gt;, &lt;right&gt;, &lt;bottom&gt;,
527+
&lt;left&gt;) ...
528+
</BLOCKQUOTE>
529+
530+
<P>Due to this ambiguity, user agents may support separation of
531+
offsets in "rect()" with or without commas.
532+
533+
<h3><a href="ui.html#system-colors">Section 18.2</a></h3>
534+
535+
536+
<P>For the 'ButtonHighlight' value, change the description
537+
from "Dark shadow" to "Highlight color".
538+
351539

352540
<h3><a href="aural.html#speaking-props">Section 19.3</a></h3>
353541

354542
<P>The parenthetical phrase "somewhat analogous to the 'display' property"
355543
is misleading. The 'speak' property resembles 'visibility' in
356544
some ways and 'display' in others.
357545

546+
<h2><a name="changes">Changes</a></h2>
547+
548+
<P>The following changes are proposed by the CSS Working Group.
549+
Please note that these changes have "working draft" status and
550+
may not be considered definitive unless incorporated into
551+
a revised Recommendation.
552+
553+
<h3><a href="visufx.html#clipping">Section 11.1.2</a></h3>
554+
555+
<P>While CSS2 specifies that values of "rect()" specify offsets from
556+
the respective sides of the box, current implementations interpret
557+
values with respect to the top and left edges for <em>all</em>
558+
four values (top, right, bottom, and left). The Working Group
559+
proposes to revise CSS2 to conform to current practice.
560+
358561
<!-- <h2><a name="open-issues">Open Issues</a></h2> -->
359562
</BODY>
360563
</HTML>

0 commit comments

Comments
 (0)