2007-03-22 10:30:00 -07:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 04:12:37 -07: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/. */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#include "nsIDOMSVGElement.idl"
|
|
|
|
|
2012-04-11 14:55:21 -07:00
|
|
|
[scriptable, uuid(B3314A7D-9909-4367-BBDB-9FAFB069CDFD)]
|
2007-03-22 10:30:00 -07:00
|
|
|
interface nsIDOMSVGScriptElement
|
|
|
|
: nsIDOMSVGElement
|
|
|
|
/*
|
|
|
|
The SVG DOM makes use of multiple interface inheritance.
|
|
|
|
Since XPCOM only supports single interface inheritance,
|
|
|
|
the best thing that we can do is to promise that whenever
|
|
|
|
an object implements _this_ interface it will also
|
|
|
|
implement the following interfaces. (We then have to QI to
|
|
|
|
hop between them.)
|
|
|
|
|
|
|
|
nsIDOMSVGURIReference,
|
|
|
|
nsIDOMSVGExternalResourcesRequired
|
|
|
|
*/
|
|
|
|
{
|
|
|
|
attribute DOMString type;
|
|
|
|
// raises DOMException on setting
|
2012-04-05 19:24:42 -07:00
|
|
|
attribute DOMString crossOrigin;
|
2007-03-22 10:30:00 -07:00
|
|
|
};
|