Bug 130728 Fix usage of namespaces to resolve CSS error "Unknown namespace prefix 'html'. Selector expected. Ruleset ignored due to bad selector." p=gautheri@noos.fr r=dbaron,mscott sr=me br=mscott

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@192411 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
neil%parkwaycc.co.uk
2006-03-15 09:20:39 +00:00
parent 9bfaf1102a
commit 07d79032cb
4 changed files with 6 additions and 56 deletions

View File

@@ -39,6 +39,8 @@
== into skinnable images.
========================================================================== */
@namespace url("http://www.w3.org/1999/xhtml");
/* ::::: we also represent smilies inside of spans ::::: */
span.moz-smiley-s1,

View File

@@ -41,36 +41,10 @@
@import url(chrome://communicator/skin/smileys.css);
/* XXX Breaks the HTML rules below (.moz-class stuff), at least on Linux.
"html|.class" doesn't work.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
*/
window {
overflow: auto;
}
html|html {
/* XXX Doesn't seem to work. (Same with "html|body".) */
background-color: window;
}
mailattachcount {
display: none;
}
@namespace url("http://www.w3.org/1999/xhtml");
/* :::: message header ::::: */
header {
text-align: left;
}
headerdisplayname {
font-weight: bold;
white-space: pre;
}
.header-part1 {
background-color: #EFEFEF;
}
@@ -136,7 +110,6 @@ span.moz-txt-formfeed {
height: 100%;
}
/* ::::: signature ::::: */
.moz-txt-sig,

View File

@@ -39,6 +39,8 @@
== into skinnable images.
========================================================================== */
@namespace url("http://www.w3.org/1999/xhtml");
/* ::::: we also represent smilies inside of spans ::::: */
span.moz-smiley-s1,

View File

@@ -41,36 +41,10 @@
@import url(chrome://communicator/skin/smileys.css);
/* XXX Breaks the HTML rules below (.moz-class stuff), at least on Linux.
"html|.class" doesn't work.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
*/
window {
overflow: auto;
}
html|html {
/* XXX Doesn't seem to work. (Same with "html|body".) */
background-color: white;
}
mailattachcount {
display: none;
}
@namespace url("http://www.w3.org/1999/xhtml");
/* :::: message header ::::: */
header {
text-align: left;
}
headerdisplayname {
font-weight: bold;
white-space: pre;
}
.header-part1 {
background-color: #EFEFEF;
}
@@ -136,7 +110,6 @@ span.moz-txt-formfeed {
height: 100%;
}
/* ::::: signature ::::: */
.moz-txt-sig,