1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 @namespace url
(http://www
.w3
.org
/2000/svg
);
8 @namespace xml url
(http://www
.w3
.org
/XML
/1998/namespace
);
14 svg:not
(:root
), symbol
, image
, marker
, pattern
, foreignObject
{
18 @media all and
(-moz-is-glyph
) {
21 fill-opacity: context-fill-opacity
;
22 stroke: context-stroke
;
23 stroke-opacity: context-stroke-opacity
;
24 stroke-width: context-value
;
25 stroke-dasharray: context-value
;
26 stroke-dashoffset: context-value
;
31 appearance: none
! important
;
32 margin: 0 ! important
;
33 padding: 0 ! important
;
34 border-width: 0 ! important
;
38 @media all and
(-moz-is-resource-document
) {
40 appearance: none
!important
;
44 *|
*::-moz-svg-foreign-content
{
45 display: block
!important
;
46 /* We need to be an absolute and fixed container */
47 transform: translate
(0) !important
;
51 /* Set |transform-origin:0 0;| for all SVG elements except outer-<svg>,
52 noting that 'svg' as a child of 'foreignObject' counts as outer-<svg>.
55 *:not
(foreignObject
) > svg
{
60 unicode-bidi: inherit
;
61 vector-effect: inherit
;
64 *[xml|space
=preserve
] {
65 white-space: -moz-pre-space
;
68 *|
*::-moz-svg-marker-anon-child
{
75 /* Make SVG shapes unselectable to avoid triggering AccessibleCaret on tap.
76 <mesh> will be supported in bug 1238882. */
77 circle
, ellipse
, line
, mesh
, path
, polygon
, polyline
, rect
{
82 /* We don't want SVG link to be underlined */
83 text-decoration: none
;