mirror of
https://github.com/servo/servo.git
synced 2025-08-13 09:25:32 +01:00
add SVGElement, SVGGraphicsElement interfaces and SVGSVGElement element
This commit is contained in:
parent
318b23ed00
commit
9876020c22
13 changed files with 355 additions and 13 deletions
22
components/script/dom/webidls/SVGGraphicsElement.webidl
Normal file
22
components/script/dom/webidls/SVGGraphicsElement.webidl
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue