Skip to content

Commit b06495e

Browse files
committed
[css2] Changed colspan example, possibly unnecessarily, since colspan no longer part of CSS. Changed with an href example instead. removed word Example in favor of generated word for non-CSS UAs
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401462
1 parent b3210c3 commit b06495e

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

css2/selector.src

Lines changed: 7 additions & 8 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.41 1998-04-06 23:45:39 ijacobs Exp $ -->
3+
<!-- $Id: selector.src,v 2.42 1998-04-07 20:44:04 ijacobs Exp $ -->
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<title>Selectors</title>
@@ -385,12 +385,13 @@ SPAN[hello="Cleveland"][goodbye="Columbus"] { color: blue; }
385385
The following selectors illustrate the differences between "=" and "~=".
386386
The first selector will match, for example, the value
387387
"copyright copyleft copyeditor" for the "rel" attribute. The second
388-
selector will only match when the "colspan" attribute has the value "2".
388+
selector will only match when the "href" attribute has the value
389+
"http://www.w3.org/".
389390
</p>
390391

391392
<pre>
392393
A[rel~="copyright"]
393-
TD[colspan="2"]
394+
A[href="http://www.w3.org/"]
394395
</pre>
395396
</div>
396397

@@ -880,7 +881,7 @@ should be larger than that of an inactive link, but since this may
880881
cause letters to change position when the reader selects the link, a
881882
UA may ignore the corresponding style rule.</p>
882883

883-
<div class="example"><p>Example:</p>
884+
<div class="example"><p>
884885

885886
<pre>
886887
A:link { color: red } /* unvisited links */
@@ -1229,8 +1230,7 @@ pseudo-elements</h3>
12291230
fixed text before or after an element. They are explained in the
12301231
section on <a href="generate.html">generated text.</a>
12311232

1232-
<div class="example">
1233-
<p>Example:</p>
1233+
<div class="example"><P>
12341234

12351235
<pre>
12361236
H1:before {content: counter(chapno, upper-roman) ". "}
@@ -1241,8 +1241,7 @@ H1:before {content: counter(chapno, upper-roman) ". "}
12411241
with :before and :after, they apply to the first letter or line of the
12421242
element including the inserted text.
12431243

1244-
<div class="example">
1245-
<p>Example:
1244+
<div class="example"><P>
12461245

12471246
<pre>
12481247
P.special:before {content: "Special! "}

0 commit comments

Comments
 (0)