2001-12-12 07:59:31 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
2012-05-21 11:12:37 +00:00
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2001-12-12 07:59:31 +00:00
|
|
|
|
|
|
|
@namespace url(http://www.w3.org/2000/svg);
|
2012-10-03 21:32:35 +00:00
|
|
|
@namespace xml url(http://www.w3.org/XML/1998/namespace);
|
2001-12-12 07:59:31 +00:00
|
|
|
|
2005-04-12 15:46:42 +00:00
|
|
|
style, script, symbol {
|
2004-04-12 23:28:39 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2004-10-27 00:25:08 +00:00
|
|
|
|
2005-04-26 00:10:17 +00:00
|
|
|
switch {
|
|
|
|
-moz-binding: none !important;
|
2011-09-24 08:28:55 +00:00
|
|
|
}
|
2005-04-26 00:10:17 +00:00
|
|
|
|
2012-07-09 00:55:34 +00:00
|
|
|
svg:not(:root), symbol, image, marker, pattern, foreignObject {
|
2005-04-12 15:46:42 +00:00
|
|
|
overflow: hidden;
|
2004-11-23 13:51:57 +00:00
|
|
|
}
|
2006-02-28 11:27:29 +00:00
|
|
|
|
2012-09-06 04:58:46 +00:00
|
|
|
@media all and (-moz-is-glyph) {
|
|
|
|
:root {
|
2013-09-14 11:40:49 +00:00
|
|
|
fill: context-fill;
|
|
|
|
fill-opacity: context-fill-opacity;
|
|
|
|
stroke: context-stroke;
|
|
|
|
stroke-opacity: context-stroke-opacity;
|
|
|
|
stroke-width: context-value;
|
|
|
|
stroke-dasharray: context-value;
|
|
|
|
stroke-dashoffset: context-value;
|
2012-09-06 04:58:46 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2006-02-28 11:27:29 +00:00
|
|
|
foreignObject {
|
|
|
|
margin: 0 ! important;
|
|
|
|
padding: 0 ! important;
|
2007-05-05 06:22:36 +00:00
|
|
|
border-width: 0 ! important;
|
2013-01-26 10:28:15 +00:00
|
|
|
white-space: normal;
|
2006-02-28 11:27:29 +00:00
|
|
|
}
|
2006-06-12 04:27:10 +00:00
|
|
|
|
2011-09-24 08:28:55 +00:00
|
|
|
@media all and (-moz-is-resource-document) {
|
|
|
|
foreignObject *|* {
|
2011-09-26 16:29:06 +00:00
|
|
|
-moz-appearance: none !important;
|
2011-09-24 08:28:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2006-06-12 04:27:10 +00:00
|
|
|
*|*::-moz-svg-foreign-content {
|
|
|
|
display: block !important;
|
2012-02-21 23:01:41 +00:00
|
|
|
/* We need to be an absolute and fixed container */
|
2013-03-20 18:59:11 +00:00
|
|
|
transform: translate(0) !important;
|
2008-09-15 22:41:42 +00:00
|
|
|
text-indent: 0;
|
2006-06-12 04:27:10 +00:00
|
|
|
}
|
2012-05-17 04:05:09 +00:00
|
|
|
|
2013-11-11 02:23:56 +00:00
|
|
|
/* Set |transform-origin:0% 0%;| for all SVG elements except outer-<svg>,
|
2012-05-17 04:05:09 +00:00
|
|
|
noting that 'svg' as a child of 'foreignObject' counts as outer-<svg>.
|
|
|
|
*/
|
|
|
|
*:not(svg),
|
|
|
|
*:not(foreignObject) > svg {
|
2013-03-20 18:59:11 +00:00
|
|
|
transform-origin:0 0;
|
2012-05-17 04:05:09 +00:00
|
|
|
}
|
|
|
|
|
2012-08-10 07:09:55 +00:00
|
|
|
*|*::-moz-svg-text {
|
|
|
|
unicode-bidi: inherit;
|
2013-06-16 11:05:39 +00:00
|
|
|
vector-effect: inherit;
|
2012-08-10 07:09:55 +00:00
|
|
|
}
|
2012-10-03 21:32:35 +00:00
|
|
|
|
|
|
|
*[xml|space=preserve] {
|
2014-06-05 03:25:15 +00:00
|
|
|
white-space: -moz-pre-space;
|
2012-10-03 21:32:35 +00:00
|
|
|
}
|
2013-09-16 05:06:29 +00:00
|
|
|
|
|
|
|
*|*::-moz-svg-marker-anon-child {
|
|
|
|
clip-path: inherit;
|
|
|
|
filter: inherit;
|
|
|
|
mask: inherit;
|
|
|
|
opacity: inherit;
|
|
|
|
}
|
2014-05-24 19:29:11 +00:00
|
|
|
|
2014-09-29 08:20:22 +00:00
|
|
|
/* nsDocumentViewer::CreateStyleSet doesn't load ua.css.
|
|
|
|
* A few styles are common to html and SVG though
|
|
|
|
* so we copy the rules below from that file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Links */
|
|
|
|
|
|
|
|
*|*:-moz-any-link {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
*|*:-moz-any-link:-moz-focusring {
|
|
|
|
/* Don't specify the outline-color, we should always use initial value. */
|
|
|
|
outline: 1px dotted;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* SVG-as-an-image needs this rule
|
2014-05-24 19:29:11 +00:00
|
|
|
*/
|
|
|
|
*|*::-moz-viewport, *|*::-moz-viewport-scroll, *|*::-moz-canvas, *|*::-moz-scrolled-canvas {
|
|
|
|
display: block !important;
|
|
|
|
background-color: inherit;
|
|
|
|
}
|