added namespace definitions

This commit is contained in:
peterl%netscape.com 1999-06-15 06:17:17 +00:00
parent 61d4b9ed9f
commit 1327a9be5a
2 changed files with 20 additions and 18 deletions

View File

@ -15,6 +15,9 @@
* Reserved. * Reserved.
*/ */
@namespace url(http://www.w3.org/TR/REC-html40); /* set default namespace to HTML */
@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); /* namespace for XUL elements */
html { html {
display: block; display: block;
} }
@ -134,20 +137,19 @@ table {
border-spacing: 2px; border-spacing: 2px;
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
background: transparent;
} }
/* must never set padding in td, th */ /* must never set padding in td, th */
td, th { td, th {
vertical-align: inherit; vertical-align: inherit;
text-align: left; text-align: left;
/* border-style: inset; */ /* border-style: inset; */
border-color: #c0c0c0; border-color: #c0c0c0;
display: table-cell; display: table-cell;
} }
th { th {
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
} }
caption { caption {
text-align: center; text-align: center;
@ -178,10 +180,10 @@ colgroup {
/* spans */ /* spans */
Q:before { q:before {
content: open-quote; content: open-quote;
} }
Q:after { q:after {
content: close-quote; content: close-quote;
} }
@ -790,7 +792,7 @@ param {
display: none; display: none;
} }
parsererror { parsererror { /* XXX should not be in HTML namespace */
display: block; display: block;
font-family: sans-serif; font-family: sans-serif;
font-weight: bold; font-weight: bold;
@ -804,7 +806,7 @@ parsererror {
background-color: lightyellow; background-color: lightyellow;
} }
sourcetext { sourcetext { /* XXX should not be in HTML namespace */
display: block; display: block;
white-space: pre; white-space: pre;
font-family: Courier; font-family: Courier;
@ -871,8 +873,6 @@ sourcetext {
display: table; display: table;
border-style: inherit; border-style: inherit;
border-color: inherit; border-color: inherit;
cell-spacing: inherit;
cell-padding: inherit;
margin-top: inherit; margin-top: inherit;
margin-bottom: inherit; margin-bottom: inherit;
background: inherit; background: inherit;
@ -950,6 +950,7 @@ sourcetext {
border: 1px solid blue; border: 1px solid blue;
} }
:-moz-combobox-text { :-moz-combobox-text {
color: black; color: black;
padding-left: 2px; padding-left: 2px;

View File

@ -15,6 +15,9 @@
* Reserved. * Reserved.
*/ */
@namespace url(http://www.w3.org/TR/REC-html40); /* set default namespace to HTML */
@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); /* namespace for XUL elements */
html { html {
display: block; display: block;
} }
@ -134,20 +137,19 @@ table {
border-spacing: 2px; border-spacing: 2px;
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
background: transparent;
} }
/* must never set padding in td, th */ /* must never set padding in td, th */
td, th { td, th {
vertical-align: inherit; vertical-align: inherit;
text-align: left; text-align: left;
/* border-style: inset; */ /* border-style: inset; */
border-color: #c0c0c0; border-color: #c0c0c0;
display: table-cell; display: table-cell;
} }
th { th {
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
} }
caption { caption {
text-align: center; text-align: center;
@ -178,10 +180,10 @@ colgroup {
/* spans */ /* spans */
Q:before { q:before {
content: open-quote; content: open-quote;
} }
Q:after { q:after {
content: close-quote; content: close-quote;
} }
@ -790,7 +792,7 @@ param {
display: none; display: none;
} }
parsererror { parsererror { /* XXX should not be in HTML namespace */
display: block; display: block;
font-family: sans-serif; font-family: sans-serif;
font-weight: bold; font-weight: bold;
@ -804,7 +806,7 @@ parsererror {
background-color: lightyellow; background-color: lightyellow;
} }
sourcetext { sourcetext { /* XXX should not be in HTML namespace */
display: block; display: block;
white-space: pre; white-space: pre;
font-family: Courier; font-family: Courier;
@ -871,8 +873,6 @@ sourcetext {
display: table; display: table;
border-style: inherit; border-style: inherit;
border-color: inherit; border-color: inherit;
cell-spacing: inherit;
cell-padding: inherit;
margin-top: inherit; margin-top: inherit;
margin-bottom: inherit; margin-bottom: inherit;
background: inherit; background: inherit;
@ -950,6 +950,7 @@ sourcetext {
border: 1px solid blue; border: 1px solid blue;
} }
:-moz-combobox-text { :-moz-combobox-text {
color: black; color: black;
padding-left: 2px; padding-left: 2px;