Bug 454376 add -lCrun -lCstd for Solaris OS_LIBS, r=bsmedberg
[wine-gecko.git] / layout / style / ua.css
blob6b4f09b8d4c3f3d81d1cbfa8204123e5879a04e8
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
12 * License.
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.
21 * Contributor(s):
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
44 them
47 /* Tables */
49 *|*::-moz-table {
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;
64 float: inherit;
65 clear: inherit;
66 position: inherit;
67 top: inherit;
68 right: inherit;
69 bottom: inherit;
70 left: inherit;
71 z-index: inherit;
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 */
78 *|*::-moz-table-row {
79 display: table-row !important;
82 /* The ::-moz-table-column pseudo-element is for extra columns at the end
83 of a table. */
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;
98 white-space: inherit;
101 /* Lists */
103 *|*::-moz-list-bullet, *|*::-moz-list-number {
104 display: inline;
105 vertical-align: baseline;
106 -moz-margin-end: 8px;
109 /* Links */
111 *|*:-moz-any-link {
112 cursor: pointer;
115 *|*:-moz-any-link:focus {
116 /* Don't specify the outline-color, we should always use initial value. */
117 outline: 1px dotted;
120 /* Miscellaneous */
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 */
129 outline: inherit;
130 -moz-outline-offset: inherit;
131 clip-path: inherit;
132 filter: inherit;
133 mask: 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 */
145 padding: inherit;
146 display: inherit;
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
155 frame tree. */
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 {
166 overflow: auto;
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
176 their heights set */
177 height: 100%;
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;
195 position: relative;
196 top: inherit;
197 left: inherit;
198 bottom: inherit;
199 right: inherit;
200 z-index: inherit;
201 clip: inherit;
202 opacity: inherit;
205 /* Printing */
207 @media print {
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 {
223 display: block;
224 font-family: sans-serif;
225 font-weight: bold;
226 white-space: pre;
227 margin: 1em;
228 padding: 1em;
229 border-width: thin;
230 border-style: inset;
231 border-color: red;
232 font-size: 14pt;
233 background-color: lightyellow;
236 parsererror|sourcetext {
237 display: block;
238 white-space: pre;
239 font-family: -moz-fixed;
240 margin-top: 2em;
241 margin-bottom: 1em;
242 color: red;
243 font-weight: bold;
244 font-size: 12pt;