Skip to content

Commit 76ee2a6

Browse files
committed
[css2] Added acronym
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40429
1 parent 8cb430f commit 76ee2a6

1 file changed

Lines changed: 17 additions & 15 deletions

File tree

css2/sample.src

Lines changed: 17 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: sample.src,v 1.13 1997-11-21 00:10:17 ian Exp $ -->
3+
<!-- $Id: sample.src,v 1.14 1997-11-25 19:48:46 ian 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>
@@ -23,10 +23,11 @@ style sheet in their implementations.
2323
/* rendered CSS1-addressable elements and all applicable non-inherited
2424
properties set to initial values and default display types */
2525

26-
A, ABBR, ADDRESS, BDO, BLOCKQUOTE, BODY, BUTTON, CITE, CODE, DD, DEL, DFN,
27-
DIV, DL, DT, EM, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, IFRAME, IMG, INS, KBD,
28-
LABEL, LI, OBJECT, OL, P, Q, SAMP, SMALL, SPAN, STRONG, SUB, SUP, UL, VAR,
29-
APPLET, B, BIG, CENTER, DIR, FONT, HR, I, MENU, PRE, S, STRIKE, TT, U {
26+
A, ABBR, ACRONYM, ADDRESS, BDO, BLOCKQUOTE, BODY, BUTTON, CITE, CODE,
27+
DD, DEL, DFN, DIV, DL, DT, EM, FIELDSET, FORM, H1, H2, H3, H4, H5, H6,
28+
IFRAME, IMG, INS, KBD, LABEL, LI, OBJECT, OL, P, Q,
29+
SAMP, SMALL, SPAN, STRONG, SUB, SUP, UL, VAR, APPLET, B, BIG, CENTER,
30+
DIR, FONT, HR, I, MENU, PRE, S, STRIKE, TT, U {
3031
background: transparent;
3132
width: auto;
3233
height: auto;
@@ -43,12 +44,13 @@ APPLET, B, BIG, CENTER, DIR, FONT, HR, I, MENU, PRE, S, STRIKE, TT, U {
4344
}
4445

4546
ADDRESS, BLOCKQUOTE, BODY, DD, DIV, DL, DT, FIELDSET, FORM, H1, H2, H3, H4, H5,
46-
H6, IFRAME, OBJECT, OL, P, UL, APPLET, CENTER, DIR, HR, MENU, PRE {
47+
H6, IFRAME, OBJECT, OL, P, UL, APPLET, CENTER, DIR, HR, MENU, PRE {
4748
display: block;
4849
}
4950

50-
A, ABBR, BDO, BUTTON, CITE, CODE, DEL, DFN, EM, IMG, INS, KBD, LABEL, Q,
51-
SAMP, SMALL, SPAN, STRONG, SUB, SUP, VAR, B, BIG, FONT, I, S, STRIKE, TT, U {
51+
A, ABBR, ACRONYM, BDO, BUTTON, CITE, CODE, DEL, DFN, EM, IMG, INS,
52+
KBD, LABEL, Q, qSAMP, SMALL, SPAN, STRONG, SUB, SUP, VAR, B, BIG,
53+
FONT, I, S, STRIKE, TT, U {
5254
display: inline;
5355
}
5456

@@ -236,15 +238,15 @@ CAPTION {
236238
}
237239

238240

239-
/* proposed default for HTML 4.0's new ABBR element */
241+
/* proposed default for HTML 4.0's new ABBR/ACRONYM elements */
240242

241-
ABBR {
243+
ABBR, ACRONYM {
242244
font-variant: small-caps;
243-
letter-spacing: 0.1em; /* This is almost facetious. Should ABBR not have
244-
any default rendering? Uppercase transform? Not all languages distinguish
245-
between simple abbreviations and acronyms, and not all abbrev. should be
246-
capped. */
247-
}
245+
letter-spacing: 0.1em;
246+
/* This is almost facetious. Should they not have any
247+
default rendering? Uppercase transform? Not all languages
248+
distinguish between simple abbreviations and acronyms, and
249+
not all abbrev. should be capped. */ }
248250

249251
/* not part of the legacy browser default sheet, but an obvious enhancement */
250252

0 commit comments

Comments
 (0)