2018-09-13 23:04:55 +03:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-12-23 12:22:58 +04: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/.
|
|
|
|
*
|
|
|
|
* The origin of this IDL file is
|
|
|
|
* http://www.w3.org/TR/SVG2/
|
|
|
|
*
|
|
|
|
* Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
|
|
|
|
* liability, trademark and document use rules apply.
|
|
|
|
*/
|
|
|
|
|
|
|
|
interface SVGElement : Element {
|
|
|
|
attribute DOMString id;
|
|
|
|
|
2015-01-27 18:18:43 +03:00
|
|
|
[Constant]
|
2012-12-23 12:22:58 +04:00
|
|
|
readonly attribute SVGAnimatedString className;
|
2016-08-11 23:56:34 +03:00
|
|
|
[SameObject] readonly attribute DOMStringMap dataset;
|
2013-03-20 20:22:25 +04:00
|
|
|
[PutForwards=cssText, Constant]
|
2012-12-23 12:22:58 +04:00
|
|
|
readonly attribute CSSStyleDeclaration style;
|
|
|
|
|
|
|
|
readonly attribute SVGSVGElement? ownerSVGElement;
|
|
|
|
readonly attribute SVGElement? viewportElement;
|
2013-01-16 01:03:02 +04:00
|
|
|
|
2016-05-24 07:22:17 +03:00
|
|
|
[SetterThrows, Pure]
|
|
|
|
attribute long tabIndex;
|
|
|
|
[Throws] void focus();
|
|
|
|
[Throws] void blur();
|
2012-12-23 12:22:58 +04:00
|
|
|
};
|
2013-01-29 17:44:00 +04:00
|
|
|
|
|
|
|
SVGElement implements GlobalEventHandlers;
|
2017-01-13 18:41:20 +03:00
|
|
|
SVGElement implements DocumentAndElementEventHandlers;
|
2013-01-29 21:51:55 +04:00
|
|
|
SVGElement implements TouchEventHandlers;
|
2013-10-08 19:51:15 +04:00
|
|
|
SVGElement implements OnErrorEventHandlerForNodes;
|