Skip to content

Commit 1abb469

Browse files
committed
[css2] Added list of elements (in comment) without default style rules. Changed wording in a rule to eliminate use of term canvas : use initial containing block
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40693
1 parent 1ee4f91 commit 1abb469

1 file changed

Lines changed: 16 additions & 6 deletions

File tree

css2/sample.src

Lines changed: 16 additions & 6 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.15 1997-11-25 22:08:28 ian Exp $ -->
3+
<!-- $Id: sample.src,v 1.16 1998-01-24 00:17:24 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>
@@ -19,15 +19,24 @@ UAs. The style sheet is based on extensive research on how current UAs
1919
render HTML, and developers are encouraged to use it as a default
2020
style sheet in their implementations.
2121

22+
<!-- Instead of this list, we could just say that anything not in this
23+
<P>The presentation of the following elements either has not been
24+
specified or cannot be expressed in CSS2: <tt>BR</tt>, <tt>FRAME</tt>,
25+
<tt>FRAMESET</tt>, <tt>HTML</tt>, <tt>INPUT</tt>, <tt>ISINDEX</tt>,
26+
<tt>LINK</tt>, <tt>MAP</tt>, <tt>MENU</tt>, <tt>META</tt>,
27+
<tt>NOFRAMES</tt>, <tt>NOSCRIPT</tt>, <tt>OPTGROUP</tt>,
28+
<tt>OPTION</tt>, <tt>PARAM</tt>, <tt>SELECT</tt>, <tt>STYLE</tt>,
29+
<tt>TEXTAREA</tt>, and <tt>TITLE</tt>. -IJ -->
30+
2231
<PRE>
2332
/* rendered CSS1-addressable elements and all applicable non-inherited
2433
properties set to initial values and default display types */
2534

2635
A, ABBR, ACRONYM, ADDRESS, BDO, BLOCKQUOTE, BODY, BUTTON, CITE, CODE,
2736
DD, DEL, DFN, DIV, DL, DT, EM, FIELDSET, FORM, H1, H2, H3, H4, H5, H6,
2837
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 {
38+
SAMP, SMALL, SPAN, STRONG, SUB, SUP, UL, VAR, APPLET, BASEFONT,
39+
B, BIG, CENTER, DIR, FONT, HR, I, MENU, PRE, S, STRIKE, TT, U {
3140
background: transparent;
3241
width: auto;
3342
height: auto;
@@ -49,8 +58,8 @@ H6, IFRAME, OBJECT, OL, P, UL, APPLET, CENTER, DIR, HR, MENU, PRE {
4958
}
5059

5160
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 {
61+
KBD, LABEL, Q, SAMP, SMALL, SPAN, STRONG, SUB, SUP, VAR, B,
62+
BASEFONT, BIG, FONT, I, S, STRIKE, TT, U {
5463
display: inline;
5564
}
5665

@@ -68,7 +77,8 @@ BODY {
6877
font-size: 1em;
6978
line-height: 1.33em;
7079
margin: 8px;
71-
background-position: -8px -8px; /* flush with canvas edge */
80+
/* background flush with initial containing block edge */
81+
background-position: -8px -8px;
7282
word-spacing: normal;
7383
letter-spacing: normal;
7484
text-transform: none;

0 commit comments

Comments
 (0)