8000 [css2] Added new documents, so changed links · w3c/csswg-drafts@e83ac46 · GitHub
Skip to content

Commit e83ac46

Browse files
committed
[css2] Added new documents, so changed links
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40284
1 parent be2775a commit e83ac46

7 files changed

Lines changed: 30 additions & 94 deletions

File tree

css2/colors.src

Lines changed: 3 additions & 3 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 1.18 1997-10-03 22:11:59 ian Exp $ -->
3+
<!-- $Id: colors.src,v 1.19 1997-10-29 04:37:40 ian Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Colors and backgrounds</TITLE>
@@ -54,10 +54,10 @@ background will shine through by default because of the initial
5454
'transparent' value on <span
5555
class="propinst-background-color">'background-color'</span>.
5656

57-
<P>In terms of the <a href="flowobj.html#box-model">box model</a>,
57+
<P>In terms of the <a href="box.html#box-model">box model</a>,
5858
"background" refers to the background of the content and the padding
5959
area. Border colors and styles are set with the <a
60-
href="flowobj.html#border-properties">border properties</a>. Margins
60+
href="box.html#border-properties">border properties</a>. Margins
6161
are always transparent so the background of the parent element always
6262
shines through.
6363

css2/conform.src

Lines changed: 8 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: conform.src,v 1.20 1997-10-20 02:59:54 ian Exp $ -->
3+
<!-- $Id: conform.src,v 1.21 1997-10-29 04:38:25 ian Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Definitions and document conventions</TITLE>
7-
<LINK rel="next" href="syndata.html">
7+
<LINK rel="next" href="process.html">
88
<LINK rel="previous" href="intro.html">
99
<LINK rel="STYLESHEET" href="style/default.css" type="text/css">
1010
</HEAD>
@@ -23,75 +23,13 @@ these elements of the document language. Examples of elements in HTML
2323
include "P" (for structuring paragraphs), "TABLE" (for creating
2424
tables), "OL" (for creating ordered lists), etc.
2525

26+
<H3><a name="inheritance">Inheritance of property values</a></h3>
2627

27-
<H3><a name="doctree">Document tree, parent, child, descendant,
28-
ancestor</a></H3>
29-
30-
<P>CSS makes use of the fact that a document in the document language
31-
can be thought of as a tree: every element except one has exactly one
32-
<span class="index-def" title="parent">parent</span> element. (See the
33-
SGML (<a href="refs.html#ref-ISO8879">[ISO8879]</a>) and XML (<a
34-
href="refs.html#ref-XML">[XML]</a>) specifications for the
35-
definition of parent.) The one exception is the <span
36-
class="index-def" title="root">root</span> element, which has no
37-
parent. An element A is called a <span class="index-def"
38-
title="child">child</span> of an element B, if and only if B is the
39-
parent of A.
40-
41-
<P>An element A is called a <span class="index-def"
42-
title="ancestor">ancestor</span> of an element B, if either (1) A is
43-
the parent B, or (2) A is the parent of some element C that is an
44-
ancestor of B.
45-
46-
<P>An element A is called a <span class="index-def"
47-
title="descendant">descendant</span> of an element B, if and only if B
48-
is an ancestor of A.
49-
50-
<div class="example"><P>
51-
For example, the following HTML document:
52-
<PRE>
53-
&lt;HTML&gt;
54-
&lt;TITLE&gt;My home page&lt;/TITLE&gt;
55-
&lt;BODY&gt;
56-
&lt;H1&gt;My home page&lt;/H1&gt;
57-
&lt;P&gt;Welcome to my home page! Let me tell you about my favorite
58-
composers:
59-
&lt;UL&gt;
60-
&lt;LI&gt; Elvis Costello
61-
&lt;LI&gt; Johannes Brahms
62-
&lt;LI&gt; Georges Brassens
63-
&lt;/UL&gt;
64-
&lt;/BODY&gt;
65-
&lt;/HTML&gt;
66-
</PRE>
67-
68-
<P>results in the following tree:</P>
69-
70-
<IMG src="images/doctree.gif" alt="Sample document tree">
71-
72-
<P>Notice that although the source program does not explicitly refer
73-
to the HEAD element, it is inferred during parsing and becomes part of
74-
the document tree.
75-
</div>
76-
77-
<!--
78-
<P>Notice in the previous example that the tree illustration does not
79-
refer to the text this program: the title text, the paragraph text, and
80-
the list item text.
81-
-->
82-
83-
<H3><span class="index-def" title="inheritance">Inheritance of
84-
property values</span></H3>
85-
86-
<P>CSS works, basically, by converting the document tree to a tree of
87-
rendering objects that are characterized by properties. A property has
88-
a name, such as 'font-weight' and a value, for example 'bold'. All
89-
rendering objects have the same properties, but the values may
90-
differ. The values can be set explicitly, but if they are not, the
91-
values are either inherited, or set to an "initial" value.
92-
93-
<P>If a value is inherited, it means the value is the same as the
94-
value in the rendering object for the parent element.
28+
<P>Property values may be set explicitly, inherited, or have an
29+
initial value. If a value is <span class="index-def"
30+
title="inheritance of property values">inherited</span> inherited, it
31+
means the value is the same as the value in the rendering object for
32+
the parent element.
9533

9634
<div class="example"><P>
9735
Suppose there is an H1 element with an emphasized element inside:

