1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
14 * The Original Code is mozilla.org code.
16 * The Initial Developer of the Original Code is
17 * Netscape Communications Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 1998
19 * the Initial Developer. All Rights Reserved.
22 * Blake Ross <BlakeR1234@aol.com>
24 * Alternatively, the contents of this file may be used under the terms of
25 * either of the GNU General Public License Version 2 or later (the "GPL"),
26 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
36 * ***** END LICENSE BLOCK ***** */
38 @namespace url
(http://www
.w3
.org
/1999/xhtml
); /* set default namespace to HTML */
51 unicode-bidi: bidi-override
;
56 html
, div
, map
, dt
, isindex
, form
{
72 -moz-margin-start: 40px;
87 text-align: -moz-center
;
90 blockquote
[type
=cite
] {
93 -moz-padding-start: 1em;
94 -moz-border-start: solid
;
99 span
[_moz_quote
=true
] {
103 pre
[_moz_quote
=true
] {
150 font-family: -moz-fixed
;
156 xmp
, pre
, plaintext
{
158 font-family: -moz-fixed
;
168 border-collapse: separate
;
171 /* XXXldb do we want this if we're border-collapse:collapse ? */
172 -moz-box-sizing: border-box
;
176 table
[align
="left"] {
180 table
[align
="right"] {
185 table
[rules
]:not
([rules
="none"]) {
186 border-collapse: collapse
;
189 /* caption inherits from table not table-outer */
191 display: table-caption
;
193 -moz-box-sizing: border-box
;
196 table
[align
="center"] > caption
{
201 table
[align
="center"] > caption
[align
="left"] {
205 table
[align
="center"] > caption
[align
="right"] {
211 vertical-align: inherit
;
215 display: table-column
;
219 display: table-column-group
;
223 display: table-row-group
;
224 vertical-align: middle
;
228 display: table-header-group
;
229 vertical-align: middle
;
233 display: table-footer-group
;
234 vertical-align: middle
;
237 /* for XHTML tables without tbody */
239 vertical-align: middle
;
244 vertical-align: inherit
;
251 vertical-align: inherit
;
256 tr
> form:-moz-is-html
, tbody
> form:-moz-is-html
,
257 thead
> form:-moz-is-html
, tfoot
> form:-moz-is-html
,
258 table
> form:-moz-is-html
{
259 /* Important: don't show these forms in HTML */
260 display: none
!important
;
270 content: close-quote
;
277 i
, cite
, em
, var
, dfn
{
281 tt
, code
, kbd
, samp
{
282 font-family: -moz-fixed
;
286 text-decoration: underline
;
290 text-decoration: line-through
;
294 text-decoration: blink
;
312 vertical-align: super
;
322 abbr
[title
], acronym
[title
] {
323 border-bottom: dotted
1px;
330 list-style-type: disc
;
332 -moz-padding-start: 40px;
337 list-style-type: decimal
;
339 -moz-padding-start: 40px;
346 /* nested lists have no top/bottom margins */
347 ul ul
, ul ol
, ul dir
, ul menu
, ul dl
,
348 ol ul
, ol ol
, ol dir
, ol menu
, ol dl
,
349 dir ul
, dir ol
, dir dir
, dir menu
, dir dl
,
350 menu ul
, menu ol
, menu dir
, menu menu
, menu dl
,
351 dl ul
, dl ol
, dl dir
, dl menu
, dl dl
{
356 /* 2 deep unordered lists use a circle */
357 ol ul
, ul ul
, menu ul
, dir ul
,
358 ol menu
, ul menu
, menu menu
, dir menu
,
359 ol dir
, ul dir
, menu dir
, dir dir
{
360 list-style-type: circle
;
363 /* 3 deep (or more) unordered lists use a square */
364 ol ol ul
, ol ul ul
, ol menu ul
, ol dir ul
,
365 ol ol menu
, ol ul menu
, ol menu menu
, ol dir menu
,
366 ol ol dir
, ol ul dir
, ol menu dir
, ol dir dir
,
367 ul ol ul
, ul ul ul
, ul menu ul
, ul dir ul
,
368 ul ol menu
, ul ul menu
, ul menu menu
, ul dir menu
,
369 ul ol dir
, ul ul dir
, ul menu dir
, ul dir dir
,
370 menu ol ul
, menu ul ul
, menu menu ul
, menu dir ul
,
371 menu ol menu
, menu ul menu
, menu menu menu
, menu dir menu
,
372 menu ol dir
, menu ul dir
, menu menu dir
, menu dir dir
,
373 dir ol ul
, dir ul ul
, dir menu ul
, dir dir ul
,
374 dir ol menu
, dir ul menu
, dir menu menu
, dir dir menu
,
375 dir ol dir
, dir ul dir
, dir menu dir
, dir dir dir
{
376 list-style-type: square
;
382 /* <hr> noshade and color attributes are handled completely by
383 * the nsHTMLHRElement attribute mapping code
389 margin: 0.5em auto
0.5em auto
;
391 -moz-float-edge: margin-box
;
392 -moz-box-sizing: border-box
;
396 border-style: solid none none none
;
399 *|
*:-moz-any-link img
, img
[usemap
], object
[usemap
] {
403 img:-moz-broken::before
, input:-moz-broken::before
,
404 img:-moz-user-disabled::before
, input:-moz-user-disabled::before
,
405 img:-moz-loading::before
, input:-moz-loading::before
,
406 applet:-moz-empty-except-children-with-localname
(param
):-moz-broken::before
,
407 applet:-moz-empty-except-children-with-localname
(param
):-moz-user-disabled::before
{
408 content: -moz-alt-content
!important
;
412 object:-moz-broken
> *|
*, applet:-moz-broken
> *|
*
413 object:-moz-user-disabled
> *|
*, applet:-moz-user-disabled
> *|
* {
415 Inherit in the object's alignment so that if we aren't aligned explicitly
416 we'll end up in the right place vertically. See bug 36997. Note that this
417 is not !important because we _might_ be aligned explicitly.
419 vertical-align: inherit
;
422 img:-moz-suppressed
, input:-moz-suppressed
, object:-moz-suppressed
,
423 embed:-moz-suppressed
, applet:-moz-suppressed
{
425 Set visibility too in case the page changes display. Note that we _may_
426 want to just set visibility and not display, in general, if we find that
427 display:none breaks too many layouts. And if we decide we really do want
428 people to be able to right-click blocked images, etc, we need to set
429 neither one, and hack the painting code.... :(
431 display: none
!important
;
432 visibility: hidden
!important
;
435 img
[usemap
], object
[usemap
] {
440 display: block
! important
;
441 overflow: -moz-hidden-unscrollable
;
442 position: static
! important
;
443 float: none
! important
;
444 border: none
! important
;
448 border: none
! important
;
460 position: static
! important
;
461 float: none
! important
;
465 -moz-user-select: none
;
468 /* focusable content: anything w/ tabindex >=0 is focusable */
469 abbr:focus
, acronym:focus
, address:focus
, applet:focus
, b:focus
,
470 base:focus
, big:focus
, blockquote:focus
, br:focus
, canvas:focus
, caption:focus
,
471 center:focus
, cite:focus
, code:focus
, col:focus
, colgroup:focus
, dd:focus
,
472 del:focus
, dfn:focus
, dir:focus
, div:focus
, dl:focus
, dt:focus
, em:focus
,
473 fieldset:focus
, font:focus
, form:focus
, h1:focus
, h2:focus
, h3:focus
, h4:focus
,
474 h5:focus
, h6:focus
, hr:focus
, i:focus
, img:focus
, ins:focus
,
475 kbd:focus
, label:focus
, legend:focus
, li:focus
, link:focus
, menu:focus
,
476 object:focus
, ol:focus
, p:focus
, pre:focus
, q:focus
, s:focus
, samp:focus
,
477 small:focus
, span:focus
, strike:focus
, strong:focus
, sub:focus
, sup:focus
,
478 table:focus
, tbody:focus
, td:focus
, tfoot:focus
, th:focus
, thead:focus
,
479 tr:focus
, tt:focus
, u:focus
, ul:focus
, var:focus
{
480 /* Don't specify the outline-color, we should always use initial value. */
484 /* hidden elements */
485 area
, base
, basefont
, head
, meta
, script
, style
, title
,
490 /* emulation of non-standard HTML <marquee> tag */
492 width: -moz-available
;
493 display: inline-block
;
494 vertical-align: text-bottom
;
496 -moz-binding: url
('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-horizontal');
499 marquee
[direction
="up"], marquee
[direction
="down"] {
500 -moz-binding: url
('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-vertical');
504 /* PRINT ONLY rules follow */
507 marquee
{ -moz-binding: none
; }