Bug 229804 CSS Errors in content/x?l/tests

patch by bc@bclary.com r=heikki sr=dbaron
This commit is contained in:
timeless%mozdev.org 2004-01-15 03:08:01 +00:00
Родитель 0ab187e2cd
Коммит 69ec5cdd87
2 изменённых файлов: 32 добавлений и 27 удалений

Просмотреть файл

@ -20,7 +20,7 @@ Appendix Title {
font-weight: bold; font-weight: bold;
font-family: Arial; font-family: Arial;
font-size: 24pt; font-size: 24pt;
bottom-margin: 10pt; margin-bottom: 10pt;
display: block; display: block;
} }
@ -34,7 +34,7 @@ Author {
AuthorGroup { AuthorGroup {
font-size: 12pt; font-size: 12pt;
top-margin: 25pt; margin-top: 25pt;
display: block; display: block;
font-weight: bold; font-weight: bold;
} }
@ -53,7 +53,7 @@ Book Title {
font-weight: bold; font-weight: bold;
font-family: Arial; font-family: Arial;
font-size: 18pt; font-size: 18pt;
bottom-margin: 10pt; margin-bottom: 10pt;
display: block; display: block;
} }
@ -70,11 +70,14 @@ BridgeHead {
} }
Caution { Caution {
prefix-format: "Caution:";
font-weight: bold; font-weight: bold;
color: red; color: red;
} }
Caution:before {
content: "Caution:";
}
Chapter { Chapter {
display: block; display: block;
margin-bottom: 25pt; margin-bottom: 25pt;
@ -84,7 +87,7 @@ Chapter Title {
font-weight: bold; font-weight: bold;
font-family: Arial; font-family: Arial;
font-size: 20pt; font-size: 20pt;
bottom-margin: 10pt; margin-bottom: 10pt;
display: block; display: block;
} }
@ -263,7 +266,7 @@ Literal {
} }
LiteralLayout { LiteralLayout {
whitespace: pre; white-space: pre;
display: block; display: block;
} }
@ -282,9 +285,9 @@ Option {
} }
OrderedList { OrderedList {
top-margin: 5pt; margin-top: 5pt;
left-margin: 20pt; margin-left: 20pt;
bottom-margin: 10pt; margin-bottom: 10pt;
display: block; display: block;
list-style-type: decimal; list-style-type: decimal;
} }
@ -315,9 +318,9 @@ Para LiteralLayout {
} }
Para Screen { Para Screen {
top-margin: 7pt; margin-top: 7pt;
left-margin: 10pt; margin-left: 10pt;
bottom-margin: 7pt; margin-bottom: 7pt;
display: block; display: block;
} }
@ -359,8 +362,8 @@ ProgramListingCO {
PublisherName { PublisherName {
font-family: Times, New, Roman; font-family: Times, New, Roman;
font-size: 20pt; font-size: 20pt;
top-margin: 15pt; margin-top: 15pt;
bottom-margin: 15pt; margin-bottom: 15pt;
display: block; display: block;
} }
@ -441,22 +444,22 @@ Replaceable {
Screen { Screen {
display: block; display: block;
left-margin: 20pt; margin-left: 20pt;
bottom-margin: 10pt; margin-bottom: 10pt;
whitespace: pre; white-space: pre;
} }
ScreenCO { ScreenCO {
whitespace: pre; white-space: pre;
} }
ScreenShot { ScreenShot {
whitespace: pre; white-space: pre;
} }
Sect1 { Sect1 {
display: block; display: block;
top-margin: 16pt; margin-top: 16pt;
} }
Sect1 Title { Sect1 Title {
@ -468,7 +471,7 @@ Sect1 Title {
Sect2 { Sect2 {
display: block; display: block;
top-margin: 15pt; margin-top: 15pt;
} }
Sect2 Title { Sect2 Title {
@ -480,7 +483,7 @@ Sect2 Title {
Sect3 { Sect3 {
display: block; display: block;
top-margin: 15pt; margin-top: 15pt;
} }
Sect3 Title { Sect3 Title {
@ -530,7 +533,7 @@ Subtitle {
font-size: 20pt; font-size: 20pt;
font-weight: bold; font-weight: bold;
display: block; display: block;
align: center; text-align: center;
} }
Superscript { Superscript {
@ -568,7 +571,7 @@ Title {
font-size: 20pt; font-size: 20pt;
font-weight: bold; font-weight: bold;
display: block; display: block;
align: center; text-align: center;
} }
TitleAbbrev { TitleAbbrev {
@ -605,11 +608,15 @@ VarListEntry Term {
} }
Warning { Warning {
prefix-format: "Warning:";
font-weight: bold; font-weight: bold;
color: fuchsia; color: fuchsia;
} }
Warning:before {
content: "Warning:";
}
Year { Year {
font-family: serif; font-family: serif;
font-weight: bold; font-weight: bold;

Просмотреть файл

@ -1,2 +0,0 @@
title {font-style: bold;}
author {font-style: italic;}