css2/intro.src

Lines changed: 1 addition & 4 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: intro.src,v 1.4 1997-10-01 22:26:18 ian Exp $ -->
3+
<!-- $Id: intro.src,v 1.5 1997-10-29 04:38:52 ian Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Introduction to CSS2</TITLE>
@@ -123,8 +123,5 @@ everyone can become a publisher. The UA is free to choose the
123123
mechanism for referencing personal style sheets.
124124
</DL>
125125

126-
<H2>Tips for style sheet authors</H2>
127-
<em>To be written ... </em>
128-
129126
</BODY>
130127
</HTML>

css2/media.src

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: media.src,v 1.18 1997-10-21 00:31:24 ian Exp $ -->
3+
<!-- $Id: media.src,v 1.19 1997-10-29 04:39:27 ian Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Media types</TITLE>
7-
<LINK rel="next" href="flowobj.html">
7+
<LINK rel="next" href="box.html">
88
<LINK rel="previous" href="cascade.html">
99
<LINK rel="STYLESHEET" href="style/default.css" type="text/css">
1010
</HEAD>

css2/page.src

Lines changed: 5 additions & 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: page.src,v 1.7 1997-10-22 02:04:08 ian Exp $ -->
3+
<!-- $Id: page.src,v 1.8 1997-10-29 04:40:16 ian Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Paged media</TITLE>
@@ -23,7 +23,7 @@ href="./#page-breaks">page breaks.</a>
2323

2424
<ol>
2525
<li>The <span class="index-def" title="page box"><dfn>page
26-
box</dfn></span> extends the <a href="flowobj.html">box model</a>
26+
box</dfn></span> extends the <a href="box.html#box-model">box model</a>
2727
to allow authors to specify the size of a page, its margins, etc.
2828
<li>The <span class="index-def" title="page model"><dfn>page
2929
model</dfn></span> extends the <a
@@ -261,7 +261,7 @@ to set crop and cross marks.
261261
<h3><a name="page-margins">Page margins</a></h3>
262262

263263
<P>In addition, the following page margin properties, defined for the
264-
<a href="flowobj.html#box-model">box</a> that surrounds each element,
264+
<a href="box.html#box-model">box</a> that surrounds each element,
265265
apply within the page context:
266266

267267
<ul>
@@ -281,8 +281,8 @@ box, and page margins:</P>
281281

282282
<div class="note"><P>
283283
<em><strong>Note.</strong> In the future, <a
284-
href="./flowobj.html#border-properties">border properties</a> and <a
285-
href="./flowobj.html#padding-properties">padding properties</a> may
284+
href="./box.html#border-properties">border properties</a> and <a
285+
href="./box.html#padding-properties">padding properties</a> may
286286
also be allowed in the page context.
287287
</em>
288288
</div>

css2/selector.src

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: selector.src,v 1.25 1997-10-28 21:31:49 bbos Exp $ -->
3+
<!-- $Id: selector.src,v 1.26 1997-10-29 04:41:17 ian Exp $ -->
44
<head>
5-
<meta http-equiv="Content-Type" content="text/html;
6-
charset=ISO-8859-1">
5+
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
76
<title>Selectors</title>
8-
<link href="cascade.html" rel="next">
9-
<link href="syndata.html" rel="previous">
7+
<link rel="next" href="cascade.html">
8+
<link rel="previous" href="syndata.html">
109
<link href="style/default.css" rel="STYLESHEET" type="text/css">
1110
</head>
1211
<body>
@@ -535,6 +534,7 @@ href="#attribute-selectors">attribute selectors</a>):</p>
535534
<pre>
536535
/H1.opener ~ H2/ { margin-top: -5mm }
537536
</pre>
537+
</div>
538538

539539
<p>Sequential selectors can also be used to match the first child of
540540
some element. In this case the first selector is omitted, and the
@@ -755,9 +755,9 @@ class="propinst-vertical-align">'vertical-align'</span> (only if
755755
'float' is 'none'), <span
756756
class="propinst-text-transform">'text-transform'</span>, <span
757757
class="propinst-line-height">'line-height'</span>, <a
758-
href="flowobj.html#margin-properties">margin properties</a>, <a
759-
href="flowobj.html#padding-properties">padding properties</a>, <a
760-
href="flowobj.html#border-properties">border properties</a>, <span
758+
href="box.html#margin-properties">margin properties</a>, <a
759+
href="box.html#padding-properties">padding properties</a>, <a
760+
href="box.html#border-properties">border properties</a>, <span
761761
class="propinst-float">'float'</span>, and <span
762762
class="propinst-clear">'clear'</span>.</p>
763763

css2/syndata.src

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: syndata.src,v 1.20 1997-10-21 00:34:39 ian Exp $ -->
3+
<!-- $Id: syndata.src,v 1.21 1997-10-29 04:42:19 ian 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>
77
<LINK rel="next" href="selector.html">
8-
<LINK rel="previous" href="convent.html">
8+
<LINK rel="previous" href="process.html">
99
<LINK rel="STYLESHEET" href="style/default.css" type="text/css">
1010
</HEAD>
1111
<BODY>
@@ -695,3 +695,4 @@ sgml-nofill-elements:("pre" "style" "br")
695695
sgml-live-element-indicator:t
696696
End:
697697
-->
698+

0 commit comments

Comments
 (0)