Skip to content

Commit 1f678ec

Browse files
committed
[css2] Added some index terms. Added requirements about alternate styles.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401100
1 parent 6c870f8 commit 1f678ec

1 file changed

Lines changed: 32 additions & 15 deletions

File tree

css2/conform.src

Lines changed: 32 additions & 15 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: conform.src,v 2.13 1998-02-28 01:12:35 bbos Exp $ -->
3+
<!-- $Id: conform.src,v 2.14 1998-03-09 12:08:37 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Conformance: requirements and recommendations</TITLE>
@@ -14,11 +14,19 @@
1414
starting with the contract between authors, documents, users, and user
1515
agents.
1616

17-
<P>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
18-
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
19-
document are to be interpreted as described in RFC 2119 (see
20-
[[RFC2119]]). However, for readability, these words do not appear in
21-
all uppercase letters in this specification.
17+
<P>The key words <span class="index-def" title="MUST">"MUST"</span>,
18+
<span class="index-def" title="MUST NOT">"MUST NOT"</span>, <span
19+
class="index-def" title="REQUIRED">"REQUIRED"</span>, <span
20+
class="index-def" title="SHALL">"SHALL"</span>, <span
21+
class="index-def" title="SHALL NOT">"SHALL NOT"</span>, <span
22+
class="index-def" title="SHOULD">"SHOULD"</span>, <span
23+
class="index-def" title="SHOULD NOT">"SHOULD NOT"</span>, <span
24+
class="index-def" title="RECOMMENDED">"RECOMMENDED"</span>, <span
25+
class="index-def" title="MAY">"MAY"</span>, and <span
26+
class="index-def" title="OPTIONAL">"OPTIONAL"</span> in this document
27+
are to be interpreted as described in RFC&nbsp;2119 (see [[RFC2119]]).
28+
However, for readability, these words do not appear in all uppercase
29+
letters in this specification.
2230

2331
<P>At times, the authors of this specification recommend good practice
2432
for authors and user agents. These recommendations are not normative
@@ -28,7 +36,8 @@ recommend ...", "This specification recommends ...", or some similar
2836
wording.</P>
2937

3038
<dl>
31-
<dt><dfn><strong>Style sheet</strong></dfn>
39+
<dt><dfn><strong><span class="index-def" title="style sheet">Style
40+
sheet</span></strong></dfn>
3241
<dd>A set of statements that specify
3342
presentation of a document.
3443

@@ -51,10 +60,12 @@ specification. An <span class="index-def"
5160
title="illegal"><dfn>illegal</dfn></span> or invalid
5261
at-rule, property name, or property value is one that is not valid.
5362

54-
<dt><dfn><strong>Source document</strong></dfn>
63+
<dt><dfn><strong><span class="index-def" title="source
64+
document">Source document</span></strong></dfn>
5565
<dd>The document to which one or more style sheets refer.</dd>
5666

57-
<dt><dfn><strong><a name="doclanguage">Document language</a></strong></dfn>
67+
<dt><dfn><strong><span class="index-def" title="document language"><a
68+
name="doclanguage">Document language</a></span></strong></dfn>
5869
<dd>The computer language of the source
5970
document (e.g., HTML, XML, etc.).
6071

@@ -80,8 +91,8 @@ Rendered content may also be <span class="index-def" title="alternate
8091
text"> <a name="alternate-text"><dfn>alternate text</dfn></a></span>
8192
for an element (e.g., the value of the HTML "alt" attribute).
8293

83-
<dt><dfn><strong><a name="doctree">Document
84-
tree</a></strong></dfn></dt>
94+
<dt><dfn><strong><span class="index-def" title="document tree"><a
95+
name="doctree">Document tree</a></span></strong></dfn></dt>
8596
<dd>User agents transform a document written in the document language
8697
into a <dfn>document tree</dfn> where every element except one has
8798
exactly one <span class="index-def" title="parent">parent</span>
@@ -218,6 +229,15 @@ i.e., the default style sheet value -IJ -->
218229
<li>Given a <a href="#doctree">document tree</a>, it must
219230
assign a value for every supported property according to
220231
the rules of <a href="cascade.html">cascading and inheritance</a>.
232+
233+
<li>If the source document comes with alternate style sheets (such as
234+
with the "alternate" keyword in HTML 4.0 [[-HTML40]]), the UA must
235+
allow the user to select one from among these style sheets and apply
236+
the selected one.
237+
238+
<!-- Make requirement that alternate style sheets (see HTML 4.0) can
239+
be selected. 27/2/98 -->
240+
221241
</ol>
222242

223243
<P>Not every user agent must observe every point, however:</p>
@@ -230,7 +250,7 @@ respect points 1 - 3.
230250
href="#valid-style-sheet">valid style sheets</a>
231251

232252
<li>A user agent that <em>renders</em> a document with associated style
233-
sheets must respect points 1 - 4 and render the document
253+
sheets must respect points 1 - 5 and render the document
234254
according to the media-specific requirements set forth in this
235255
specification. <a href="cascade.html#actual-value">Values</a>
236256
may be approximated when required by the user agent.
@@ -250,9 +270,6 @@ user interface):</p>
250270
<LI>Allow the user to turn on or off specific style sheets .
251271
</UL>
252272

253-
<!-- Make requirement that alternate style sheets (see HTML 4.0) can
254-
be selected. 27/2/98 -->
255-
256273
<h2>Error conditions</h2>
257274

258275
<P>In general, this document does not specify error handling behavior

0 commit comments

Comments
 (0)