Skip to content

Commit 8f71da3

Browse files
committed
[css2] Removed commented text
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401660
1 parent 6ae09c6 commit 8f71da3

6 files changed

Lines changed: 9 additions & 163 deletions

File tree

css2/colors.src

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: colors.src,v 2.15 1998-04-17 21:04:42 ijacobs Exp $ -->
3+
<!-- $Id: colors.src,v 2.16 1998-05-06 02:17:23 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Colors and backgrounds</TITLE>
@@ -85,15 +85,6 @@ HTML document will have a "marble" background:
8585
</div>
8686

8787

88-
<!--
89-
<div class="note"><P>
90-
<em><strong>Note.</strong> The document language may not define an
91-
element that gives direct access to the canvas.
92-
</em>
93-
</div>
94-
95-
What if it does? How will CSS know? [BB]-->
96-
9788
<H3><a name="background-properties">Background properties</a>: <span
9889
class="propinst-background-color">'background-color'</span>, <span
9990
class="propinst-background-image">'background-image'</span>, <span
@@ -131,17 +122,6 @@ title="&lt;uri&gt;"><span
131122
class="value-inst-uri">&lt;uri&gt;</span></span>, to specify the
132123
image, or 'none', when no image is used.
133124

134-
<!--
135-
<P>Values have the following meanings:</p>
136-
137-
<dl>
138-
<dt><span class="index-inst" title="&lt;uri&gt;"><span class="value-inst-uri"><strong>&lt;uri&gt;</strong></span></span>
139-
<dd>Specifies the location of the image.
140-
<dt><strong>none</strong>
141-
<dd>No background image is used.
142-
</dl>
143-
-->
144-
145125
<div class="example"><P>
146126
<PRE>
147127
BODY { background-image: url(marble.gif) }
@@ -197,15 +177,6 @@ document ('scroll').
197177
the background or padding area of the element. Thus, unless the image
198178
is tiled ('background-repeat: repeat'), it may be invisible.
199179

200-
<!--
201-
<dl>
202-
<dt><strong>fixed</strong>
203-
<dd>The image is fixed with respect to the viewport.
204-
<dt><strong>scroll</strong>
205-
<dd>The image is scrolled along with the document.
206-
</dl>
207-
-->
208-
209180
<div class="example"><P>This example creates an infinite vertical band
210181
that remains "glued" to the viewport when the element is scrolled.
211182
<PRE>

css2/grammar.src

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: grammar.src,v 2.15 1998-05-04 15:09:50 bbos Exp $ -->
3+
<!-- $Id: grammar.src,v 2.16 1998-05-06 02:21:21 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Appendix D: The grammar of CSS2</TITLE>
@@ -22,10 +22,6 @@ imposes restrictions on the possible values of the "class" attribute.
2222
<!-- IJ: There used to be a link to "unit notation", but I couldn't
2323
find anything in the spec that corresponded. -->
2424

25-
<!-- The words "forward-compatible" no longer appear in syndata.src.
26-
They appear here and in fonts.src. Should be label them in
27-
syndata.src? -IJ -->
28-
2925
<h2>Grammar</h2>
3026

3127
<P> The grammar below is <span class="index-inst"

css2/media.src

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: media.src,v 2.18 1998-04-28 22:28:55 ijacobs Exp $ -->
3+
<!-- $Id: media.src,v 2.19 1998-05-06 02:22:55 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Media types</TITLE>
77
</HEAD>
88
<BODY>
99
<H1 align="center">Media types</H1>
10-
<!-- Are values case-sensitive? -->
1110

1211
<H2>Introduction to media types</H2>
1312

@@ -139,9 +138,7 @@ Please consult the section on <a href="page.html">paged media</a> for
139138
information about formatting issues that are specific to paged media.
140139

141140
<dt><strong>screen</strong>
142-
<dd>Intended primarily for color computer screens. <!-- See the section on
143-
<a href="#continuous-media-group">rendering to continuous
144-
media</a> for more information. -->
141+
<dd>Intended primarily for color computer screens.
145142

146143
<dt><strong>tty</strong>
147144
<dd>Intended for media using a fixed-pitch character grid, such as

css2/selector.src

Lines changed: 4 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN'>
22
<html lang="en">
3-
<!-- $Id: selector.src,v 2.50 1998-05-03 01:08:49 ijacobs Exp $ -->
3+
<!-- $Id: selector.src,v 2.51 1998-05-06 02:25:10 ijacobs Exp $ -->
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<title>Selectors</title>
@@ -338,8 +338,7 @@ matching|&#124;="><code>[att|=val]</code></span>
338338
<dd>Match when the element's "att" attribute value is a
339339
hyphen-separated list of "words", beginning with "val". The match
340340
always starts at the beginning of the attribute value.
341-
<!--If this selector is used, the words in the value must not contain
342-
hyphens (since they are separated by hyphens).--> This is primarily
341+
This is primarily
343342
intended to allow <span class="index-inst" title="language
344343
code">language subcode</span> matches (e.g., the "lang"
345344
attribute in HTML) as described in RFC 1766 ([[-RFC1766]]).
@@ -502,9 +501,6 @@ text, while the second would:</p>
502501
</pre>
503502
</div>
504503

