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
);
40 @namespace parsererror url
(http://www
.mozilla
.org
/newlayout
/xml
/parsererror
.xml
);
42 /* magic -- some of these rules are important to keep pages from overriding
49 display: table
!important
;
50 -moz-box-sizing: border-box
; /* XXX do we really want this? */
53 *|
*::-moz-inline-table
{
54 display: inline-table
!important
;
55 -moz-box-sizing: border-box
; /* XXX do we really want this? */
58 *|
*::-moz-table-outer
{
59 display: inherit
!important
; /* table or inline-table */
60 margin: 0 ! important
;
61 padding: 0 ! important
;
62 border: none
! important
;
71 page-break-before: inherit
;
72 page-break-after: inherit
;
73 vertical-align: inherit
; /* needed for inline-table */
74 line-height: inherit
; /* needed for vertical-align on inline-table */
78 display: table-row
!important
;
81 /* The ::-moz-table-column pseudo-element is for extra columns at the end
83 *|
*::-moz-table-column
{
84 display: table-column
!important
;
87 *|
*::-moz-table-column-group
{
88 display: table-column-group
!important
;
91 *|
*::-moz-table-row-group
{
92 display: table-row-group
!important
;
95 *|
*::-moz-table-cell
{
96 display: table-cell
!important
;
102 *|
*::-moz-list-bullet
, *|
*::-moz-list-number
{
104 vertical-align: baseline
;
105 -moz-margin-end: 8px;
114 *|
*:-moz-any-link:focus
{
115 /* Don't specify the outline-color, we should always use initial value. */
121 *|
*::-moz-anonymous-block
, *|
*::-moz-cell-content
{
122 display: block
!important
;
123 position: static
!important
;
126 *|
*::-moz-anonymous-block
, *|
*::-moz-anonymous-positioned-block
{
127 /* we currently inherit from the inline that is split */
129 outline-offset: inherit
;
135 *|
*::-moz-xul-anonymous-block
{
136 display: block
! important
;
137 position: static
! important
;
138 float: none
! important
;
141 *|
*::-moz-scrolled-content
, *|
*::-moz-scrolled-canvas
,
142 *|
*::-moz-scrolled-page-sequence
{
143 /* e.g., text inputs, select boxes */
145 /* The display doesn't affect the kind of frame constructed here. This just
146 affects auto-width sizing of the block we create. */
148 -moz-box-orient: inherit
;
149 /* make unicode-bidi inherit, otherwise it has no effect on text inputs and
150 blocks with overflow: scroll; */
151 unicode-bidi: inherit
;
152 -moz-column-count: inherit
;
153 -moz-column-width: inherit
;
154 -moz-column-gap: inherit
;
155 /* Do not change these. nsCSSFrameConstructor depends on them to create a good
157 position: static
!important
;
158 float: none
!important
;
161 *|
*::-moz-viewport
, *|
*::-moz-viewport-scroll
, *|
*::-moz-canvas
, *|
*::-moz-scrolled-canvas
{
162 display: block
!important
;
163 background-color: inherit
;
166 *|
*::-moz-viewport-scroll
{
170 *|
*::-moz-column-content
{
171 /* the column boxes inside a column-flowed block */
172 /* make unicode-bidi inherit, otherwise it has no effect on column boxes */
173 unicode-bidi: inherit
;
174 /* inherit the outer frame's display, otherwise we turn into an inline */
175 display: inherit
!important
;
176 /* Carry through our parent's height so that %-height children get
181 *|
*::-moz-page
, *|
*::-moz-page-sequence
, *|
*::-moz-scrolled-page-sequence
{
182 display: block
!important
;
183 background: transparent
;
186 *|
*::-moz-pagecontent
{
187 display: block
!important
;
190 *|
*::-moz-pagebreak
{
191 display: block
!important
;
194 *|
*::-moz-anonymous-positioned-block
{
195 display: block
!important
;
211 cursor: default
!important
;
214 *|
*::-moz-viewport
, *|
*::-moz-viewport-scroll
, *|
*::-moz-canvas
,
215 *|
*::-moz-scrolled-canvas
{
216 background-color: #737373 !important
;
221 /* XML parse error reporting */
223 parsererror|parsererror
{
225 font-family: sans-serif
;
234 background-color: lightyellow
;
237 parsererror|sourcetext
{
240 font-family: -moz-fixed
;