Skip to content

Commit cf414bf

Browse files
committed
[css2] Added comments about needed edits
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401096
1 parent e0b2bdb commit cf414bf

4 files changed

Lines changed: 21 additions & 31 deletions

File tree

css2/selector.src

Lines changed: 8 additions & 2 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.17 1998-02-26 02:07:28 bbos Exp $ -->
3+
<!-- $Id: selector.src,v 2.18 1998-02-27 08:00:06 bbos Exp $ -->
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<title>Selectors</title>
@@ -946,7 +946,7 @@ not yet been visited.
946946
<li> The :visited pseudo-class applies once the link has been
947947
visited by the user. <strong>Note.</strong>
948948
After a certain amount of time, user agents may choose to
949-
return a visited link to the (unvisited) 'link' state.
949+
return a visited link to the (unvisited) ':link' state.
950950

951951
<li> The :hover pseudo-class applies when the user designates, but
952952
does not activate, a link. For example, a visual user agent could
@@ -962,6 +962,12 @@ activated by the user.
962962
several states, the order of preference is: active, hover, visited,
963963
link.
964964

965+
<!-- :link/:visited are exclusive. The others NOT mutually exclusive
966+
(change wrt CSS1!). :active and :hover applies everywhere. Explain how
967+
cascading order works.
968+
Add :focus for keyboard focus. Better definition of
969+
:hover (visual media only). 26/2/98`-->
970+
965971
<p>User agents are not required to reflow a currently displayed
966972
document due to link pseudo-class transitions. For instance, a style
967973
sheet may specify that the <span

css2/syndata.src

Lines changed: 6 additions & 27 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: syndata.src,v 2.29 1998-02-25 19:20:19 bbos Exp $ -->
3+
<!-- $Id: syndata.src,v 2.30 1998-02-27 08:00:39 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>CSS2 syntax and basic data types</TITLE>
@@ -819,6 +819,11 @@ P:before {content: counter(par-num, upper-roman) ". "}
819819
</pre>
820820
</div>
821821

822+
<p>Counters that are not in the <a
823+
href="generate.html#scope">scope</a> of any 'counter-reset', are
824+
assumed to have been reset to 0 by a 'counter-reset' on the root
825+
element.
826+
822827
<H3><a name="color-units">Colors</a></H3>
823828

824829
A <span class="index-def" title="&lt;color&gt;::definition of"><a
@@ -994,32 +999,6 @@ o very long title"] {/*...*/}
994999
A[TITLE="a not so very long title"] {/*...*/}
9951000
</pre>
9961001

997-
<H3><a name="attr">Attribute strings</a></H3>
998-
999-
<p>Attributes in the source document can also be used whereever
1000-
strings are expected. The function <span class="index-def"
1001-
title="attr()">'attr(X)'</span> returns the value of attribute X as a
1002-
string. If the current element doesn't have an attribute X, an empty
1003-
string is returned.
1004-
1005-
<p>Note that the string is parsed according to the rules of the
1006-
document language, not CSS, which means that numerical escapes like
1007-
"&amp;#32;" and "&amp;#65;" are interpreted (they are replaced by a
1008-
space and an "A", resp.), but that backslashes are not special ("\20"
1009-
is <em>not</em> replaced by a space).
1010-
1011-
<div class="example">
1012-
<p>This rule inserts the text of the ALT attribute before the
1013-
image. If the image is not displayed, the reader will still see the
1014-
ALT text.
1015-
1016-
<pre>
1017-
IMG:before {content: attr(ALT)}
1018-
</pre>
1019-
</div>
1020-
1021-
<p class="note">[Should the name of the attribute be quoted? BB]
1022-
10231002
<H2>CSS document representation</H2>
10241003

10251004
<P>A CSS style sheet is a sequence of characters from the Universal

css2/ui.src

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: ui.src,v 2.4 1998-02-21 04:31:21 ijacobs Exp $ -->
3+
<!-- $Id: ui.src,v 2.5 1998-02-27 08:01:00 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>User interface</TITLE>
77
</HEAD>
88
<BODY>
99
<H1 align="center">User interface</H1>
10+
11+
<!-- Not decided yet: Add 'focus-outline' (compound property):
12+
<color>||<border-style>||<length>. ChrisW. 26/2/98 -->
13+
1014
<H2><a name="cursor-props">Cursors:</a> the <span
1115
class="propinst-cursor">'cursor'</span> property</H2>
1216

css2/visuren.src

Lines changed: 2 additions & 1 deletion
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: visuren.src,v 2.22 1998-02-24 22:54:08 ijacobs Exp $ -->
3+
<!-- $Id: visuren.src,v 2.23 1998-02-27 08:02:12 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Visual rendering model</TITLE>
@@ -746,6 +746,7 @@ class="propinst-bottom">'bottom'</span>).
746746
<dt><strong>auto</strong>
747747
<dd>The offset is automatically calculated based on the width and
748748
height of the box.
749+
<!-- define according to last CSS-P draft. 26/2/98 -->
749750
</dl>
750751

751752
<P>For absolutely positioned boxes, the offsets are with respect to

0 commit comments

Comments
 (0)