-
Notifications
You must be signed in to change notification settings - Fork 790
Expand file tree
/
Copy pathconform.src
More file actions
130 lines (116 loc) · 5.2 KB
/
conform.src
File metadata and controls
130 lines (116 loc) · 5.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE HTML SYSTEM "http://www.w3.org/TR/WD-html40/sgml/HTML4.dtd">
<html lang="en">
<!-- $Id: conform.src,v 1.8 1997-08-14 00:38:06 ian Exp $ -->
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>Definitions and document conventions</TITLE>
<LINK rel="next" href="syndata.html">
<LINK rel="previous" href="cssdesgn.html">
<LINK rel="STYLESHEET" href="style/default.css" type="text/css">
</HEAD>
<BODY>
<H1 align="center">Definitions and document conventions</H1>
<H2><a name="definitions">Definitions</a></H2>
<dl>
<dt><span class="index-def" title="user agent|UA"><em>User agent</em></span>
(or UA)
<dd>??
<dt><span class="index-def" title="object language"><em>Object
language</em></span>
<dd>??
<dt><span class="index-def" title="element"><em>element</em></span>
<dd>??
<dt><span class="index-def" title="CSS2 core"><em>CSS2 core</em></span>
<dd>The core functionality consists of the whole CSS2 specification
except those parts explicitly excluded. In the text, those parts are
marked with "<EM>CSS2 core:</EM>" followed by an explanation of what
functionality is outside the core functionality.
<dt><span class="index-def" title="CSS2 advanced"><em>CSS2 advanced</em></span>
<dd>The set of features excluded from the core functionality is called
CSS2 advanced features.
<dt><span class="index-def" title="default style sheet"><em>Default style
sheet</em></span>
<dd>??
</dl>
<H2>Conventions</H2>
<H3>CSS property definitions</H3>
<P>Each CSS property definition begins with a summary of key
information that resembles the following:
<P><strong>'Property-name'</strong>
<TABLE>
<TR><TH>Value:<TD>Possible constant values or value types</TR>
<TR><TH>Initial:<TD>The initial value</TR>
<TR><TH>Applies to:<TD>Elements this property applies to</TR>
<TR><TH>Inherited:<TD>Whether the property is inherited</TR>
<TR><TH>Percentage values:<TD></TR>
</TABLE>
<BLOCKQUOTE>
<EM>Value:</EM> N | NW | NE<BR>
<EM>Value:</EM> [ <length> | thick | thin ]{1,4}<BR>
<EM>Value:</EM> [<family-name> , ]* <family-name><BR>
<EM>Value:</EM> <url>? <color> [ / <color> ]?<BR>
<EM>Value:</EM> <url> || <color><BR>
</BLOCKQUOTE>
<P> The words between "<" and ">" give a type of value. The most common
types are <length>, <percentage>, <url>, <number>
and <color>; these are described in <A HREF="#units">section 6</A>.
The more specialized types (e.g. <font-family> and
<border-style>) are described under the corresponding property.
<P>
Other words are keywords that must appear literally, without quotes. The
slash (/) and the comma (,) must also appear literally.
<P>
Several things juxtaposed mean that all of them must occur, in the given
order. A bar (|) separates alternatives: one of them must occur. A double
bar (A || B) means that either A or B or both must occur, in any order. Brackets
([]) are for grouping. Juxtaposition is stronger than the double bar, and
the double bar is stronger than the bar. Thus "a b | c || d e" is equivalent
to "[ a b ] | [ c || [ d e ]]".
<P>
Every type, keyword, or bracketed group may be followed by one of the following
modifiers:
<UL>
<LI>
An asterisk (*) indicates that the preceding type, word or group is repeated
zero or more times.
<LI>
A plus (+) indicates that the preceding type, word or group is repeated one
or more times.
<LI>
A question mark (?) indicates that the preceding type, word or group is optional.
<LI>
A pair of numbers in curly braces ({A,B}) indicates that the preceding type,
word or group is repeated at least A and at most B times.
</UL>
<H3>CSS value types</H3>
Value types may be designated in several ways:
<ol>
<li> constant values (e.g., 'auto', 'disc', etc.) <li> basic data
types, which appear between "<" and ">" (e.g., <span
class="index-inst" title="<length>"><span
class="value-inst-length"><length></span></span>, <span
class="index-inst" title="<percentage>"><span
class="value-inst-percentage"><percentage></span></span>,
etc.). In the electronic version of the document, each instance of a
basic data type links to its definition.
<li> non-terminals that have the same range of values as a property
bearing the same name (e.g., <border-width>
<background-attachment>, etc.). In this case, the non-terminal
names is the property name (complete with quotes) between "<" and
">" (e.g., <'border-width'>). In the electronic version of
the document, each instance of this type of non-terminal links to the
corresponding property definition.
<P>non-terminals that do not share the same name as a property. In
this case, the non-terminal name appears between "<" and ">"
(e.g., <border-width>) and its definition is located near its
first appearance in the specification. In the electronic version of
the document, each instance of this type of non-terminal links to the
corresponding value definition.
</ol>
<H3>HTML information</H3>
<P>HTML elements are in all upper case letters (e.g., HTML, BODY, EM,
P).
<P>HTML attributes are in all lower case lettesr (e.g., src, class,
id).
</BODY>
</html>