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
|
1998-04-14 00:24:54 +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.
|
1998-04-14 00:24:54 +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.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
|
|
|
*
|
|
|
|
* 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.
|
1999-11-06 06:40:37 +03:00
|
|
|
*
|
2001-09-29 00:14:13 +04:00
|
|
|
* ***** END LICENSE BLOCK ***** */
|
1998-04-14 00:24:54 +04:00
|
|
|
|
2009-10-12 23:31:50 +04:00
|
|
|
@import url(resource://gre-resources/html.css);
|
2000-05-29 08:36:15 +04:00
|
|
|
@import url(chrome://global/content/xul.css);
|
2000-09-21 14:20:23 +04:00
|
|
|
|
2002-03-13 01:17:18 +03:00
|
|
|
@namespace parsererror url(http://www.mozilla.org/newlayout/xml/parsererror.xml);
|
|
|
|
|
2002-11-26 02:40:58 +03:00
|
|
|
/* magic -- some of these rules are important to keep pages from overriding
|
|
|
|
them
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Tables */
|
|
|
|
|
2003-07-08 01:57:01 +04:00
|
|
|
*|*::-moz-table {
|
2002-11-26 02:40:58 +03:00
|
|
|
display: table !important;
|
|
|
|
-moz-box-sizing: border-box; /* XXX do we really want this? */
|
|
|
|
}
|
|
|
|
|
2007-01-27 21:36:57 +03:00
|
|
|
*|*::-moz-inline-table {
|
|
|
|
display: inline-table !important;
|
|
|
|
-moz-box-sizing: border-box; /* XXX do we really want this? */
|
|
|
|
}
|
|
|
|
|
2003-07-08 01:57:01 +04:00
|
|
|
*|*::-moz-table-outer {
|
2007-01-27 21:36:57 +03:00
|
|
|
display: inherit !important; /* table or inline-table */
|
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
|
|
|
margin: 0 ! important;
|
|
|
|
padding: 0 ! important;
|
|
|
|
border: none ! important;
|
2002-11-26 02:40:58 +03:00
|
|
|
float: inherit;
|
|
|
|
clear: inherit;
|
|
|
|
position: inherit;
|
|
|
|
top: inherit;
|
|
|
|
right: inherit;
|
|
|
|
bottom: inherit;
|
|
|
|
left: inherit;
|
|
|
|
z-index: inherit;
|
|
|
|
page-break-before: inherit;
|
|
|
|
page-break-after: inherit;
|
2007-11-18 01:33:09 +03:00
|
|
|
vertical-align: inherit; /* needed for inline-table */
|
|
|
|
line-height: inherit; /* needed for vertical-align on inline-table */
|
2002-11-26 02:40:58 +03:00
|
|
|
}
|
|
|
|
|
2003-07-08 01:57:01 +04:00
|
|
|
*|*::-moz-table-row {
|
2002-11-26 02:40:58 +03:00
|
|
|
display: table-row !important;
|
|
|
|
}
|
|
|
|
|
2003-07-08 01:57:01 +04:00
|
|
|
/* The ::-moz-table-column pseudo-element is for extra columns at the end
|
2002-11-26 02:40:58 +03:00
|
|
|
of a table. */
|
2003-07-08 01:57:01 +04:00
|
|
|
*|*::-moz-table-column {
|
2002-11-26 02:40:58 +03:00
|
|
|
display: table-column !important;
|
|
|
|
}
|
|
|
|
|
2003-07-08 01:57:01 +04:00
|
|
|
*|*::-moz-table-column-group {
|
2002-11-26 02:40:58 +03:00
|
|
|
display: table-column-group !important;
|
|
|
|
}
|
|
|
|
|
2003-07-08 01:57:01 +04:00
|
|
|
*|*::-moz-table-row-group {
|
2002-11-26 02:40:58 +03:00
|
|
|
display: table-row-group !important;
|
|
|
|
}
|
|
|
|
|
2003-07-08 01:57:01 +04:00
|
|
|
*|*::-moz-table-cell {
|
2002-11-26 02:40:58 +03:00
|
|
|
display: table-cell !important;
|
|
|
|
white-space: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Lists */
|
|
|
|
|
2003-07-08 01:57:01 +04:00
|
|
|
*|*::-moz-list-bullet, *|*::-moz-list-number {
|
2002-11-26 02:40:58 +03:00
|
|
|
display: inline;
|
|
|
|
vertical-align: baseline;
|
2004-06-20 13:51:10 +04:00
|
|
|
-moz-margin-end: 8px;
|
2002-11-26 02:40:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Links */
|
|
|
|
|
|
|
|
*|*:-moz-any-link {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2010-04-21 18:53:42 +04:00
|
|
|
*|*:-moz-any-link:-moz-focusring {
|
2007-03-15 19:16:20 +03:00
|
|
|
/* Don't specify the outline-color, we should always use initial value. */
|
|
|
|
outline: 1px dotted;
|
2002-11-26 02:40:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Miscellaneous */
|
|
|
|
|
2006-06-12 08:27:10 +04:00
|
|
|
*|*::-moz-anonymous-block, *|*::-moz-cell-content {
|
2002-11-26 02:40:58 +03:00
|
|
|
display: block !important;
|
2006-06-07 03:13:15 +04:00
|
|
|
position: static !important;
|
2002-11-26 02:40:58 +03:00
|
|
|
}
|
|
|
|
|
2008-06-03 02:52:25 +04:00
|
|
|
*|*::-moz-anonymous-block, *|*::-moz-anonymous-positioned-block {
|
|
|
|
/* we currently inherit from the inline that is split */
|
|
|
|
outline: inherit;
|
2008-10-18 02:46:15 +04:00
|
|
|
outline-offset: inherit;
|
2008-09-11 04:24:16 +04:00
|
|
|
clip-path: inherit;
|
|
|
|
filter: inherit;
|
|
|
|
mask: inherit;
|
2008-12-07 21:11:30 +03:00
|
|
|
-moz-box-ordinal-group: inherit !important;
|
2008-06-03 02:52:25 +04:00
|
|
|
}
|
|
|
|
|
2007-10-26 03:30:49 +04:00
|
|
|
*|*::-moz-xul-anonymous-block {
|
|
|
|
display: block ! important;
|
|
|
|
position: static ! important;
|
|
|
|
float: none ! important;
|
2008-12-07 21:11:30 +03:00
|
|
|
-moz-box-ordinal-group: inherit !important;
|
2007-10-26 03:30:49 +04:00
|
|
|
}
|
|
|
|
|
2005-04-29 02:14:16 +04:00
|
|
|
*|*::-moz-scrolled-content, *|*::-moz-scrolled-canvas,
|
|
|
|
*|*::-moz-scrolled-page-sequence {
|
2002-11-26 02:40:58 +03:00
|
|
|
/* e.g., text inputs, select boxes */
|
|
|
|
padding: inherit;
|
2008-10-07 22:53:22 +04:00
|
|
|
/* The display doesn't affect the kind of frame constructed here. This just
|
|
|
|
affects auto-width sizing of the block we create. */
|
|
|
|
display: block;
|
2002-11-26 02:40:58 +03:00
|
|
|
-moz-box-orient: inherit;
|
2004-11-23 12:42:23 +03:00
|
|
|
/* make unicode-bidi inherit, otherwise it has no effect on text inputs and
|
|
|
|
blocks with overflow: scroll; */
|
|
|
|
unicode-bidi: inherit;
|
2005-02-08 05:15:26 +03:00
|
|
|
-moz-column-count: inherit;
|
|
|
|
-moz-column-width: inherit;
|
|
|
|
-moz-column-gap: inherit;
|
|
|
|
/* Do not change these. nsCSSFrameConstructor depends on them to create a good
|
|
|
|
frame tree. */
|
|
|
|
position: static !important;
|
|
|
|
float: none !important;
|
2002-11-26 02:40:58 +03:00
|
|
|
}
|
|
|
|
|
2005-04-29 02:14:16 +04:00
|
|
|
*|*::-moz-viewport, *|*::-moz-viewport-scroll, *|*::-moz-canvas, *|*::-moz-scrolled-canvas {
|
|
|
|
display: block !important;
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
*|*::-moz-viewport-scroll {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2004-10-08 16:17:10 +04:00
|
|
|
*|*::-moz-column-content {
|
|
|
|
/* the column boxes inside a column-flowed block */
|
2004-11-23 12:42:23 +03:00
|
|
|
/* make unicode-bidi inherit, otherwise it has no effect on column boxes */
|
|
|
|
unicode-bidi: inherit;
|
2005-02-01 04:21:25 +03:00
|
|
|
/* inherit the outer frame's display, otherwise we turn into an inline */
|
|
|
|
display: inherit !important;
|
|
|
|
/* Carry through our parent's height so that %-height children get
|
|
|
|
their heights set */
|
|
|
|
height: 100%;
|
2004-10-08 16:17:10 +04:00
|
|
|
}
|
|
|
|
|
2005-04-29 02:14:16 +04:00
|
|
|
*|*::-moz-page, *|*::-moz-page-sequence, *|*::-moz-scrolled-page-sequence {
|
2002-11-26 02:40:58 +03:00
|
|
|
display: block !important;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
2003-07-08 01:57:01 +04:00
|
|
|
*|*::-moz-pagecontent {
|
2002-11-26 02:40:58 +03:00
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
|
2003-07-08 01:57:01 +04:00
|
|
|
*|*::-moz-pagebreak {
|
2005-04-22 19:31:44 +04:00
|
|
|
display: block !important;
|
2002-11-26 02:40:58 +03:00
|
|
|
}
|
|
|
|
|
2003-07-08 01:57:01 +04:00
|
|
|
*|*::-moz-anonymous-positioned-block {
|
2002-11-26 02:40:58 +03:00
|
|
|
display: block !important;
|
|
|
|
position: relative;
|
|
|
|
top: inherit;
|
|
|
|
left: inherit;
|
|
|
|
bottom: inherit;
|
|
|
|
right: inherit;
|
|
|
|
z-index: inherit;
|
|
|
|
clip: inherit;
|
2005-02-18 19:33:02 +03:00
|
|
|
opacity: inherit;
|
2002-11-26 02:40:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Printing */
|
|
|
|
|
|
|
|
@media print {
|
|
|
|
|
|
|
|
* {
|
|
|
|
cursor: default !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/* XML parse error reporting */
|
|
|
|
|
2002-03-13 01:17:18 +03:00
|
|
|
parsererror|parsererror {
|
2000-09-21 14:20:23 +04:00
|
|
|
display: block;
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-weight: bold;
|
|
|
|
white-space: pre;
|
|
|
|
margin: 1em;
|
|
|
|
padding: 1em;
|
|
|
|
border-width: thin;
|
|
|
|
border-style: inset;
|
|
|
|
border-color: red;
|
|
|
|
font-size: 14pt;
|
|
|
|
background-color: lightyellow;
|
|
|
|
}
|
|
|
|
|
2002-03-13 01:17:18 +03:00
|
|
|
parsererror|sourcetext {
|
2000-09-21 14:20:23 +04:00
|
|
|
display: block;
|
|
|
|
white-space: pre;
|
2003-04-10 23:01:47 +04:00
|
|
|
font-family: -moz-fixed;
|
2000-09-21 14:20:23 +04:00
|
|
|
margin-top: 2em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
color: red;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 12pt;
|
|
|
|
}
|