Skip to content

Commit 42e08dd

Browse files
committed
[css2] Added some rules for missing elements. needs to be completed
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40728
1 parent aa27ff8 commit 42e08dd

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

css2/sample.src

Lines changed: 16 additions & 16 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.16 1998-01-24 00:17:24 ijacobs Exp $ -->
3+
<!-- $Id: sample.src,v 1.17 1998-01-28 06:39:07 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,16 +19,14 @@ 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 -->
22+
<P>The full presentation of some HTML elements cannot be
23+
expressed in CSS2, including replaced elements (IMG, OBJECT),
24+
scripting elements (SCRIPT, APPLET), form control elements,
25+
frame elements, and BR.
3026

31-
<PRE>
27+
<!-- More detail about these elements needed here! -->
28+
29+
<PRE class="example">
3230
/* rendered CSS1-addressable elements and all applicable non-inherited
3331
properties set to initial values and default display types */
3432

@@ -52,22 +50,24 @@ B, BIG, CENTER, DIR, FONT, HR, I, MENU, PRE, S, STRIKE, TT, U {
5250
list-style-position: outside;
5351
}
5452

55-
ADDRESS, BLOCKQUOTE, BODY, DD, DIV, DL, DT, FIELDSET, FORM, H1, H2, H3, H4, H5,
56-
H6, IFRAME, OBJECT, OL, P, UL, APPLET, CENTER, DIR, HR, MENU, PRE {
53+
ADDRESS, BLOCKQUOTE, BODY, DD, DIV, DL, DT, FIELDSET, FORM, FRAME, FRAMESET
54+
H1, H2, H3, H4, H5, H6, IFRAME, NOSCRIPT, NOFRAMES, OBJECT,
55+
OL, P, UL, APPLET, CENTER, DIR, HR, MENU, PRE {
5756
display: block;
5857
}
5958

60-
A, ABBR, ACRONYM, BDO, BUTTON, CITE, CODE, DEL, DFN, EM, IMG, INS,
61-
KBD, LABEL, Q, SAMP, SMALL, SPAN, STRONG, SUB, SUP, VAR, B,
62-
BASEFONT, BIG, FONT, I, S, STRIKE, TT, U {
59+
A, ABBR, ACRONYM, BDO, BUTTON, CITE, CODE, DEL, DFN, EM, IMG, INPUT, INS,
60+
ISINDEX, KBD, LABEL, MAP, Q, SAMP, SELECT, SMALL, SPAN, STRONG, SUB, SUP,
61+
TEXTAREA, VAR, B, BASEFONT, BIG, FONT, I, S, STRIKE, TT, U {
6362
display: inline;
6463
}
6564

6665
LI {
6766
display: list-item;
6867
}
6968

70-
HEAD {
69+
/* Don't display HEAD elements */
70+
HEAD, LINK, META, PARAM, STYLE, TITLE {
7171
display: none;
7272
}
7373

0 commit comments

Comments
 (0)