Skip to content

Commit d6654cf

Browse files
committed
[css2] Added TVRaman aural style sheet props (with Copyright notice for now). Also, added table element display values
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40815
1 parent b3eb56d commit d6654cf

1 file changed

Lines changed: 70 additions & 5 deletions

File tree

css2/sample.src

Lines changed: 70 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: sample.src,v 2.0 1998-02-02 18:47:18 bbos Exp $ -->
3+
<!-- $Id: sample.src,v 2.1 1998-02-07 01:43:45 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Appendix A: A sample style sheet for HTML 4.0</TITLE>
@@ -54,8 +54,9 @@ OL, P, UL, APPLET, CENTER, DIR, HR, MENU, PRE {
5454
}
5555

5656
A, ABBR, ACRONYM, BDO, BUTTON, CITE, CODE, DEL, DFN, EM, IMG, INPUT, INS,
57-
ISINDEX, KBD, LABEL, MAP, Q, SAMP, SELECT, SMALL, SPAN, STRONG, SUB, SUP,
58-
TEXTAREA, VAR, B, BASEFONT, BIG, FONT, I, S, STRIKE, TT, U {
57+
ISINDEX, KBD, LABEL, LEGEND, MAP, Q, SAMP, SELECT, SMALL, SPAN,
58+
STRONG, SUB, SUP, TEXTAREA, VAR, B, BASEFONT, BIG, FONT, I, S,
59+
STRIKE, TT, U {
5960
display: inline;
6061
}
6162

@@ -197,14 +198,39 @@ CENTER {
197198
text-align: center;
198199
}
199200

201+
LEGEND {
202+
font-size: 1em;
203+
line-height: 1.33em;
204+
color: black;
205+
word-spacing: normal;
206+
letter-spacing: normal;
207+
text-transform: none;
208+
text-align: left;
209+
text-indent: 0;
210+
white-space: normal;
211+
text-decoration: none;
212+
margin: 1px;
213+
padding: 1px;
214+
border: none;
215+
}
200216

201217

202218
/* Table element rendering behavior cannot be described completely in CSS1,
203219
yet the following declarations appear to apply. This section is likely to become
204220
obsolete upon the deployment of a more comprehensive style sheet specification
205221
for tables. */
206222

207-
CAPTION, COL, COLGROUP, LEGEND, TABLE, TBODY, TD, TFOOT, TH, THEAD, TR {
223+
TABLE { display: table }
224+
TR { display: table-row }
225+
THEAD { display: table-header-group }
226+
TBODY { display: table-footer-group }
227+
TFOOT { display: table-row-group }
228+
COL { display: table-column }
229+
COLGROUP { display: table-column-group }
230+
TD, TH { display: table-cell }
231+
CAPTION { display: table-caption }
232+
233+
CAPTION, COL, COLGROUP, TABLE, TBODY, TD, TFOOT, TH, THEAD, TR {
208234
background: transparent;
209235
text-decoration: none;
210236
margin: 1px;
@@ -221,7 +247,7 @@ TABLE, TBODY, TFOOT, THEAD, TR {
221247
height: auto;
222248
}
223249

224-
CAPTION, LEGEND, TD, TH {
250+
CAPTION, TD, TH {
225251
display: inline;
226252
vertical-align: baseline;
227253
font-size: 1em;
@@ -265,6 +291,45 @@ OL OL OL LI {
265291
list-style-type: lower-roman
266292
}
267293

294+
/* Begin aural section */
295+
/*
296+
Copyright (C) T. V. Raman, Adobe Systems Incorporated.
297+
All Rights Reserved.
298+
This portion of the style sheet may not be reproduced without
299+
inclusion of this Copyright notice.
300+
*/
301+
302+
@media speech {
303+
H1,H2,H3,
304+
H4,H5,H6 { voice-family: paul; stress: 2; richness: 9; }
305+
H1 { pitch: 1; pitch-range: 9; }
306+
H2 { pitch: 2; pitch-range: 8; }
307+
H3 { pitch: 3; pitch-range: 7; }
308+
H4 { pitch: 4; pitch-range: 6; }
309+
H5 { pitch: 5; pitch-range: 5; }
310+
H6 { pitch: 6; pitch-range: 4; }
311+
312+
LI,DT,DD { pitch: 6; richness: 6; }
313+
DT { stress: 8; }
314+
315+
PRE,KEY,CODE,TT { pitch: 5;
316+
pitch-range: 0;
317+
stress: 0;
318+
richness: 8;
319+
}
320+
EM { pitch: 6; pitch-range: 6; stress: 6; richness: 5; }
321+
STRONG { pitch: 6; pitch-range: 6; stress: 9; richness: 9; }
322+
DFN { pitch: 7; pitch-range: 6; stress: 6; }
323+
S,STRIKE { richness: 0; }
324+
I { pitch: 6; pitch-range: 6; stress: 6; richness: 5 }
325+
B { pitch: 6; pitch-range: 6; stress: 9; richness: 9; }
326+
U { richness: 0; }
327+
A:link { voice-family: harry; }
328+
A:visited { voice-family: betty;}
329+
A:active { voice-family: betty; pitch-range: 8; pitch: 8 }
330+
}
331+
/* End aural section */
332+
268333
</PRE>
269334
</BODY>
270335
</HTML>

0 commit comments

Comments
 (0)