505-
<!--<p>The normal inheritance rules apply to classed elements; they
506-
inherit values from their parent in the document structure.</p>-->
507-
508504
<p>To match a subset of "class" values, each value must be preceded
509505
by a ".", in any order.</P>
510506

@@ -657,18 +653,6 @@ pseudo-elements may only appear after the <a
657653
href="#subject">subject</a> of the selector.
658654
</p>
659655

660-
<!--
661-
<p>Although pseudo-elements and pseudo-classes do not exist in the
662-
document tree, their behavior is defined as if they did. Each
663-
pseudo-element and pseudo-class may be modeled by a <span
664-
class="index-def" title="fictional tag sequence"><em>fictional tag
665-
sequence,</em></span> a fragment of document source that includes
666-
imaginary elements from the document language. The fictional tag
667-
sequence is only a model used to describe the rendering effects of
668-
pseudo-elements and pseudo-classes and does not indicate how these
669-
should be implemented.
670-
671-
[Too strong. BB]-->
672656

673657
<p>Pseudo-elements and pseudo-class names are case-insensitive.</p>
674658

@@ -677,16 +661,6 @@ applied simultaneously to the same element. In case of conflicting
677661
rules, the normal <a href="cascade.html#cascading-order">cascading
678662
order</A> determines the outcome.
679663

680-
681-
<!--
682-
<P> Some common typographical effects are associated not with
683-
structural elements but rather with typographical items as rendered.
684-
In CSS2, two such typographical items can be addressed
685-
through <span class="index-inst"
686-
title="pseudo-elements">pseudo-elements</span>: the first line of an
687-
element, and the first letter.
688-
-->
689-
690664
<p><a href="conform.html#conformance">Conforming HTML user agents</a>
691665
may <span class="index-inst" title="ignore"><a
692666
href="syndata.html#ignore">ignore</a></span> all rules with :first-line or
@@ -798,9 +772,6 @@ A:link { color: red }
798772
:link { color: red }
799773
</pre>
800774

801-
<!-- What about LINK? Why only A elements (WG still out on
802-
this)? What about XML? -IJ -->
803-
804775
<div class="example"><p>
805776
If the following link:</p>
806777

@@ -817,24 +788,6 @@ A.external:visited { color: blue }
817788
will cause it to be blue.
818789
</div>
819790

