2001-09-29 00:14:13 +04:00
|
|
|
/* ***** BEGIN LICENSE BLOCK *****
|
2004-04-18 18:30:37 +04:00
|
|
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
1999-10-02 01:57:32 +04:00
|
|
|
*
|
2004-04-18 18:30:37 +04: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-29 00:14:13 +04: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-02 01:57:32 +04:00
|
|
|
*
|
1999-11-06 06:40:37 +03:00
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
2004-04-18 18:30:37 +04:00
|
|
|
* The Initial Developer of the Original Code is
|
2001-09-29 00:14:13 +04:00
|
|
|
* Netscape Communications Corporation.
|
|
|
|
* Portions created by the Initial Developer are Copyright (C) 1998
|
|
|
|
* the Initial Developer. All Rights Reserved.
|
1999-11-06 06:40:37 +03:00
|
|
|
*
|
2001-09-29 00:14:13 +04:00
|
|
|
* Contributor(s):
|
2004-04-18 18:30:37 +04:00
|
|
|
* Blake Ross <BlakeR1234@aol.com>
|
2001-09-29 00:14:13 +04:00
|
|
|
*
|
|
|
|
* Alternatively, the contents of this file may be used under the terms of
|
2004-04-18 18:30:37 +04: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-29 00:14:13 +04: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 18:30:37 +04:00
|
|
|
* use your version of this file under the terms of the MPL, indicate your
|
2001-09-29 00:14:13 +04: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 18:30:37 +04:00
|
|
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
2001-09-29 00:14:13 +04:00
|
|
|
*
|
|
|
|
* ***** END LICENSE BLOCK ***** */
|
1999-10-02 01:57:32 +04:00
|
|
|
|
2000-06-15 13:54:41 +04:00
|
|
|
@namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */
|
1999-10-02 01:57:32 +04:00
|
|
|
|
2004-12-09 19:08:43 +03: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 14:20:23 +04:00
|
|
|
/* blocks */
|
|
|
|
|
2005-02-18 09:13:28 +03:00
|
|
|
html, div, map, dt, isindex, form {
|
1999-10-02 01:57:32 +04:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
display: block;
|
|
|
|
margin: 8px;
|
|
|
|
}
|
|
|
|
|
2000-09-21 14:20:23 +04:00
|
|
|
p, dl, multicol {
|
|
|
|
display: block;
|
|
|
|
margin: 1em 0;
|
2000-04-05 03:55:31 +04:00
|
|
|
}
|
|
|
|
|
2000-09-21 14:20:23 +04:00
|
|
|
dd {
|
|
|
|
display: block;
|
2004-02-04 09:10:56 +03:00
|
|
|
-moz-margin-start: 40px;
|
2000-04-12 04:24:07 +04:00
|
|
|
}
|
|
|
|
|
2000-09-21 14:20:23 +04:00
|
|
|
blockquote {
|
1999-10-02 01:57:32 +04:00
|
|
|
display: block;
|
2000-09-21 14:20:23 +04:00
|
|
|
margin: 1em 40px;
|
1999-10-02 01:57:32 +04:00
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
address {
|
|
|
|
display: block;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
|
|
|
center {
|
1999-10-02 01:57:32 +04:00
|
|
|
display: block;
|
2000-09-21 14:20:23 +04:00
|
|
|
text-align: -moz-center;
|
1999-10-02 01:57:32 +04:00
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
blockquote[type=cite] {
|
|
|
|
display: block;
|
|
|
|
margin: 1em 0px;
|
2007-03-23 02:01:14 +03:00
|
|
|
padding-left: 1em;
|
|
|
|
border-left: solid;
|
1999-10-02 01:57:32 +04:00
|
|
|
border-color: blue;
|
|
|
|
border-width: thin;
|
|
|
|
}
|
2000-01-18 23:29:22 +03:00
|
|
|
|
2002-06-12 18:14:18 +04:00
|
|
|
span[_moz_quote=true] {
|
|
|
|
color: blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre[_moz_quote=true] {
|
|
|
|
color: blue;
|
|
|
|
}
|
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
h1 {
|
|
|
|
display: block;
|
1999-11-02 18:49:50 +03:00
|
|
|
font-size: 2em;
|
1999-10-02 01:57:32 +04:00
|
|
|
font-weight: bold;
|
1999-11-02 18:49:50 +03:00
|
|
|
margin: .67em 0;
|
1999-10-02 01:57:32 +04:00
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
h2 {
|
|
|
|
display: block;
|
1999-11-02 18:49:50 +03:00
|
|
|
font-size: 1.5em;
|
1999-10-02 01:57:32 +04:00
|
|
|
font-weight: bold;
|
1999-11-02 18:49:50 +03:00
|
|
|
margin: .83em 0;
|
1999-10-02 01:57:32 +04:00
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
h3 {
|
|
|
|
display: block;
|
1999-11-02 18:49:50 +03:00
|
|
|
font-size: 1.17em;
|
1999-10-02 01:57:32 +04:00
|
|
|
font-weight: bold;
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
h4 {
|
|
|
|
display: block;
|
|
|
|
font-weight: bold;
|
1999-11-02 18:49:50 +03:00
|
|
|
margin: 1.33em 0;
|
1999-10-02 01:57:32 +04:00
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
h5 {
|
|
|
|
display: block;
|
1999-11-02 18:49:50 +03:00
|
|
|
font-size: 0.83em;
|
1999-10-02 01:57:32 +04:00
|
|
|
font-weight: bold;
|
1999-11-02 18:49:50 +03:00
|
|
|
margin: 1.67em 0;
|
1999-10-02 01:57:32 +04:00
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
h6 {
|
|
|
|
display: block;
|
1999-11-02 18:49:50 +03:00
|
|
|
font-size: 0.67em;
|
1999-10-02 01:57:32 +04:00
|
|
|
font-weight: bold;
|
1999-11-02 18:49:50 +03:00
|
|
|
margin: 2.33em 0;
|
1999-10-02 01:57:32 +04:00
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
listing {
|
|
|
|
display: block;
|
|
|
|
font-family: -moz-fixed;
|
|
|
|
font-size: medium;
|
|
|
|
white-space: pre;
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
2005-09-26 22:10:56 +04:00
|
|
|
xmp, pre, plaintext {
|
1999-10-02 01:57:32 +04:00
|
|
|
display: block;
|
|
|
|
font-family: -moz-fixed;
|
|
|
|
white-space: pre;
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
/* tables */
|
|
|
|
|
2001-11-11 04:35:25 +03:00
|
|
|
table {
|
1999-10-02 01:57:32 +04:00
|
|
|
display: table;
|
2004-03-09 09:48:35 +03:00
|
|
|
border-spacing: 2px;
|
1999-10-02 01:57:32 +04: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 08:38:33 +03:00
|
|
|
/* XXXldb do we want this if we're border-collapse:collapse ? */
|
2000-09-06 06:17:26 +04:00
|
|
|
-moz-box-sizing: border-box;
|
2002-11-23 20:56:44 +03:00
|
|
|
text-indent: 0;
|
1999-10-02 01:57:32 +04:00
|
|
|
}
|
|
|
|
|
2001-06-01 02:19:43 +04:00
|
|
|
table[align="left"] {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
table[align="right"] {
|
|
|
|
float: right;
|
|
|
|
text-align: start;
|
|
|
|
}
|
|
|
|
|
2005-09-27 17:29:27 +04:00
|
|
|
table[rules]:not([rules="none"]) {
|
2002-02-19 18:48:28 +03:00
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
2001-12-12 00:28:47 +03:00
|
|
|
/* caption inherits from table not table-outer */
|
1999-10-02 01:57:32 +04:00
|
|
|
caption {
|
|
|
|
display: table-caption;
|
2000-09-21 14:20:23 +04:00
|
|
|
text-align: center;
|
2000-09-06 06:17:26 +04:00
|
|
|
-moz-box-sizing: border-box;
|
1999-10-02 01:57:32 +04:00
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
2001-12-12 00:28:47 +03:00
|
|
|
table[align="center"] > caption {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
2002-11-08 08:29:34 +03:00
|
|
|
table[align="center"] > caption[align="left"] {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
table[align="center"] > caption[align="right"] {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
tr {
|
|
|
|
display: table-row;
|
|
|
|
vertical-align: inherit;
|
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
2002-11-26 02:40:58 +03:00
|
|
|
col {
|
2000-09-21 14:20:23 +04:00
|
|
|
display: table-column;
|
|
|
|
}
|
|
|
|
|
2002-11-26 02:40:58 +03:00
|
|
|
colgroup {
|
2000-09-21 14:20:23 +04:00
|
|
|
display: table-column-group;
|
|
|
|
}
|
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
tbody {
|
|
|
|
display: table-row-group;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
thead {
|
|
|
|
display: table-header-group;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
tfoot {
|
|
|
|
display: table-footer-group;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
2004-03-19 04:34:47 +03:00
|
|
|
/* for XHTML tables without tbody */
|
|
|
|
table > tr {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2001-06-01 02:19:43 +04:00
|
|
|
td {
|
2000-09-21 14:20:23 +04:00
|
|
|
display: table-cell;
|
|
|
|
vertical-align: inherit;
|
|
|
|
text-align: inherit;
|
2001-06-01 02:19:43 +04:00
|
|
|
padding: 1px;
|
2000-09-21 14:20:23 +04:00
|
|
|
}
|
|
|
|
|
2001-06-01 02:19:43 +04:00
|
|
|
th {
|
2000-09-21 14:20:23 +04:00
|
|
|
display: table-cell;
|
|
|
|
vertical-align: inherit;
|
|
|
|
font-weight: bold;
|
2001-06-01 02:19:43 +04:00
|
|
|
padding: 1px;
|
2000-09-21 14:20:23 +04:00
|
|
|
}
|
|
|
|
|
2006-08-26 02:33:17 +04: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 14:20:23 +04:00
|
|
|
/* inlines */
|
1999-10-02 01:57:32 +04:00
|
|
|
|
|
|
|
q:before {
|
|
|
|
content: open-quote;
|
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
q:after {
|
|
|
|
content: close-quote;
|
|
|
|
}
|
|
|
|
|
|
|
|
b, strong {
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
|
|
|
i, cite, em, var, dfn {
|
1999-10-02 01:57:32 +04:00
|
|
|
font-style: italic;
|
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
tt, code, kbd, samp {
|
|
|
|
font-family: -moz-fixed;
|
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
|
|
|
u, ins {
|
1999-10-02 01:57:32 +04:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
|
|
|
s, strike, del {
|
1999-10-02 01:57:32 +04:00
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
blink {
|
|
|
|
text-decoration: blink;
|
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
big {
|
|
|
|
font-size: larger;
|
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
small {
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
1999-12-04 05:05:18 +03:00
|
|
|
sub {
|
|
|
|
vertical-align: sub;
|
2000-09-21 14:20:23 +04:00
|
|
|
font-size: smaller;
|
|
|
|
line-height: normal;
|
1999-10-02 01:57:32 +04:00
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
sup {
|
|
|
|
vertical-align: super;
|
2000-09-21 14:20:23 +04:00
|
|
|
font-size: smaller;
|
|
|
|
line-height: normal;
|
1999-10-02 01:57:32 +04:00
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
nobr {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
2000-12-14 21:34:05 +03:00
|
|
|
/* titles */
|
|
|
|
abbr[title], acronym[title] {
|
|
|
|
border-bottom: dotted 1px;
|
|
|
|
}
|
1999-10-02 01:57:32 +04:00
|
|
|
|
|
|
|
/* lists */
|
|
|
|
|
|
|
|
ul, menu, dir {
|
|
|
|
display: block;
|
|
|
|
list-style-type: disc;
|
|
|
|
margin: 1em 0;
|
2004-02-04 09:10:56 +03:00
|
|
|
-moz-padding-start: 40px;
|
1999-10-02 01:57:32 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
ol {
|
|
|
|
display: block;
|
|
|
|
list-style-type: decimal;
|
|
|
|
margin: 1em 0;
|
2004-02-04 09:10:56 +03:00
|
|
|
-moz-padding-start: 40px;
|
1999-10-02 01:57:32 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: list-item;
|
2007-03-23 02:01:14 +03:00
|
|
|
-moz-float-edge: margin-box;
|
1999-10-02 01:57:32 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* nested lists have no top/bottom margins */
|
2001-04-10 03:05:43 +04: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 14:20:23 +04:00
|
|
|
dl ul, dl ol, dl dir, dl menu, dl dl {
|
1999-10-02 01:57:32 +04: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 14:20:23 +04:00
|
|
|
ol dir, ul dir, menu dir, dir dir {
|
1999-10-02 01:57:32 +04:00
|
|
|
list-style-type: circle;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 3 deep (or more) unordered lists use a square */
|
2000-09-21 14:20:23 +04: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-02 01:57:32 +04: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 14:20:23 +04: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-02 01:57:32 +04:00
|
|
|
list-style-type: square;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* leafs */
|
|
|
|
|
2003-07-30 12:13:07 +04:00
|
|
|
/* <hr> noshade and color attributes are handled completely by
|
|
|
|
* the nsHTMLHRElement attribute mapping code
|
|
|
|
*/
|
1999-10-02 01:57:32 +04:00
|
|
|
hr {
|
|
|
|
display: block;
|
2003-07-30 12:13:07 +04:00
|
|
|
height: 2px;
|
2007-02-01 05:45:55 +03:00
|
|
|
border: 1px inset;
|
2003-07-30 12:13:07 +04:00
|
|
|
margin: 0.5em auto 0.5em auto;
|
2007-02-01 05:45:55 +03:00
|
|
|
color: gray;
|
2003-07-30 12:13:07 +04:00
|
|
|
-moz-float-edge: margin-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr[size="1"] {
|
2007-02-01 05:45:55 +03:00
|
|
|
border-style: solid none none none;
|
1999-10-02 01:57:32 +04:00
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
2001-06-09 05:32:19 +04:00
|
|
|
*|*:-moz-any-link img, img[usemap], object[usemap] {
|
1999-10-02 01:57:32 +04:00
|
|
|
border: 2px solid;
|
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
2005-09-18 22:05:40 +04:00
|
|
|
img:-moz-broken::before, input:-moz-broken::before,
|
|
|
|
img:-moz-user-disabled::before, input:-moz-user-disabled::before,
|
2005-10-17 04:50:39 +04:00
|
|
|
img:-moz-loading::before, input:-moz-loading::before,
|
2005-10-17 04:52:58 +04: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 22:05:40 +04:00
|
|
|
content: -moz-alt-content !important;
|
2006-07-31 11:08:45 +04:00
|
|
|
unicode-bidi: embed;
|
2005-09-18 22:05:40 +04:00
|
|
|
}
|
|
|
|
|
2005-10-08 06:25:00 +04:00
|
|
|
object:-moz-broken > *|*, applet:-moz-broken > *|*
|
|
|
|
object:-moz-user-disabled > *|*, applet:-moz-user-disabled > *|* {
|
2005-09-18 22:05:40 +04:00
|
|
|
/*
|
2005-10-08 06:25:00 +04: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 22:05:40 +04: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-02 01:57:32 +04:00
|
|
|
img[usemap], object[usemap] {
|
|
|
|
color: blue;
|
2001-01-11 11:17:36 +03:00
|
|
|
}
|
|
|
|
|
2000-09-21 14:20:23 +04:00
|
|
|
frameset {
|
|
|
|
display: block ! important;
|
2003-09-17 02:09:18 +04:00
|
|
|
overflow: -moz-hidden-unscrollable;
|
2004-10-27 05:34:22 +04:00
|
|
|
position: static ! important;
|
|
|
|
float: none ! important;
|
2005-02-08 05:08:13 +03:00
|
|
|
border: none ! important;
|
|
|
|
}
|
|
|
|
|
|
|
|
frame {
|
|
|
|
border: none ! important;
|
1999-10-02 01:57:32 +04:00
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
1999-10-02 01:57:32 +04:00
|
|
|
iframe {
|
2000-05-17 01:45:55 +04:00
|
|
|
border: 2px inset;
|
1999-10-02 01:57:32 +04:00
|
|
|
}
|
2000-09-21 14:20:23 +04:00
|
|
|
|
2001-04-22 02:22:15 +04:00
|
|
|
noframes {
|
2002-05-02 10:59:30 +04:00
|
|
|
display: none;
|
2001-04-22 02:22:15 +04:00
|
|
|
}
|
|
|
|
|
2004-10-27 05:34:22 +04:00
|
|
|
spacer {
|
|
|
|
position: static ! important;
|
|
|
|
float: none ! important;
|
|
|
|
}
|
|
|
|
|
2005-07-28 21:20:37 +04:00
|
|
|
canvas {
|
|
|
|
-moz-user-select: none;
|
|
|
|
}
|
|
|
|
|
2004-07-07 04:58:57 +04:00
|
|
|
/* focusable content: anything w/ tabindex >=0 is focusable */
|
2004-07-25 01:12:43 +04:00
|
|
|
abbr:focus, acronym:focus, address:focus, applet:focus, b:focus,
|
2005-05-07 07:45:06 +04: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-10 02:33:35 +04: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 19:16:20 +03:00
|
|
|
/* Don't specify the outline-color, we should always use initial value. */
|
|
|
|
outline: 1px dotted;
|
2004-07-10 02:33:35 +04:00
|
|
|
}
|
2002-03-12 18:35:52 +03:00
|
|
|
|
2000-09-21 14:20:23 +04:00
|
|
|
/* hidden elements */
|
2001-04-22 02:22:15 +04:00
|
|
|
area, base, basefont, head, meta, script, style, title,
|
2005-01-03 22:37:54 +03:00
|
|
|
noembed, param {
|
2001-04-22 02:22:15 +04:00
|
|
|
display: none;
|
1999-10-02 01:57:32 +04:00
|
|
|
}
|
|
|
|
|
2002-07-26 21:47:16 +04:00
|
|
|
/* emulation of non-standard HTML <marquee> tag */
|
|
|
|
marquee {
|
2007-01-27 21:40:57 +03:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: text-bottom;
|
2007-04-12 18:54:34 +04:00
|
|
|
text-align: start;
|
2002-07-26 21:47:16 +04: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 21:33:22 +04:00
|
|
|
height: 200px;
|
|
|
|
}
|
|
|
|
|
2001-06-22 10:42:57 +04:00
|
|
|
/* PRINT ONLY rules follow */
|
|
|
|
@media print {
|
2003-07-30 12:13:07 +04:00
|
|
|
|
|
|
|
marquee { -moz-binding: none; }
|
2002-07-01 18:45:50 +04:00
|
|
|
|
2003-07-30 12:13:07 +04:00
|
|
|
/* XXX this should not be necessary, we should be stopping blinking
|
|
|
|
of any kind in print preview, not just the <blink> element */
|
2002-07-01 18:45:50 +04:00
|
|
|
blink {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2002-11-26 02:40:58 +03:00
|
|
|
|
2001-06-22 10:42:57 +04:00
|
|
|
}
|