2001-09-28 20:14:13 +00:00
|
|
|
/* ***** BEGIN LICENSE BLOCK *****
|
2004-04-18 14:30:37 +00:00
|
|
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
1999-10-01 21:57:32 +00:00
|
|
|
*
|
2004-04-18 14:30:37 +00:00
|
|
|
* The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
* 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
* the License. You may obtain a copy of the License at
|
|
|
|
* http://www.mozilla.org/MPL/
|
2001-09-28 20:14:13 +00:00
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
* for the specific language governing rights and limitations under the
|
|
|
|
* License.
|
1999-10-01 21:57:32 +00:00
|
|
|
*
|
1999-11-06 03:40:37 +00:00
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
2004-04-18 14:30:37 +00:00
|
|
|
* The Initial Developer of the Original Code is
|
2001-09-28 20:14:13 +00:00
|
|
|
* Netscape Communications Corporation.
|
|
|
|
* Portions created by the Initial Developer are Copyright (C) 1998
|
|
|
|
* the Initial Developer. All Rights Reserved.
|
1999-11-06 03:40:37 +00:00
|
|
|
*
|
2001-09-28 20:14:13 +00:00
|
|
|
* Contributor(s):
|
2004-04-18 14:30:37 +00:00
|
|
|
* Blake Ross <BlakeR1234@aol.com>
|
2001-09-28 20:14:13 +00:00
|
|
|
*
|
|
|
|
* Alternatively, the contents of this file may be used under the terms of
|
2004-04-18 14:30:37 +00:00
|
|
|
* either of the GNU General Public License Version 2 or later (the "GPL"),
|
|
|
|
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
2001-09-28 20:14:13 +00:00
|
|
|
* in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
* of those above. If you wish to allow use of your version of this file only
|
|
|
|
* under the terms of either the GPL or the LGPL, and not to allow others to
|
2004-04-18 14:30:37 +00:00
|
|
|
* use your version of this file under the terms of the MPL, indicate your
|
2001-09-28 20:14:13 +00:00
|
|
|
* decision by deleting the provisions above and replace them with the notice
|
|
|
|
* and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
* the provisions above, a recipient may use your version of this file under
|
2004-04-18 14:30:37 +00:00
|
|
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
2001-09-28 20:14:13 +00:00
|
|
|
*
|
|
|
|
* ***** END LICENSE BLOCK ***** */
|
1999-10-01 21:57:32 +00:00
|
|
|
|
2000-06-15 09:54:41 +00:00
|
|
|
@namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */
|
2008-12-17 00:27:46 +00:00
|
|
|
@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
|
1999-10-01 21:57:32 +00:00
|
|
|
|
2004-12-09 16:08:43 +00:00
|
|
|
/* bidi */
|
|
|
|
|
|
|
|
[dir="rtl"] {
|
|
|
|
direction: rtl;
|
|
|
|
unicode-bidi: embed;
|
|
|
|
}
|
|
|
|
[dir="ltr"] {
|
|
|
|
direction: ltr;
|
|
|
|
unicode-bidi: embed;
|
|
|
|
}
|
|
|
|
bdo[dir] {
|
|
|
|
unicode-bidi: bidi-override;
|
|
|
|
}
|
|
|
|
|
2000-09-21 10:20:23 +00:00
|
|
|
/* blocks */
|
|
|
|
|
2005-02-18 06:13:28 +00:00
|
|
|
html, div, map, dt, isindex, form {
|
1999-10-01 21:57:32 +00:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
display: block;
|
|
|
|
margin: 8px;
|
|
|
|
}
|
|
|
|
|
2000-09-21 10:20:23 +00:00
|
|
|
p, dl, multicol {
|
|
|
|
display: block;
|
|
|
|
margin: 1em 0;
|
2000-04-04 23:55:31 +00:00
|
|
|
}
|
|
|
|
|
2000-09-21 10:20:23 +00:00
|
|
|
dd {
|
|
|
|
display: block;
|
2004-02-04 06:10:56 +00:00
|
|
|
-moz-margin-start: 40px;
|
2000-04-12 00:24:07 +00:00
|
|
|
}
|
|
|
|
|
2000-09-21 10:20:23 +00:00
|
|
|
blockquote {
|
1999-10-01 21:57:32 +00:00
|
|
|
display: block;
|
2000-09-21 10:20:23 +00:00
|
|
|
margin: 1em 40px;
|
1999-10-01 21:57:32 +00:00
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
address {
|
|
|
|
display: block;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
|
|
|
center {
|
1999-10-01 21:57:32 +00:00
|
|
|
display: block;
|
2000-09-21 10:20:23 +00:00
|
|
|
text-align: -moz-center;
|
1999-10-01 21:57:32 +00:00
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
blockquote[type=cite] {
|
|
|
|
display: block;
|
|
|
|
margin: 1em 0px;
|
2007-07-04 18:51:16 +00:00
|
|
|
-moz-padding-start: 1em;
|
|
|
|
-moz-border-start: solid;
|
1999-10-01 21:57:32 +00:00
|
|
|
border-color: blue;
|
|
|
|
border-width: thin;
|
|
|
|
}
|
2000-01-18 20:29:22 +00:00
|
|
|
|
2002-06-12 14:14:18 +00:00
|
|
|
span[_moz_quote=true] {
|
|
|
|
color: blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre[_moz_quote=true] {
|
|
|
|
color: blue;
|
|
|
|
}
|
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
h1 {
|
|
|
|
display: block;
|
1999-11-02 15:49:50 +00:00
|
|
|
font-size: 2em;
|
1999-10-01 21:57:32 +00:00
|
|
|
font-weight: bold;
|
1999-11-02 15:49:50 +00:00
|
|
|
margin: .67em 0;
|
1999-10-01 21:57:32 +00:00
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
h2 {
|
|
|
|
display: block;
|
1999-11-02 15:49:50 +00:00
|
|
|
font-size: 1.5em;
|
1999-10-01 21:57:32 +00:00
|
|
|
font-weight: bold;
|
1999-11-02 15:49:50 +00:00
|
|
|
margin: .83em 0;
|
1999-10-01 21:57:32 +00:00
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
h3 {
|
|
|
|
display: block;
|
1999-11-02 15:49:50 +00:00
|
|
|
font-size: 1.17em;
|
1999-10-01 21:57:32 +00:00
|
|
|
font-weight: bold;
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
h4 {
|
|
|
|
display: block;
|
|
|
|
font-weight: bold;
|
1999-11-02 15:49:50 +00:00
|
|
|
margin: 1.33em 0;
|
1999-10-01 21:57:32 +00:00
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
h5 {
|
|
|
|
display: block;
|
1999-11-02 15:49:50 +00:00
|
|
|
font-size: 0.83em;
|
1999-10-01 21:57:32 +00:00
|
|
|
font-weight: bold;
|
1999-11-02 15:49:50 +00:00
|
|
|
margin: 1.67em 0;
|
1999-10-01 21:57:32 +00:00
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
h6 {
|
|
|
|
display: block;
|
1999-11-02 15:49:50 +00:00
|
|
|
font-size: 0.67em;
|
1999-10-01 21:57:32 +00:00
|
|
|
font-weight: bold;
|
1999-11-02 15:49:50 +00:00
|
|
|
margin: 2.33em 0;
|
1999-10-01 21:57:32 +00:00
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
listing {
|
|
|
|
display: block;
|
|
|
|
font-family: -moz-fixed;
|
|
|
|
font-size: medium;
|
|
|
|
white-space: pre;
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
2005-09-26 18:10:56 +00:00
|
|
|
xmp, pre, plaintext {
|
1999-10-01 21:57:32 +00:00
|
|
|
display: block;
|
|
|
|
font-family: -moz-fixed;
|
|
|
|
white-space: pre;
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
/* tables */
|
|
|
|
|
2001-11-11 01:35:25 +00:00
|
|
|
table {
|
1999-10-01 21:57:32 +00:00
|
|
|
display: table;
|
2004-03-09 06:48:35 +00:00
|
|
|
border-spacing: 2px;
|
1999-10-01 21:57:32 +00:00
|
|
|
border-collapse: separate;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
2006-12-08 05:38:33 +00:00
|
|
|
/* XXXldb do we want this if we're border-collapse:collapse ? */
|
2000-09-06 02:17:26 +00:00
|
|
|
-moz-box-sizing: border-box;
|
2002-11-23 17:56:44 +00:00
|
|
|
text-indent: 0;
|
1999-10-01 21:57:32 +00:00
|
|
|
}
|
|
|
|
|
2001-05-31 22:19:43 +00:00
|
|
|
table[align="left"] {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
table[align="right"] {
|
|
|
|
float: right;
|
|
|
|
text-align: start;
|
|
|
|
}
|
|
|
|
|
2005-09-27 13:29:27 +00:00
|
|
|
table[rules]:not([rules="none"]) {
|
2002-02-19 15:48:28 +00:00
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
2001-12-11 21:28:47 +00:00
|
|
|
/* caption inherits from table not table-outer */
|
1999-10-01 21:57:32 +00:00
|
|
|
caption {
|
|
|
|
display: table-caption;
|
2000-09-21 10:20:23 +00:00
|
|
|
text-align: center;
|
2000-09-06 02:17:26 +00:00
|
|
|
-moz-box-sizing: border-box;
|
1999-10-01 21:57:32 +00:00
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
2001-12-11 21:28:47 +00:00
|
|
|
table[align="center"] > caption {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
2002-11-08 05:29:34 +00:00
|
|
|
table[align="center"] > caption[align="left"] {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
table[align="center"] > caption[align="right"] {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
tr {
|
|
|
|
display: table-row;
|
|
|
|
vertical-align: inherit;
|
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
2002-11-25 23:40:58 +00:00
|
|
|
col {
|
2000-09-21 10:20:23 +00:00
|
|
|
display: table-column;
|
|
|
|
}
|
|
|
|
|
2002-11-25 23:40:58 +00:00
|
|
|
colgroup {
|
2000-09-21 10:20:23 +00:00
|
|
|
display: table-column-group;
|
|
|
|
}
|
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
tbody {
|
|
|
|
display: table-row-group;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
thead {
|
|
|
|
display: table-header-group;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
tfoot {
|
|
|
|
display: table-footer-group;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
2004-03-19 01:34:47 +00:00
|
|
|
/* for XHTML tables without tbody */
|
|
|
|
table > tr {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2001-05-31 22:19:43 +00:00
|
|
|
td {
|
2000-09-21 10:20:23 +00:00
|
|
|
display: table-cell;
|
|
|
|
vertical-align: inherit;
|
|
|
|
text-align: inherit;
|
2001-05-31 22:19:43 +00:00
|
|
|
padding: 1px;
|
2000-09-21 10:20:23 +00:00
|
|
|
}
|
|
|
|
|
2001-05-31 22:19:43 +00:00
|
|
|
th {
|
2000-09-21 10:20:23 +00:00
|
|
|
display: table-cell;
|
|
|
|
vertical-align: inherit;
|
|
|
|
font-weight: bold;
|
2001-05-31 22:19:43 +00:00
|
|
|
padding: 1px;
|
2000-09-21 10:20:23 +00:00
|
|
|
}
|
|
|
|
|
2006-08-25 22:33:17 +00:00
|
|
|
tr > form:-moz-is-html, tbody > form:-moz-is-html,
|
|
|
|
thead > form:-moz-is-html, tfoot > form:-moz-is-html,
|
|
|
|
table > form:-moz-is-html {
|
|
|
|
/* Important: don't show these forms in HTML */
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2000-09-21 10:20:23 +00:00
|
|
|
/* inlines */
|
1999-10-01 21:57:32 +00:00
|
|
|
|
|
|
|
q:before {
|
|
|
|
content: open-quote;
|
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
q:after {
|
|
|
|
content: close-quote;
|
|
|
|
}
|
|
|
|
|
|
|
|
b, strong {
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
|
|
|
i, cite, em, var, dfn {
|
1999-10-01 21:57:32 +00:00
|
|
|
font-style: italic;
|
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
tt, code, kbd, samp {
|
|
|
|
font-family: -moz-fixed;
|
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
|
|
|
u, ins {
|
1999-10-01 21:57:32 +00:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
|
|
|
s, strike, del {
|
1999-10-01 21:57:32 +00:00
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
blink {
|
|
|
|
text-decoration: blink;
|
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
big {
|
|
|
|
font-size: larger;
|
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
small {
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
1999-12-04 02:05:18 +00:00
|
|
|
sub {
|
|
|
|
vertical-align: sub;
|
2000-09-21 10:20:23 +00:00
|
|
|
font-size: smaller;
|
|
|
|
line-height: normal;
|
1999-10-01 21:57:32 +00:00
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
sup {
|
|
|
|
vertical-align: super;
|
2000-09-21 10:20:23 +00:00
|
|
|
font-size: smaller;
|
|
|
|
line-height: normal;
|
1999-10-01 21:57:32 +00:00
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
nobr {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
2000-12-14 18:34:05 +00:00
|
|
|
/* titles */
|
|
|
|
abbr[title], acronym[title] {
|
|
|
|
border-bottom: dotted 1px;
|
|
|
|
}
|
1999-10-01 21:57:32 +00:00
|
|
|
|
|
|
|
/* lists */
|
|
|
|
|
|
|
|
ul, menu, dir {
|
|
|
|
display: block;
|
|
|
|
list-style-type: disc;
|
|
|
|
margin: 1em 0;
|
2004-02-04 06:10:56 +00:00
|
|
|
-moz-padding-start: 40px;
|
1999-10-01 21:57:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ol {
|
|
|
|
display: block;
|
|
|
|
list-style-type: decimal;
|
|
|
|
margin: 1em 0;
|
2004-02-04 06:10:56 +00:00
|
|
|
-moz-padding-start: 40px;
|
1999-10-01 21:57:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: list-item;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* nested lists have no top/bottom margins */
|
2001-04-09 23:05:43 +00:00
|
|
|
ul ul, ul ol, ul dir, ul menu, ul dl,
|
|
|
|
ol ul, ol ol, ol dir, ol menu, ol dl,
|
|
|
|
dir ul, dir ol, dir dir, dir menu, dir dl,
|
|
|
|
menu ul, menu ol, menu dir, menu menu, menu dl,
|
2000-09-21 10:20:23 +00:00
|
|
|
dl ul, dl ol, dl dir, dl menu, dl dl {
|
1999-10-01 21:57:32 +00:00
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 2 deep unordered lists use a circle */
|
|
|
|
ol ul, ul ul, menu ul, dir ul,
|
|
|
|
ol menu, ul menu, menu menu, dir menu,
|
2000-09-21 10:20:23 +00:00
|
|
|
ol dir, ul dir, menu dir, dir dir {
|
1999-10-01 21:57:32 +00:00
|
|
|
list-style-type: circle;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 3 deep (or more) unordered lists use a square */
|
2000-09-21 10:20:23 +00:00
|
|
|
ol ol ul, ol ul ul, ol menu ul, ol dir ul,
|
|
|
|
ol ol menu, ol ul menu, ol menu menu, ol dir menu,
|
|
|
|
ol ol dir, ol ul dir, ol menu dir, ol dir dir,
|
|
|
|
ul ol ul, ul ul ul, ul menu ul, ul dir ul,
|
|
|
|
ul ol menu, ul ul menu, ul menu menu, ul dir menu,
|
|
|
|
ul ol dir, ul ul dir, ul menu dir, ul dir dir,
|
1999-10-01 21:57:32 +00:00
|
|
|
menu ol ul, menu ul ul, menu menu ul, menu dir ul,
|
|
|
|
menu ol menu, menu ul menu, menu menu menu, menu dir menu,
|
|
|
|
menu ol dir, menu ul dir, menu menu dir, menu dir dir,
|
2000-09-21 10:20:23 +00:00
|
|
|
dir ol ul, dir ul ul, dir menu ul, dir dir ul,
|
|
|
|
dir ol menu, dir ul menu, dir menu menu, dir dir menu,
|
|
|
|
dir ol dir, dir ul dir, dir menu dir, dir dir dir {
|
1999-10-01 21:57:32 +00:00
|
|
|
list-style-type: square;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* leafs */
|
|
|
|
|
2003-07-30 08:13:07 +00:00
|
|
|
/* <hr> noshade and color attributes are handled completely by
|
|
|
|
* the nsHTMLHRElement attribute mapping code
|
|
|
|
*/
|
1999-10-01 21:57:32 +00:00
|
|
|
hr {
|
|
|
|
display: block;
|
2003-07-30 08:13:07 +00:00
|
|
|
height: 2px;
|
2007-02-01 02:45:55 +00:00
|
|
|
border: 1px inset;
|
2003-07-30 08:13:07 +00:00
|
|
|
margin: 0.5em auto 0.5em auto;
|
2007-02-01 02:45:55 +00:00
|
|
|
color: gray;
|
2003-07-30 08:13:07 +00:00
|
|
|
-moz-float-edge: margin-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr[size="1"] {
|
2007-02-01 02:45:55 +00:00
|
|
|
border-style: solid none none none;
|
1999-10-01 21:57:32 +00:00
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
2001-06-09 01:32:19 +00:00
|
|
|
*|*:-moz-any-link img, img[usemap], object[usemap] {
|
1999-10-01 21:57:32 +00:00
|
|
|
border: 2px solid;
|
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
2005-09-18 18:05:40 +00:00
|
|
|
img:-moz-broken::before, input:-moz-broken::before,
|
|
|
|
img:-moz-user-disabled::before, input:-moz-user-disabled::before,
|
2005-10-17 00:50:39 +00:00
|
|
|
img:-moz-loading::before, input:-moz-loading::before,
|
2005-10-17 00:52:58 +00:00
|
|
|
applet:-moz-empty-except-children-with-localname(param):-moz-broken::before,
|
|
|
|
applet:-moz-empty-except-children-with-localname(param):-moz-user-disabled::before {
|
2005-09-18 18:05:40 +00:00
|
|
|
content: -moz-alt-content !important;
|
2006-07-31 07:08:45 +00:00
|
|
|
unicode-bidi: embed;
|
2005-09-18 18:05:40 +00:00
|
|
|
}
|
|
|
|
|
2005-10-08 02:25:00 +00:00
|
|
|
object:-moz-broken > *|*, applet:-moz-broken > *|*
|
|
|
|
object:-moz-user-disabled > *|*, applet:-moz-user-disabled > *|* {
|
2005-09-18 18:05:40 +00:00
|
|
|
/*
|
2005-10-08 02:25:00 +00:00
|
|
|
Inherit in the object's alignment so that if we aren't aligned explicitly
|
|
|
|
we'll end up in the right place vertically. See bug 36997. Note that this
|
|
|
|
is not !important because we _might_ be aligned explicitly.
|
|
|
|
*/
|
|
|
|
vertical-align: inherit;
|
2005-09-18 18:05:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
img:-moz-suppressed, input:-moz-suppressed, object:-moz-suppressed,
|
|
|
|
embed:-moz-suppressed, applet:-moz-suppressed {
|
|
|
|
/*
|
|
|
|
Set visibility too in case the page changes display. Note that we _may_
|
|
|
|
want to just set visibility and not display, in general, if we find that
|
|
|
|
display:none breaks too many layouts. And if we decide we really do want
|
|
|
|
people to be able to right-click blocked images, etc, we need to set
|
|
|
|
neither one, and hack the painting code.... :(
|
|
|
|
*/
|
|
|
|
display: none !important;
|
|
|
|
visibility: hidden !important;
|
|
|
|
}
|
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
img[usemap], object[usemap] {
|
|
|
|
color: blue;
|
2001-01-11 08:17:36 +00:00
|
|
|
}
|
|
|
|
|
2000-09-21 10:20:23 +00:00
|
|
|
frameset {
|
|
|
|
display: block ! important;
|
2003-09-16 22:09:18 +00:00
|
|
|
overflow: -moz-hidden-unscrollable;
|
2004-10-27 01:34:22 +00:00
|
|
|
position: static ! important;
|
|
|
|
float: none ! important;
|
2005-02-08 02:08:13 +00:00
|
|
|
border: none ! important;
|
|
|
|
}
|
|
|
|
|
|
|
|
frame {
|
|
|
|
border: none ! important;
|
1999-10-01 21:57:32 +00:00
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
1999-10-01 21:57:32 +00:00
|
|
|
iframe {
|
2000-05-16 21:45:55 +00:00
|
|
|
border: 2px inset;
|
1999-10-01 21:57:32 +00:00
|
|
|
}
|
2000-09-21 10:20:23 +00:00
|
|
|
|
2001-04-21 22:22:15 +00:00
|
|
|
noframes {
|
2002-05-02 06:59:30 +00:00
|
|
|
display: none;
|
2001-04-21 22:22:15 +00:00
|
|
|
}
|
|
|
|
|
2004-10-27 01:34:22 +00:00
|
|
|
spacer {
|
|
|
|
position: static ! important;
|
|
|
|
float: none ! important;
|
|
|
|
}
|
|
|
|
|
2005-07-28 17:20:37 +00:00
|
|
|
canvas {
|
|
|
|
-moz-user-select: none;
|
|
|
|
}
|
|
|
|
|
2004-07-07 00:58:57 +00:00
|
|
|
/* focusable content: anything w/ tabindex >=0 is focusable */
|
2004-07-24 21:12:43 +00:00
|
|
|
abbr:focus, acronym:focus, address:focus, applet:focus, b:focus,
|
2005-05-07 03:45:06 +00:00
|
|
|
base:focus, big:focus, blockquote:focus, br:focus, canvas:focus, caption:focus,
|
|
|
|
center:focus, cite:focus, code:focus, col:focus, colgroup:focus, dd:focus,
|
|
|
|
del:focus, dfn:focus, dir:focus, div:focus, dl:focus, dt:focus, em:focus,
|
|
|
|
fieldset:focus, font:focus, form:focus, h1:focus, h2:focus, h3:focus, h4:focus,
|
2004-07-09 22:33:35 +00:00
|
|
|
h5:focus, h6:focus, hr:focus, i:focus, img:focus, ins:focus,
|
|
|
|
kbd:focus, label:focus, legend:focus, li:focus, link:focus, menu:focus,
|
|
|
|
object:focus, ol:focus, p:focus, pre:focus, q:focus, s:focus, samp:focus,
|
|
|
|
small:focus, span:focus, strike:focus, strong:focus, sub:focus, sup:focus,
|
|
|
|
table:focus, tbody:focus, td:focus, tfoot:focus, th:focus, thead:focus,
|
|
|
|
tr:focus, tt:focus, u:focus, ul:focus, var:focus {
|
2007-03-15 16:16:20 +00:00
|
|
|
/* Don't specify the outline-color, we should always use initial value. */
|
|
|
|
outline: 1px dotted;
|
2004-07-09 22:33:35 +00:00
|
|
|
}
|
2002-03-12 15:35:52 +00:00
|
|
|
|
2000-09-21 10:20:23 +00:00
|
|
|
/* hidden elements */
|
2001-04-21 22:22:15 +00:00
|
|
|
area, base, basefont, head, meta, script, style, title,
|
2005-01-03 19:37:54 +00:00
|
|
|
noembed, param {
|
2001-04-21 22:22:15 +00:00
|
|
|
display: none;
|
1999-10-01 21:57:32 +00:00
|
|
|
}
|
|
|
|
|
2008-12-17 00:27:46 +00:00
|
|
|
/* media elements */
|
|
|
|
video > xul|videocontrols, audio > xul|videocontrols {
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/videocontrols.xml#videoControls");
|
|
|
|
}
|
|
|
|
|
|
|
|
video:not([controls]) > xul|videocontrols,
|
|
|
|
audio:not([controls]) > xul|videocontrols {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
audio:not([controls]) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2002-07-26 17:47:16 +00:00
|
|
|
/* emulation of non-standard HTML <marquee> tag */
|
|
|
|
marquee {
|
2008-01-09 12:43:44 +00:00
|
|
|
width: -moz-available;
|
2007-01-27 18:40:57 +00:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: text-bottom;
|
2007-04-12 14:54:34 +00:00
|
|
|
text-align: start;
|
2002-07-26 17:47:16 +00:00
|
|
|
-moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-horizontal');
|
|
|
|
}
|
|
|
|
|
|
|
|
marquee[direction="up"], marquee[direction="down"] {
|
|
|
|
-moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-vertical');
|
2004-10-24 17:33:22 +00:00
|
|
|
height: 200px;
|
|
|
|
}
|
|
|
|
|
2001-06-22 06:42:57 +00:00
|
|
|
/* PRINT ONLY rules follow */
|
|
|
|
@media print {
|
2003-07-30 08:13:07 +00:00
|
|
|
|
|
|
|
marquee { -moz-binding: none; }
|
2002-07-01 14:45:50 +00:00
|
|
|
|
2001-06-22 06:42:57 +00:00
|
|
|
}
|