820-
<!--
821-
<div class="example"><P>
822-
Here's another example. The following rule:</p>
823-
824-
<pre>
825-
P.note:first-letter { color: red }
826-
</pre>
827-
828-
<P>would make the first letter of all P elements with
829-
<samp>class="note"</samp> such as the following, the color 'red',
830-
as in:</p>
831-
832-
<pre class="html-example">
833-
&lt;P class="note"&gt;Note: Only valid until December 31.&lt;/P&gt;
834-
</pre>
835-
</div>
836-
-->
837-
838791
<h3><a name="dynamic-pseudo-classes">The dynamic pseudo-classes:</a>
839792
<span class="index-def" title="pseudo-classes:::hover|:hover|hover
840793
(pseudo-class)">:hover</span>, <span class="index-def"
@@ -961,13 +914,6 @@ HTML:lang(de) { quotes: '
961914
:lang(de) > Q { quotes: '�' '�' '\2039' '\203A' }
962915
</pre>
963916

964-
<!-- old example, HWL
965-
HTML:lang(fr) { quotes: "�" "�" "\2039" "\203A" "\201C" "\201D" }
966-
HTML:lang(de) { quotes: "�" "�" "\203A" "\2039" "\201E" "\201D" }
967-
[LANG|=fr] > * { quotes: "�" "�" "\2039" "\203A" "\201C" "\201D" }
968-
[LANG|=de] > * { quotes: "�" "�" "\203A" "\2039" "\201E" "\201D" }
969-
-->
970-
971917
<p>The second pair of rules actually set the <span
972918
class="propinst-quotes">'quotes'</span> property on Q elements
973919
according to the language of its parent. This is done because the
@@ -1088,7 +1034,7 @@ class="index-inst" title="initial caps">"initial caps"</span> and
10881034
are common typographical effects. This type of initial letter is
10891035
similar to an inline-level element if its <span
10901036
class="propinst-float">'float'</span> property is 'none', otherwise it
1091-
is similar to a floating element.</p>
1037+
is similar to a floated element.</p>
10921038

10931039
<p>These are the properties that apply to :first-letter
10941040
pseudo-elements: <a href="fonts.html#font-properties">font
@@ -1158,11 +1104,7 @@ which it is attached.</p>
11581104
may approximate font sizes, for example to align baselines. Also, the
11591105
glyph outline may be taken into account when formatting.
11601106

1161-
<p><!--
1162-
The user agent defines what characters are inside the :first-letter
1163-
element. Removed. 27/2/98 -->
1164-
1165-
Punctuation (i.e, characters defined in Unicode [[UNICODE]] in the
1107+
<P>Punctuation (i.e, characters defined in Unicode [[UNICODE]] in the
11661108
"open" (Ps), "close" (Pe), and "other" (Po) punctuation classes), that
11671109
precedes the first letter should be included, as in:</p>
11681110

@@ -1247,26 +1189,6 @@ P.special:first-letter {color: #ffd800}
12471189
<p>This will render the "S" of "Special!" in gold.
12481190
</div>
12491191

1250-
<!--
1251-
<div class="example"><p>
1252-
The following example illustrates this with the
1253-
<span class="index-inst" title=":first-letter">:first-letter</span>
1254-
pseudo-element.</p>
1255-
1256-
<pre>
1257-
BODY P:first-letter { color: purple }
1258-
</pre>
1259-
</div>
1260-
1261-
<div class="example"><p>
1262-
The following example sets the border color to blue of all images that
1263-
descend from A elements that have not yet been visited:</p>
1264-
<pre>
1265-
A:link IMG { border: solid blue }
1266-
</pre>
1267-
</div>
1268-
-->
1269-
12701192
</body>
12711193
</html>
12721194
<!-- Keep this comment at the end of the file

css2/text.src

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: text.src,v 2.19 1998-05-05 20:10:42 bbos Exp $ -->
3+
<!-- $Id: text.src,v 2.20 1998-05-06 02:27:41 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Text</TITLE>
@@ -390,15 +390,6 @@ H1 { text-transform: uppercase }
390390
</PRE>
391391
</div>
392392

393-
<!--
394-
<H3>Special first letter/first line</H3>
395-
396-
<P>Please consult the sections on <a
397-
href="./selector.html#first-line">first line</a> and <a
398-
href="./selector.html#first-letter">first letter</a> for information
399-
on specially formatting the first letter or line of a paragraph.
400-
-->
401-
402393
<H2><a name="white-space-prop">Whitespace</a>: the <span
403394
class="propinst-white-space">'white-space'</span> property</H2>
404395

@@ -444,24 +435,6 @@ class="propinst-white-space">'white-space'</span> property in author
444435
and user style sheets but must specify a value for it in the default
445436
style sheet.
446437

447-
<!--
448-
<H3>Line breaks</H3>
449-
450-
<p>To force a line break with CSS2, authors may specify one with the
451-
<a href= "generate.html#before-after-content">':before' or
452-
':after'</a> pseudo-elements. Thus, the BR element in HTML
453-
may be described as follows:</p>
454-
455-
<pre class="example">
456-
BR:before { content: "\A"}
457-
</pre>
458-
459-
<p>See <a href="generate.html">"Generated content and automatic
460-
numbering"</a> for explanations of the <span class=
461-
"propinst-content">'content'</span> property and the use of the
462-
"\A" escape sequence.
463-
-->
464-
465438
</BODY>
466439
</HTML>
467440
<!-- Keep this comment at the end of the file

css2/visufx.src

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@
77
<body>
88
<h1 align="center">Visual effects</h1>
99

10-
<!--
11-
<P><em>The visual effects discussed in these sections do not alter layout,
12-
only presentation.</em>
13-
-->
14-
1510
<H2><a name="overflow-clipping">Overflow and clipping</a></H2>
1611

1712
<P>Generally, the content of a block box is confined to the
@@ -127,11 +122,6 @@ BLOCKQUOTE { width : 125px; height : 100px;
127122
DIV.attributed-to { text-align : right; }
128123
</PRE>
129124

130-
<!-- I replaced top and left with margin-top and margin-left, and
131-
removed position:absolute. Another way to fix the example is to add
132-
position:relative to DIV, but that would make the example, longer,
133-
while this made it shorter. BB -->
134-
135125
<P>The initial value of <span
136126
class="propinst-overflow">'overflow'</span> is 'visible', so
137127
the BLOCKQUOTE would be formatted without clipping, something like this:</P>
@@ -209,9 +199,6 @@ taken that no pixels remain visible when &lt;left&gt; + &lt;right&gt;
209199
is equal to the element's width (or &lt;top&gt; + &lt;bottom&gt;
210200
equals the element's height), and conversely that no pixels remain
211201
hidden when these values are 0.
212-
<!-- When converted to pixel coordinates, the bottom-right corner is
213-
excluded from the clipping rectangle. This rule is necessary to permit
214-
the definition of zero-width or zero-height rectangles. -->
215202
</dl>
216203

217204
<P>The element's ancestors may also have clipping regions (in case

0 commit comments

Comments
 (0)