Bug 1526591 - Remove devtools.inspector.shapesHighlighter.enabled pref. r=rcaliman
[gecko.git] / dom / webidl / SVGSVGElement.webidl
blobb0db0adbd63cc027a27105d742684525de7aa8f2
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4  * You can obtain one at http://mozilla.org/MPL/2.0/.
5  *
6  * The origin of this IDL file is
7  * http://www.w3.org/TR/SVG2/
8  *
9  * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
10  * liability, trademark and document use rules apply.
11  */
13 interface SVGViewSpec;
15 interface SVGSVGElement : SVGGraphicsElement {
17   [Constant]
18   readonly attribute SVGAnimatedLength x;
19   [Constant]
20   readonly attribute SVGAnimatedLength y;
21   [Constant]
22   readonly attribute SVGAnimatedLength width;
23   [Constant]
24   readonly attribute SVGAnimatedLength height;
25   // readonly attribute SVGRect viewport;
26   readonly attribute boolean useCurrentView;
27   // readonly attribute SVGViewSpec currentView;
28   [UseCounter]
29            attribute float currentScale;
30   readonly attribute SVGPoint currentTranslate;
32   [DependsOn=Nothing, Affects=Nothing]
33   unsigned long suspendRedraw(unsigned long maxWaitMilliseconds);
34   [DependsOn=Nothing, Affects=Nothing]
35   void unsuspendRedraw(unsigned long suspendHandleID);
36   [DependsOn=Nothing, Affects=Nothing]
37   void unsuspendRedrawAll();
38   [DependsOn=Nothing, Affects=Nothing]
39   void forceRedraw();
40   void pauseAnimations();
41   void unpauseAnimations();
42   boolean animationsPaused();
43   [BinaryName="getCurrentTimeAsFloat"]
44   float getCurrentTime();
45   void setCurrentTime(float seconds);
46   // NodeList getIntersectionList(SVGRect rect, SVGElement referenceElement);
47   // NodeList getEnclosureList(SVGRect rect, SVGElement referenceElement);
48   // boolean checkIntersection(SVGElement element, SVGRect rect);
49   // boolean checkEnclosure(SVGElement element, SVGRect rect);
50   void deselectAll();
51   [NewObject]
52   SVGNumber createSVGNumber();
53   [NewObject]
54   SVGLength createSVGLength();
55   [NewObject]
56   SVGAngle createSVGAngle();
57   [NewObject]
58   SVGPoint createSVGPoint();
59   [NewObject]
60   SVGMatrix createSVGMatrix();
61   [NewObject]
62   SVGRect createSVGRect();
63   [NewObject]
64   SVGTransform createSVGTransform();
65   [NewObject]
66   SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix);
67   [UseCounter]
68   Element? getElementById(DOMString elementId);
71 SVGSVGElement implements SVGFitToViewBox;
72 SVGSVGElement implements SVGZoomAndPanValues;