forked from mirrors/gecko-dev
https://www.w3.org/2012/01/05-svg-irc#T21-07-03 says that async and defer should be supported as does the specification https://www.w3.org/TR/SVG2/interact.html#ScriptElement https://github.com/w3c/svgwg/issues/918 tracks getting the SVGScriptElement webidl updated. Differential Revision: https://phabricator.services.mozilla.com/D181936
24 lines
790 B
Text
24 lines
790 B
Text
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* 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.
|
|
*/
|
|
|
|
[Exposed=Window]
|
|
interface SVGScriptElement : SVGElement {
|
|
[SetterThrows]
|
|
attribute DOMString type;
|
|
// See https://github.com/w3c/svgwg/issues/918
|
|
attribute boolean async;
|
|
attribute boolean defer;
|
|
[SetterThrows]
|
|
attribute DOMString? crossOrigin;
|
|
};
|
|
|
|
SVGScriptElement includes SVGURIReference;
|