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.
23 * Alternatively, the contents of this file may be used under the terms of
24 * either of the GNU General Public License Version 2 or later (the "GPL"),
25 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
26 * in which case the provisions of the GPL or the LGPL are applicable instead
27 * of those above. If you wish to allow use of your version of this file only
28 * under the terms of either the GPL or the LGPL, and not to allow others to
29 * use your version of this file under the terms of the MPL, indicate your
30 * decision by deleting the provisions above and replace them with the notice
31 * and other provisions required by the GPL or the LGPL. If you do not delete
32 * the provisions above, a recipient may use your version of this file under
33 * the terms of any one of the MPL, the GPL or the LGPL.
35 * ***** END LICENSE BLOCK ***** */
37 @import url
(resource://gre
/res
/html
.css
);
38 @import url
(chrome://global
/content
/xul
.css
);
39 @import url
(resource://gre
/res
/quirk
.css
);
41 @namespace parsererror url
(http://www
.mozilla
.org
/newlayout
/xml
/parsererror
.xml
);
43 /* magic -- some of these rules are important to keep pages from overriding
50 display: table
!important
;
51 -moz-box-sizing: border-box
; /* XXX do we really want this? */
54 *|
*::-moz-inline-table
{
55 display: inline-table
!important
;
56 -moz-box-sizing: border-box
; /* XXX do we really want this? */
59 *|
*::-moz-table-outer
{
60 display: inherit
!important
; /* table or inline-table */
61 margin: 0 ! important
;
62 padding: 0 ! important
;
63 border: none
! important
;
72 page-break-before: inherit
;
73 page-break-after: inherit
;
74 vertical-align: inherit
; /* needed for inline-table */
75 line-height: inherit
; /* needed for vertical-align on inline-table */
79 display: table-row
!important
;
82 /* The ::-moz-table-column pseudo-element is for extra columns at the end
84 *|
*::-moz-table-column
{
85 display: table-column
!important
;
88 *|
*::-moz-table-column-group
{
89 display: table-column-group
!important
;
92 *|
*::-moz-table-row-group
{
93 display: table-row-group
!important
;
96 *|
*::-moz-table-cell
{
97 display: table-cell
!important
;
103 *|
*::-moz-list-bullet
, *|
*::-moz-list-number
{
105 vertical-align: baseline
;
106 -moz-margin-end: 8px;
115 *|
*:-moz-any-link:focus
{
116 /* Don't specify the outline-color, we should always use initial value. */
122 *|
*::-moz-anonymous-block
, *|
*::-moz-cell-content
{
123 display: block
!important
;
124 position: static
!important
;
127 *|
*::-moz-anonymous-block
, *|
*::-moz-anonymous-positioned-block
{
128 /* we currently inherit from the inline that is split */
130 -moz-outline-offset: inherit
;
136 *|
*::-moz-xul-anonymous-block
{
137 display: block
! important
;
138 position: static
! important
;
139 float: none
! important
;
142 *|
*::-moz-scrolled-content
, *|
*::-moz-scrolled-canvas
,
143 *|
*::-moz-scrolled-page-sequence
{
144 /* e.g., text inputs, select boxes */
147 -moz-box-orient: inherit
;
148 /* make unicode-bidi inherit, otherwise it has no effect on text inputs and
149 blocks with overflow: scroll; */
150 unicode-bidi: inherit
;
151 -moz-column-count: inherit
;
152 -moz-column-width: inherit
;
153 -moz-column-gap: inherit
;
154 /* Do not change these. nsCSSFrameConstructor depends on them to create a good
156 position: static
!important
;
157 float: none
!important
;
160 *|
*::-moz-viewport
, *|
*::-moz-viewport-scroll
, *|
*::-moz-canvas
, *|
*::-moz-scrolled-canvas
{
161 display: block
!important
;
162 background-color: inherit
;
165 *|
*::-moz-viewport-scroll
{
169 *|
*::-moz-column-content
{
170 /* the column boxes inside a column-flowed block */
171 /* make unicode-bidi inherit, otherwise it has no effect on column boxes */
172 unicode-bidi: inherit
;
173 /* inherit the outer frame's display, otherwise we turn into an inline */
174 display: inherit
!important
;
175 /* Carry through our parent's height so that %-height children get
180 *|
*::-moz-page
, *|
*::-moz-page-sequence
, *|
*::-moz-scrolled-page-sequence
{
181 display: block
!important
;
182 background: transparent
;
185 *|
*::-moz-pagecontent
{
186 display: block
!important
;
189 *|
*::-moz-pagebreak
{
190 display: block
!important
;
193 *|
*::-moz-anonymous-positioned-block
{
194 display: block
!important
;
210 cursor: default
!important
;
213 *|
*::-moz-viewport
, *|
*::-moz-viewport-scroll
, *|
*::-moz-canvas
,
214 *|
*::-moz-scrolled-canvas
{
215 background-color: #737373 !important
;
220 /* XML parse error reporting */
222 parsererror|parsererror
{
224 font-family: sans-serif
;
233 background-color: lightyellow
;
236 parsererror|sourcetext
{
239 font-family: -moz-fixed
;