add SVGElement, SVGGraphicsElement interfaces and SVGSVGElement element

This commit is contained in:
Alexandrov Sergey 2016-10-05 00:16:45 +03:00
parent 318b23ed00
commit 9876020c22
13 changed files with 355 additions and 13 deletions

View file

@ -0,0 +1,22 @@
/* 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/. */
// https://svgwg.org/svg2-draft/types.html#InterfaceSVGGraphicsElement
[Pref="dom.svg.enabled"]
//dictionary SVGBoundingBoxOptions {
// boolean fill = true;
// boolean stroke = false;
// boolean markers = false;
// boolean clipped = false;
//};
interface SVGGraphicsElement : SVGElement {
//[SameObject] readonly attribute SVGAnimatedTransformList transform;
//DOMRect getBBox(optional SVGBoundingBoxOptions options);
//DOMMatrix? getCTM();
//DOMMatrix? getScreenCTM();
};
//SVGGraphicsElement implements SVGTests;