REC-CSS1-19990111-errata 10.4 KB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
                      "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
  <title>Errata for the CSS1 specification</title>
  <style type="text/css">
ins { color: #E50000}
body { color: #000000; background-color: #FFFFFF}
ins { font-weight: bold}
.date { color: #900 }
</style>
</head>

<body>
<p><a href="http://www.w3.org/"><img border="0" height="48" width="72"
style="border: none" alt="W3C" src="/Icons/WWW/w3c_home"></a></p>

<h1>Errata for the CSS1 specification (revision of 11 Jan 1999):</h1>

<p><strong>This document is currently not maintained.</strong> The CSS
working group is developing <a href="../../TR/CSS21">CSS&nbsp;2.1.</a>
When features common to CSS1 and CSS&nbsp;2.1 are defined differently,
please consider the definition in CSS&nbsp;2.1 as errata for CSS1. 
While CSS&nbsp;2.1 is a Working Draft, the errata are to be considered
<em>proposed errata.</em>

<p><a href="translations">Translations</a> of the specification are
available. A <a href="REC-CSS1-19990111.pdf">PDF version</a> of the
specification has been kindly provided by Lawrence Oluyede.</p>

<p>These are the known errors in the <a
href="http://www.w3.org/TR/1999/REC-CSS1-19990111">CSS1 specification</a>
(revision of 11 Jan 1999). The dates in [] indicate when each erratum was
added to this page.</p>

<h2 id="s-1-1"><a
href="http://www.w3.org/TR/1999/REC-CSS1-19990111.html#containment-in-html">Section
1.1 Containment in HTML</a></h2>

<p><span class="date">[2004-08-10]</span>In the 2nd sentence, replace
&#8220;define&#8221; by &#8220;define<ins>s</ins>&#8221;.

<h2 id="s-2-5"><a
href="http://www.w3.org/TR/1999/REC-CSS1-19990111#pseudo-elements-in-selectors">Section
2.5 Pseudo-elements in selectors</a></h2>

<p><span class="date">[2002-12-04]</span> In the second example,
replace the final "&lt;/A>" by "&lt;/<ins>P</ins>>".

<h2 id="s-2-3"><a
href="http://www.w3.org/TR/REC-CSS1#multiple-pseudo-elements">Section
2.3 The 'first-line' pseudo-element</a></h2>

<p><span class="date">[2001-09-24]</span> Add the following
clarification:

<blockquote><p>In case a certain first line is the first line of some
block-level element <var>A</var> as well as of <var>A</var>'s ancestor
<var>B </var>, the fictional tag sequence is as follows:

<pre>&lt;B&gt;...
  &lt;A&gt;...
    &lt;B:first-line&gt;
      &lt;A:first-line&gt;
        This is the first line
      &lt;/A:first-line&gt;
    &lt;/B:first-line&gt;
    ...
  &lt;/A&gt;
  ...
&lt;/B&gt;
</pre>

<p>All fictional tags for first-line are inside the smallest enclosing
block-level element and the nesting order of the fictional tags
A:first-line and B-first-line is the same as that of the elements
<var>A</var> and <var>B </var>.

<p>The "first formatted line" of a block level element is the first
line in the element's flow, i.e., ignoring any floats. For example, in

<pre>
&lt;div&gt;
  &lt;p style="float: left"&gt;Floating paragraph...&lt;/p&gt;
  &lt;p&gt;First line starts here...&lt;/p&gt;
&lt;/div&gt;
</pre>

<p>the selector 'div:first-line' applies to the first line of the
<em>second</em> p, because the first p is taken out of the flow.
</blockquote>

<h2 id="s-5-2-5"><a
href="http://www.w3.org/TR/1999/REC-CSS1-19990111#font-weight">Section
5.2.5 'font-weight'</a></h2>

<p><span class="date">[2000-07-04]</span> In the last paragraph,
replace "others may have eight different face weights" with "others
may have <ins>nine</ins> different face weights."</p>

<h2 id="s-5-4-6"><a
href="http://www.w3.org/TR/REC-CSS1#text-align">Section 5.4.6
'text-align'</a></h2>

<p><span class="date">[2001-06-26]</span> "Since 'text-align'
inherits, all block-level elements inside the 'DIV' element with
'CLASS=center' will be centered." This is ambiguous. Intended is: "...
<ins>all line boxes of</ins> all block-level elements..."

<h2 id="s-5-4-2"><a
href="http://www.w3.org/TR/1999/REC-CSS1-19990111#letter-spacing">Section
5.4.2 'letter-spacing'</a></h2>

<p><span class="date">[2000-07-04]</span> Replace "which is a value of
the 'align' property" by "which is a value of the
'<ins>text-</ins>align' property."</p>

<h2 id="s-5-5-15"><a
href="http://www.w3.org/TR/1999/REC-CSS1-19990111#border-width">Section
5.5.15 'border-width'</a></h2>

<p><span class="date">[2000-07-04]</span> Replace "'border-width-top',
'border-width-right', 'border-width-bottom' and 'border-width-left'"
by "'border-<ins>top-width</ins>', 'border-<ins>right-width</ins>',
'border-<ins>bottom-width</ins>' and 'border-<ins>left-width</ins>'."
</p>

<p><span class="date">[2002-01-09]</span> In the 3rd line of the
example, replace the comment "thin thick medium thin" by "thin thick
medium <ins>thick</ins>".

<h2 id="s-5-5-17"><a
href="http://www.w3.org/TR/1999/REC-CSS1-19990111#border-style">Section
5.5.17 'border-style'</a></h2>

<p><span class="date">[2005-04-27]</span> The definition of the value
should be: <ins>[</ins> none | dotted | dashed | solid | double |
groove | ridge | inset | outset <ins>]{1,4}</ins>

<h2 id="s-5-5-22"><a
href="http://www.w3.org/TR/1999/REC-CSS1-19990111#border">Section
5.5.22 'border'</a></h2>

<p><span class="date">[2000-07-04]</span> In this example, add a
semicolon (;) after line 3:</p>

<pre>BLOCKQUOTE {
  border-color: red;
  border-left: double<ins>;</ins>
  color: black;
}</pre>

<p><span class="date">[2000-07-04]</span> Below the example, remove
"while the other borders are red." (The other border are not
displayed, because their style is 'none'.)</p>

<h2 id="s-5-6-2"><a
href="http://www.w3.org/TR/1999/REC-CSS1-19990111#white-space">Section
5.6.2 'white-space'</a></h2>

<p><span class="date">[2001-08-28]</span> The 'white-space' property
applies to <em>all</em> elements, not just block-level elements.

<h2 id="s-6-1"><a
href="http://www.w3.org/TR/1999/REC-CSS1-19990111#length-units">Section
6.1 Length units</a></h2>

<p><span class="date">[2001-08-28]</span> The suggested reference
pixel is based on a <ins>96&nbsp;dpi</ins> device, not 90&nbsp;dpi.
The visual angle is thus about <ins>0.0213 degrees</ins> instead of
0.0227.

<h2 id="s-7-1"><a
href="http://www.w3.org/TR/1999/REC-CSS1-19990111.html#forward-compatible-parsing">Section
7.1 Forward-compatible parsing</a></h2>

<p><span class="date">[2006-06-02]</span> Add an &ldquo;s&rdquo; after
&ldquo;continue&rdquo; in the sentence &ldquo;A CSS1 UA that
encounters an at-rule that starts with an at-keyword other than
'@import' ignores the whole of the at-rule and continue<ins>s</ins>
parsing after it.&rdquo;

<h2 id="s-8"><a
href="http://www.w3.org/TR/1999/REC-CSS1-19990111#references">Section
8 References</a></h2>

<p><span class="date">[2007-05-25]</span> The target anchors for
references [12], [13] and [14] are off by one. Activating the link to
[12] actually jumps to reference [13], etc.

<h2 id="s-E"><a
href="http://www.w3.org/TR/1999/REC-CSS1-19990111#appendix-e">Appendix
E: The applicability and extensibility of CSS1</a></h2>

<p><span class="date">[2005-10-03]</span> Replace '<code>H1 {
font-style: small-caps }</code>' by:

<pre>H1 { <ins>font-variant</ins>: small-caps }</pre>

<h1>Proposed errata</h1>

<p><em>The following are not errata, but proposals for a revision of
CSS level 1. They have working draft status and will need review
before they can be integrated into a new Proposed Recommendation for
CSS1.</em>

<h2 id="s-3-2"><a
href="http://www.w3.org/TR/REC-CSS1#cascading-order">Section 3.2
Cascading order</a></h2>

<p><span class="date">[2002-02-28]</span> Replace list item 4 ("Sort
by specificity" ... "normal elements and classes, respectively.") with
the following:

<blockquote>
<p>Sort by specificity of selector: more specific selectors will
override more general ones. To find the specificity of a selector or
or the 'STYLE' attribute of an element (see section 1.1 for an
example), count 1 if the selector is in a style attribute and 0
otherwise (a), count the number of ID attributes in the selector (b),
the number of CLASS attributes in the selector (c), and the number of
tag names in the selector (d). Concatenating the four numbers (in a
number system with a large base) gives the specificity. Some examples
(sorted from least specific to most specific):

<pre>LI            {...}  /* a=0 b=0 c=0 d=1 -> specificity = 0,0,0,1 */
UL LI         {...}  /* a=0 b=0 c=0 d=2 -> specificity = 0,0,0,2 */
UL OL LI      {...}  /* a=0 b=0 c=0 d=3 -> specificity = 0,0,0,3 */
LI.red        {...}  /* a=0 b=0 c=1 d=1 -> specificity = 0,0,1,1 */
UL OL LI.red  {...}  /* a=0 b=0 c=1 d=3 -> specificity = 0,0,1,3 */
#x34y         {...}  /* a=0 b=1 c=0 d=0 -> specificity = 0,1,0,0 */
style="..."          /* a=1 b=0 c=0 d=0 -> specificity = 1,0,0,0 */</pre>

<p>Pseudo-elements and pseudo-classes are counted as normal elements
and classes, respectively.
</blockquote>

<p>Remove the text "A declaration in the 'STYLE' attribute" ...
"because of cascading rule number 5."

<!--

Some other editorial corrections to make if CSS1 is updated (with
thanks to Nick Levinson):

Replace domain parts of example URLs with example.org/example.com

Sec. 5.5: "... the other margin properties only set their respective
side" should be "... the other margin properties only set their
respective sides".

Sec. 5.5: "... the other padding properties only set their respective
side" should be "... the other padding properties only set their
respective sides".

Sec. 5.6.1: "which may be on a printed page, a computer display etc." 
should be "which may be on a printed page, a computer display, etc." 
(comma before "etc.").

Appx. C, Character encoding: "Typical encodings (charset values) are
'ASCII' (for English), 'ISO-8859-1' (for Western Europe), 'ISO-8859-8'
(for Hebrew), 'Shift-JIS' (for Japanese)." should have "and" added to
produce "Typical encodings (charset values) are 'ASCII' (for English),
'ISO-8859-1' (for Western Europe), 'ISO-8859-8' (for Hebrew), and
'Shift-JIS' (for Japanese).".

Appx F: The subappendix title "Structure and Organization" should be
capitalized like other subappendix titles, thus yielding "Structure
and organization".

Appx. F: "Appendix F, which lists all changes since the 17 December
1996 version has been added." should have a comma after "version".

-->

<hr>
<address>
  <p>Bert Bos<br>
  Last modified: $Date: 2009/03/11 15:03:07 $</p>

</address>
</body>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-declaration:"~/SGML/HTML4.decl"
sgml-default-doctype-name:"html"
sgml-minimize-attributes:t
sgml-nofill-elements:("pre" "style" "br")
sgml-live-element-indicator:t
End:
-->
</html>