зеркало из https://github.com/mozilla/pjs.git
Bug 735031 - Make Fullscreen API work with DOMElements rather than only HTML Elements. r=cpearce,smaug
This commit is contained in:
Родитель
f9fc8a23c4
Коммит
02aecedacb
|
@ -8967,7 +8967,7 @@ nsDocument::RequestFullScreen(Element* aElement, bool aWasCallerChrome)
|
|||
NS_ASSERTION(GetFullScreenElement() == aElement,
|
||||
"Full-screen element should be the requested element!");
|
||||
NS_ASSERTION(IsFullScreenDoc(), "Should be full-screen doc");
|
||||
nsCOMPtr<nsIDOMHTMLElement> fse;
|
||||
nsCOMPtr<nsIDOMElement> fse;
|
||||
GetMozFullScreenElement(getter_AddRefs(fse));
|
||||
nsCOMPtr<nsIContent> c(do_QueryInterface(fse));
|
||||
NS_ASSERTION(c->AsElement() == aElement,
|
||||
|
@ -8985,7 +8985,7 @@ nsDocument::RequestFullScreen(Element* aElement, bool aWasCallerChrome)
|
|||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDocument::GetMozFullScreenElement(nsIDOMHTMLElement **aFullScreenElement)
|
||||
nsDocument::GetMozFullScreenElement(nsIDOMElement **aFullScreenElement)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(aFullScreenElement);
|
||||
*aFullScreenElement = nsnull;
|
||||
|
|
|
@ -6417,3 +6417,29 @@ nsINode::Contains(nsIDOMNode* aOther, bool* aReturn)
|
|||
*aReturn = Contains(node);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult nsGenericElement::MozRequestFullScreen()
|
||||
{
|
||||
// Only grant full-screen requests if this is called from inside a trusted
|
||||
// event handler (i.e. inside an event handler for a user initiated event).
|
||||
// This stops the full-screen from being abused similar to the popups of old,
|
||||
// and it also makes it harder for bad guys' script to go full-screen and
|
||||
// spoof the browser chrome/window and phish logins etc.
|
||||
if (!nsContentUtils::IsRequestFullScreenAllowed()) {
|
||||
nsContentUtils::ReportToConsole(nsIScriptError::warningFlag,
|
||||
"DOM", OwnerDoc(),
|
||||
nsContentUtils::eDOM_PROPERTIES,
|
||||
"FullScreenDeniedNotInputDriven");
|
||||
nsRefPtr<nsAsyncDOMEvent> e =
|
||||
new nsAsyncDOMEvent(OwnerDoc(),
|
||||
NS_LITERAL_STRING("mozfullscreenerror"),
|
||||
true,
|
||||
false);
|
||||
e->PostDOMEvent();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
OwnerDoc()->AsyncRequestFullScreen(this);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
|
@ -3220,32 +3220,6 @@ nsGenericHTMLElement::Focus()
|
|||
return fm ? fm->SetFocus(elem, 0) : NS_OK;
|
||||
}
|
||||
|
||||
nsresult nsGenericHTMLElement::MozRequestFullScreen()
|
||||
{
|
||||
// Only grant full-screen requests if this is called from inside a trusted
|
||||
// event handler (i.e. inside an event handler for a user initiated event).
|
||||
// This stops the full-screen from being abused similar to the popups of old,
|
||||
// and it also makes it harder for bad guys' script to go full-screen and
|
||||
// spoof the browser chrome/window and phish logins etc.
|
||||
if (!nsContentUtils::IsRequestFullScreenAllowed()) {
|
||||
nsContentUtils::ReportToConsole(nsIScriptError::warningFlag,
|
||||
"DOM", OwnerDoc(),
|
||||
nsContentUtils::eDOM_PROPERTIES,
|
||||
"FullScreenDeniedNotInputDriven");
|
||||
nsRefPtr<nsAsyncDOMEvent> e =
|
||||
new nsAsyncDOMEvent(OwnerDoc(),
|
||||
NS_LITERAL_STRING("mozfullscreenerror"),
|
||||
true,
|
||||
false);
|
||||
e->PostDOMEvent();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
OwnerDoc()->AsyncRequestFullScreen(this);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult nsGenericHTMLElement::Click()
|
||||
{
|
||||
if (HasFlag(NODE_HANDLING_CLICK))
|
||||
|
|
|
@ -132,7 +132,6 @@ public:
|
|||
NS_IMETHOD InsertAdjacentHTML(const nsAString& aPosition,
|
||||
const nsAString& aText);
|
||||
nsresult ScrollIntoView(bool aTop, PRUint8 optional_argc);
|
||||
nsresult MozRequestFullScreen();
|
||||
// Declare Focus(), Blur(), GetTabIndex(), SetTabIndex(), GetHidden(),
|
||||
// SetHidden(), GetSpellcheck(), SetSpellcheck(), and GetDraggable() such that
|
||||
// classes that inherit interfaces with those methods properly override them.
|
||||
|
@ -1529,9 +1528,6 @@ PR_STATIC_ASSERT(ELEMENT_TYPE_SPECIFIC_BITS_OFFSET + 1 < 32);
|
|||
} \
|
||||
NS_SCRIPTABLE NS_IMETHOD GetOffsetHeight(PRInt32* aOffsetHeight) { \
|
||||
return _to GetOffsetHeight(aOffsetHeight); \
|
||||
} \
|
||||
NS_SCRIPTABLE NS_IMETHOD MozRequestFullScreen() { \
|
||||
return _to MozRequestFullScreen(); \
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -293,6 +293,7 @@ _TEST_FILES = \
|
|||
file_fullscreen-esc-exit.html \
|
||||
file_fullscreen-esc-exit-inner.html \
|
||||
file_fullscreen-rollback.html \
|
||||
file_fullscreen-svg-element.html \
|
||||
test_li_attributes_reflection.html \
|
||||
test_ol_attributes_reflection.html \
|
||||
test_bug651956.html \
|
||||
|
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<!--
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=735031
|
||||
Bug 735031 - Fullscreen API implementation assumes an HTML Element
|
||||
-->
|
||||
<head>
|
||||
<title>Bug 735031</title>
|
||||
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js">
|
||||
</script>
|
||||
<script type="application/javascript" src="/tests/SimpleTest/EventUtils.js">
|
||||
</script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
<body>
|
||||
<a target="_blank"
|
||||
href="https://bugzilla.mozilla.org/show_bug.cgi?id=73503">
|
||||
Mozilla Bug 735031</a>
|
||||
|
||||
<svg width="100" height="100" viewbox="0 0 100 100">
|
||||
<rect id="svg-elem" x="10" y="10" width="50" height="50"
|
||||
fill="black" stroke="blue" stroke-width="2"/>
|
||||
</svg>
|
||||
|
||||
<pre id="test">
|
||||
<script type="application/javascript">
|
||||
/*
|
||||
* Test for Bug 735031
|
||||
* Test locking non-html element.
|
||||
*/
|
||||
function begin() {
|
||||
var elem = document.getElementById("svg-elem")
|
||||
, elemWasLocked = false;
|
||||
|
||||
document.addEventListener("mozfullscreenchange", function (e) {
|
||||
if (document.mozFullScreenElement === elem) {
|
||||
elemWasLocked = true;
|
||||
document.mozCancelFullScreen();
|
||||
} else {
|
||||
opener.ok(elemWasLocked, "Expected SVG elem to become locked.");
|
||||
opener.nextTest();
|
||||
}
|
||||
}, false);
|
||||
elem.mozRequestFullScreen();
|
||||
}
|
||||
</script>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
|
@ -41,6 +41,7 @@ var gTestWindows = [
|
|||
"file_fullscreen-api-keys.html",
|
||||
"file_fullscreen-plugins.html",
|
||||
"file_fullscreen-hidden.html",
|
||||
"file_fullscreen-svg-element.html",
|
||||
"file_fullscreen-navigation.html"
|
||||
];
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ interface nsIDOMLocation;
|
|||
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
|
||||
*/
|
||||
|
||||
[scriptable, uuid(d7cdd08e-1bfd-4bc3-9742-d66586781ee2)]
|
||||
[scriptable, uuid(ac4942fe-1679-4000-aaa7-41dee590a120)]
|
||||
interface nsIDOMDocument : nsIDOMNode
|
||||
{
|
||||
readonly attribute nsIDOMDocumentType doctype;
|
||||
|
@ -369,7 +369,7 @@ interface nsIDOMDocument : nsIDOMNode
|
|||
*
|
||||
* @see <https://wiki.mozilla.org/index.php?title=Gecko:FullScreenAPI>
|
||||
*/
|
||||
readonly attribute nsIDOMHTMLElement mozFullScreenElement;
|
||||
readonly attribute nsIDOMElement mozFullScreenElement;
|
||||
|
||||
/**
|
||||
* Causes the document to leave DOM full-screen mode, if it's in
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#interface-element
|
||||
*/
|
||||
|
||||
[scriptable, uuid(f561753a-1d4f-40c1-b147-ea955fc6fd94)]
|
||||
[scriptable, uuid(295e05d9-9174-48ae-bc59-d7e6a8757726)]
|
||||
interface nsIDOMElement : nsIDOMNode
|
||||
{
|
||||
readonly attribute DOMString tagName;
|
||||
|
@ -219,4 +219,13 @@ interface nsIDOMElement : nsIDOMNode
|
|||
* element has captured the mouse, this method has no effect.
|
||||
*/
|
||||
void releaseCapture();
|
||||
|
||||
// Mozilla extensions
|
||||
/**
|
||||
* Requests that this element be made the full-screen element, as per the DOM
|
||||
* full-screen api.
|
||||
*
|
||||
* @see <https://wiki.mozilla.org/index.php?title=Gecko:FullScreenAPI>
|
||||
*/
|
||||
void mozRequestFullScreen();
|
||||
};
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include "nsIDOMDocument.idl"
|
||||
|
||||
[scriptable, uuid(b53a4bab-0065-468b-810a-4c4659a04f00)]
|
||||
[scriptable, uuid(2ba0cbad-d03e-424d-a47f-560541192bc3)]
|
||||
interface nsIDOMXMLDocument : nsIDOMDocument
|
||||
{
|
||||
// DOM Level 3 Load & Save, DocumentLS
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(44a9c8e1-2c95-41e4-86f1-96033a452a4d)]
|
||||
[scriptable, uuid(8ca68d9c-1701-47e0-87d4-ddf9d36609a2)]
|
||||
interface nsIDOMHTMLAnchorElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString href;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(962eefd6-8728-4626-82b4-b008aaca00d4)]
|
||||
[scriptable, uuid(27b49244-7752-43d4-8f2c-e22f26ebea0e)]
|
||||
interface nsIDOMHTMLAppletElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(293d9f21-df16-4706-91d5-f6381f9db554)]
|
||||
[scriptable, uuid(eaf79702-058c-4a02-b5e5-5606b3d60255)]
|
||||
interface nsIDOMHTMLAreaElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString alt;
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
* @status UNDER_DEVELOPMENT
|
||||
*/
|
||||
|
||||
[scriptable, uuid(390c059a-0a26-4a44-96b6-3f8817bf92e9)]
|
||||
[scriptable, uuid(ecf4ed75-83b0-4a96-af11-d6cefab59dc0)]
|
||||
interface nsIDOMHTMLAudioElement : nsIDOMHTMLMediaElement
|
||||
{
|
||||
// Setup the audio stream for writing
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(595249b7-c889-4e3b-9bc2-a309cab26319)]
|
||||
[scriptable, uuid(b0cde271-9773-43dd-a5c4-22159bd6addb)]
|
||||
interface nsIDOMHTMLBRElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString clear;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(9b845be3-5097-42ec-a3d1-a4082dd7ad8d)]
|
||||
[scriptable, uuid(66a5612b-66e4-4455-b805-6df735889e8d)]
|
||||
interface nsIDOMHTMLBaseElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString href;
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(fbc08701-776e-47d8-8b14-12b27aadc180)]
|
||||
[scriptable, uuid(9b4bd03e-cc71-4fab-b0b8-51156c666cb4)]
|
||||
interface nsIDOMHTMLBodyElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString aLink;
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
interface nsIDOMValidityState;
|
||||
|
||||
[scriptable, uuid(1de3c266-5dc3-4438-8537-379879bfa425)]
|
||||
[scriptable, uuid(6b78685d-1ef4-4d89-9d6b-823c3dac361f)]
|
||||
interface nsIDOMHTMLButtonElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean autofocus;
|
||||
|
|
|
@ -56,7 +56,7 @@ interface nsIDOMFile;
|
|||
interface nsIVariant;
|
||||
interface nsIInputStreamCallback;
|
||||
|
||||
[scriptable, uuid(8cddbc86-f384-40ac-835b-fe3e00630cad)]
|
||||
[scriptable, uuid(21296a59-25d8-45fb-8c27-290044c88922)]
|
||||
interface nsIDOMHTMLCanvasElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute unsigned long width;
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
* @status UNDER_DEVELOPMENT
|
||||
*/
|
||||
|
||||
[scriptable, uuid(cd779d00-7b8a-4c2c-baeb-45c09d9b6728)]
|
||||
[scriptable, uuid(2ee6f391-342a-42b9-a9f6-f0f7e6d1701b)]
|
||||
interface nsIDOMHTMLCommandElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString type;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(be500158-e7b4-468e-8a02-9cb5b699dfc3)]
|
||||
[scriptable, uuid(0344a153-f2c7-4d0c-9b4c-b7616db89728)]
|
||||
interface nsIDOMHTMLDListElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean compact;
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
|
||||
interface nsIDOMHTMLCollection;
|
||||
|
||||
[scriptable, uuid(e81861c0-8522-4e5b-8d3c-869cce3db4b9)]
|
||||
[scriptable, uuid(a652777e-9ad9-4afe-861d-172f888c2f46)]
|
||||
interface nsIDOMHTMLDataListElement : nsIDOMHTMLElement
|
||||
{
|
||||
readonly attribute nsIDOMHTMLCollection options;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(296eb015-904f-456c-a55c-ac7c828536a4)]
|
||||
[scriptable, uuid(c60c67d6-ef9a-40ce-8608-9c837da7fbbc)]
|
||||
interface nsIDOMHTMLDirectoryElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean compact;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(37ac66bd-a7ba-4280-93bb-889f1f94494b)]
|
||||
[scriptable, uuid(32b88969-3c24-4c4b-be73-13b29a73cc81)]
|
||||
interface nsIDOMHTMLDivElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
*/
|
||||
interface nsISelection;
|
||||
|
||||
[scriptable, uuid(cc1af020-6543-429c-82d7-840cda3be0b9)]
|
||||
[scriptable, uuid(0d59c4f0-2272-4a72-8197-da6f86353ec1)]
|
||||
interface nsIDOMHTMLDocument : nsIDOMDocument
|
||||
{
|
||||
readonly attribute DOMString URL;
|
||||
|
|
|
@ -53,7 +53,7 @@ interface nsIDOMHTMLMenuElement;
|
|||
* with changes from the work-in-progress WHATWG HTML specification:
|
||||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
[scriptable, uuid(3de9f8c1-5d76-4d2e-b6b9-334c6eb0c113)]
|
||||
[scriptable, uuid(b5d80fa5-91bc-4b3b-b8bc-1becb563ae15)]
|
||||
interface nsIDOMHTMLElement : nsIDOMElement
|
||||
{
|
||||
// metadata attributes
|
||||
|
@ -98,14 +98,4 @@ interface nsIDOMHTMLElement : nsIDOMElement
|
|||
readonly attribute long offsetLeft;
|
||||
readonly attribute long offsetWidth;
|
||||
readonly attribute long offsetHeight;
|
||||
|
||||
|
||||
// Mozilla extensions
|
||||
/**
|
||||
* Requests that this element be made the full-screen element, as per the DOM
|
||||
* full-screen api.
|
||||
*
|
||||
* @see <https://wiki.mozilla.org/index.php?title=Gecko:FullScreenAPI>
|
||||
*/
|
||||
void mozRequestFullScreen();
|
||||
};
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/#the-embed-element
|
||||
*/
|
||||
|
||||
[scriptable, uuid(8e3d4e85-27e8-4ba1-b837-248a01a60002)]
|
||||
[scriptable, uuid(e4c2af44-3a99-47d7-b9b2-4ccc5c832618)]
|
||||
interface nsIDOMHTMLEmbedElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
interface nsIDOMValidityState;
|
||||
|
||||
[scriptable, uuid(91f19c37-4763-4963-a38a-ce3101fd3729)]
|
||||
[scriptable, uuid(7b26c8d8-f802-4b04-b114-b44201000faf)]
|
||||
interface nsIDOMHTMLFieldSetElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean disabled;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(e044a106-3f5c-44d6-a49a-a0a0b8eb1b56)]
|
||||
[scriptable, uuid(833bb94c-5069-4d79-8228-d658d90cf970)]
|
||||
interface nsIDOMHTMLFontElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString color;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(b0fa651a-134c-4b20-ba4d-35b956a4fc50)]
|
||||
[scriptable, uuid(13a92ac0-7b39-4a5b-8c0d-e75064646c62)]
|
||||
interface nsIDOMHTMLFormElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString acceptCharset;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(4b529afd-ada8-4a2c-a70b-a4e2ead2329d)]
|
||||
[scriptable, uuid(1169be36-b8b6-4a8e-9456-274409fce393)]
|
||||
interface nsIDOMHTMLFrameElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString frameBorder;
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(7df308ed-97bc-4646-b827-c74ba98c3132)]
|
||||
[scriptable, uuid(1c2925dc-8374-4ed8-8981-a38445b6e4ed)]
|
||||
interface nsIDOMHTMLFrameSetElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString cols;
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(cc4919f4-3123-4e03-a49c-82abaad84f2f)]
|
||||
[scriptable, uuid(cc836228-8f6e-4a8d-a973-3931e4660ed2)]
|
||||
interface nsIDOMHTMLHRElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(dcffcf96-c4be-4c4d-a8db-05ca19212053)]
|
||||
[scriptable, uuid(8d2107f9-d045-40eb-915b-9de87a950ce7)]
|
||||
interface nsIDOMHTMLHeadElement : nsIDOMHTMLElement
|
||||
{
|
||||
};
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(bf25942d-acb2-4a88-87b3-ebd498a60158)]
|
||||
[scriptable, uuid(ee1169f0-67d8-4f2a-af10-016ba3bf9794)]
|
||||
interface nsIDOMHTMLHeadingElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(11064dea-f7bb-4e92-88a9-54a5cacb9bb8)]
|
||||
[scriptable, uuid(f44f6721-1cb3-4a98-b458-2a1a29c25e2f)]
|
||||
interface nsIDOMHTMLHtmlElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString version;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(d4e870bd-452c-4860-b93c-f4ee00ba33f6)]
|
||||
[scriptable, uuid(0ead5a5c-e4d3-4e4d-88b8-7c9dc9d2665c)]
|
||||
interface nsIDOMHTMLIFrameElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(3ed7023f-24be-4cd6-984c-c182a6b67bf9)]
|
||||
[scriptable, uuid(cb711ec9-17e8-4259-9045-ca9ad128f62e)]
|
||||
interface nsIDOMHTMLImageElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString alt;
|
||||
|
|
|
@ -54,7 +54,7 @@ interface nsIDOMValidityState;
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(6b1175a5-70dd-4c26-be99-9e780c32550d)]
|
||||
[scriptable, uuid(0c8e11b5-94f3-405a-aa1b-c5e7eec4ba4d)]
|
||||
interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString accept;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(681be589-da8b-4bf9-a7e0-6f29a5ac91bb)]
|
||||
[scriptable, uuid(f4949a2d-ca29-47a8-88f3-c83570f9e3d4)]
|
||||
interface nsIDOMHTMLLIElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString type;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(9f176054-6e79-4235-b4b9-061beddb4ac4)]
|
||||
[scriptable, uuid(4e5d92a3-8f9b-438d-98d8-42a1526369be)]
|
||||
interface nsIDOMHTMLLabelElement : nsIDOMHTMLElement
|
||||
{
|
||||
readonly attribute nsIDOMHTMLFormElement form;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(0482fb35-dba0-4675-bf7b-aed33b575f38)]
|
||||
[scriptable, uuid(1fbae5ab-036e-4941-8b09-754ab8f217cc)]
|
||||
interface nsIDOMHTMLLegendElement : nsIDOMHTMLElement
|
||||
{
|
||||
readonly attribute nsIDOMHTMLFormElement form;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(0c8d524d-d3fc-44dd-8f6a-59069e33ded4)]
|
||||
[scriptable, uuid(36c22a1c-d53d-4e59-bb84-c8e538ba9621)]
|
||||
interface nsIDOMHTMLLinkElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean disabled;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(b99c31bc-76d0-43bc-a912-f839ec89c829)]
|
||||
[scriptable, uuid(39ed3fe6-1ff6-4d1d-bf77-7a10a35bfccc)]
|
||||
interface nsIDOMHTMLMapElement : nsIDOMHTMLElement
|
||||
{
|
||||
readonly attribute nsIDOMHTMLCollection areas;
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
#endif
|
||||
%}
|
||||
|
||||
[scriptable, uuid(6733a409-fab3-45e1-af23-9af8c361bdfd)]
|
||||
[scriptable, uuid(60ea8009-022b-4e65-a452-054b0483182e)]
|
||||
interface nsIDOMHTMLMediaElement : nsIDOMHTMLElement
|
||||
{
|
||||
// error state
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(321392c8-9eb1-47db-a41c-5dc466949e8a)]
|
||||
[scriptable, uuid(be2d054e-e9cd-45bd-b075-58783cdca8a4)]
|
||||
interface nsIDOMHTMLMenuElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean compact;
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
* @status UNDER_DEVELOPMENT
|
||||
*/
|
||||
|
||||
[scriptable, uuid(66a84ce5-2346-42ca-b6e4-7cc8ec9e621d)]
|
||||
[scriptable, uuid(74ffab29-3a81-4099-8f38-55b1ad3a6988)]
|
||||
interface nsIDOMHTMLMenuItemElement : nsIDOMHTMLCommandElement
|
||||
{
|
||||
};
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(1817a7fa-6f13-44f8-8a45-7f8f1fe7c252)]
|
||||
[scriptable, uuid(75f9f39c-7389-4acb-9100-cda379151b12)]
|
||||
interface nsIDOMHTMLMetaElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString content;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(40552a5e-7fea-42cb-b65d-4d8c0827d03c)]
|
||||
[scriptable, uuid(34cc420e-ac88-44ac-817f-6c6bf39e5dc1)]
|
||||
interface nsIDOMHTMLModElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString cite;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(08a25a61-f2a3-4eff-b208-ad05805e62e7)]
|
||||
[scriptable, uuid(bdae649e-9cfd-4010-b9f6-5ff29c75aeaa)]
|
||||
interface nsIDOMHTMLOListElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean compact;
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
interface nsIDOMValidityState;
|
||||
|
||||
[scriptable, uuid(dbb14d7b-05ce-4abd-a980-9aedede612af)]
|
||||
[scriptable, uuid(b85a1d53-77b8-4550-98ae-d9c4339f2ef9)]
|
||||
interface nsIDOMHTMLObjectElement : nsIDOMHTMLElement
|
||||
{
|
||||
readonly attribute nsIDOMHTMLFormElement form;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(45685a23-a6c0-48d3-83f9-7b3bba1bd995)]
|
||||
[scriptable, uuid(466575ed-ea87-459e-931e-978877db9d41)]
|
||||
interface nsIDOMHTMLOptGroupElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean disabled;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(ec3cfb59-a945-4821-8ea6-2448970e7639)]
|
||||
[scriptable, uuid(f3cbd120-a456-41bf-807e-1aa648c02363)]
|
||||
interface nsIDOMHTMLOptionElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean disabled;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
interface nsIDOMDOMSettableTokenList;
|
||||
interface nsIDOMValidityState;
|
||||
|
||||
[scriptable, uuid(8f321988-6fe2-4714-8ba9-12c819fea2ed)]
|
||||
[scriptable, uuid(b13de107-dd83-4b1b-8970-c25a0890e799)]
|
||||
interface nsIDOMHTMLOutputElement : nsIDOMHTMLElement
|
||||
{
|
||||
readonly attribute nsIDOMDOMSettableTokenList htmlFor;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(5874cbcf-8a14-49d6-ac5f-52d3dc6df529)]
|
||||
[scriptable, uuid(c3f56887-058b-4143-ac75-de01fbd088c7)]
|
||||
interface nsIDOMHTMLParagraphElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(1f0685fb-bf49-4c39-b08d-7d75b1e5e493)]
|
||||
[scriptable, uuid(9e2e501c-28a0-420c-9a4d-476db717ea41)]
|
||||
interface nsIDOMHTMLParamElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString name;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(1b24b515-7227-40dc-ad53-ad2a55d281d4)]
|
||||
[scriptable, uuid(75825309-f449-451f-a252-c3ac83c857af)]
|
||||
interface nsIDOMHTMLPreElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute long width;
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
* @status UNDER_DEVELOPMENT
|
||||
*/
|
||||
|
||||
[scriptable, uuid(d74f904b-d3cd-47c3-a863-753fe22c19ab)]
|
||||
[scriptable, uuid(6312474b-9c6c-4eb4-8408-2a1754799e30)]
|
||||
interface nsIDOMHTMLProgressElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute double value;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(9b20c533-a94f-4644-9763-1f414ebbe9b1)]
|
||||
[scriptable, uuid(e6a8a758-079c-4411-a3e5-b9c47f3e92b1)]
|
||||
interface nsIDOMHTMLQuoteElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString cite;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(8b79bf24-d127-4b63-a798-f44bee76204d)]
|
||||
[scriptable, uuid(aa028093-b990-4b57-b0d4-e82d80ca85b1)]
|
||||
interface nsIDOMHTMLScriptElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString src;
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
|
||||
interface nsIDOMValidityState;
|
||||
|
||||
[scriptable, uuid(6f0a4fee-3aea-4bb7-85cb-d4881a55ca43)]
|
||||
[scriptable, uuid(828961d4-cca1-4024-aaf1-dc0e0d1e6d98)]
|
||||
interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean autofocus;
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
* @status UNDER_DEVELOPMENT
|
||||
*/
|
||||
|
||||
[scriptable, uuid(df8ecfef-92e5-419e-81d4-900a7cf3c3c3)]
|
||||
[scriptable, uuid(cff81c92-fefa-4d0f-8d07-a4d98fabb6b6)]
|
||||
interface nsIDOMHTMLSourceElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString src;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(04c29aaa-2239-42a9-ade0-0ba3134c1a8e)]
|
||||
[scriptable, uuid(6687fa89-8141-421c-bd76-70f9b89bccc9)]
|
||||
interface nsIDOMHTMLStyleElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean disabled;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(22cfd967-a21d-4bed-a759-0928ff4dfcd0)]
|
||||
[scriptable, uuid(77d7863a-1a8d-4c25-9b3a-33ef760c78e5)]
|
||||
interface nsIDOMHTMLTableCaptionElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(61bf360a-a6b7-4928-96de-b54742f8b4b8)]
|
||||
[scriptable, uuid(89cc7b76-0c34-42c1-93b8-1db28d54ce67)]
|
||||
interface nsIDOMHTMLTableCellElement : nsIDOMHTMLElement
|
||||
{
|
||||
readonly attribute long cellIndex;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(d933a77b-35f3-41ec-b73f-8ae80bb7cf73)]
|
||||
[scriptable, uuid(f8656d47-dea5-4f00-bc63-a6a9c12e2a14)]
|
||||
interface nsIDOMHTMLTableColElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(7b9d43a6-7e9e-4618-970b-29eb3547d506)]
|
||||
[scriptable, uuid(f9710237-bd89-4411-a67a-cf972430e3cc)]
|
||||
interface nsIDOMHTMLTableElement : nsIDOMHTMLElement
|
||||
{
|
||||
// Modified in DOM Level 2:
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(f76a1d42-25b9-41b9-a58e-7d934e1be0a2)]
|
||||
[scriptable, uuid(365b26ba-b077-4a98-8a0f-9691ac6677f1)]
|
||||
interface nsIDOMHTMLTableRowElement : nsIDOMHTMLElement
|
||||
{
|
||||
// Modified in DOM Level 2:
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(4940c93c-b83e-4101-b9de-c33139cc5a3a)]
|
||||
[scriptable, uuid(3c402173-8315-43ed-9e2c-130b159d7c8f)]
|
||||
interface nsIDOMHTMLTableSectionElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
|
|
@ -53,7 +53,7 @@ interface nsIDOMValidityState;
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(0ad0571c-f8ba-44e2-b5aa-5e1c93fae7c0)]
|
||||
[scriptable, uuid(81efc7a5-ea76-494c-a3ce-02556afba337)]
|
||||
interface nsIDOMHTMLTextAreaElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean autofocus;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(c569199b-328a-433d-8d40-fe858988625e)]
|
||||
[scriptable, uuid(1c03280b-324b-4c83-bfdf-76738cdc70c1)]
|
||||
interface nsIDOMHTMLTitleElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString text;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(e9bec981-dd3e-4849-85b9-2f4f30ba5152)]
|
||||
[scriptable, uuid(dfe7d584-6330-44de-a46f-a0e9d55fa9f4)]
|
||||
interface nsIDOMHTMLUListElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean compact;
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
*
|
||||
* @see <http://www.whatwg.org/html/#htmlunknownelement>
|
||||
*/
|
||||
[scriptable, uuid(50c480fa-d3dc-49ad-a21d-d4d5f7aec44e)]
|
||||
[scriptable, uuid(d74ee527-8397-4a09-b161-f9bcb0382924)]
|
||||
interface nsIDOMHTMLUnknownElement : nsIDOMHTMLElement
|
||||
{
|
||||
};
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
* @status UNDER_DEVELOPMENT
|
||||
*/
|
||||
|
||||
[scriptable, uuid(2274055b-8b3a-4a5a-8d72-5d5aea07021a)]
|
||||
[scriptable, uuid(9904233c-1345-440d-aa0f-1d3dd4457d83)]
|
||||
interface nsIDOMHTMLVideoElement : nsIDOMHTMLMediaElement
|
||||
{
|
||||
attribute long width;
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
interface nsIDOMSVGAnimatedString;
|
||||
|
||||
[scriptable, uuid(0e0081ce-8b9d-4c26-baeb-a5e99f5126f9)]
|
||||
[scriptable, uuid(bc060816-4cab-4552-af1f-39e15e6f4f59)]
|
||||
interface nsIDOMSVGAElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
#include "nsIDOMSVGTextPositionElem.idl"
|
||||
|
||||
[scriptable, uuid(e86efca6-0391-4e9a-83dc-90b3b761a690)]
|
||||
[scriptable, uuid(289aa3c3-9724-48a3-81cc-a0bc7c1f1fea)]
|
||||
interface nsIDOMSVGAltGlyphElement : nsIDOMSVGTextPositioningElement
|
||||
/*
|
||||
The SVG DOM makes use of multiple interface inheritance.
|
||||
|
|
|
@ -37,5 +37,5 @@
|
|||
|
||||
#include "nsIDOMSVGAnimationElement.idl"
|
||||
|
||||
[scriptable, uuid(01a99850-013b-4821-97fd-798732c8cc53)]
|
||||
[scriptable, uuid(a662ffce-086f-4c5b-886b-78acb654db10)]
|
||||
interface nsIDOMSVGAnimateElement : nsIDOMSVGAnimationElement {};
|
||||
|
|
|
@ -37,5 +37,5 @@
|
|||
|
||||
#include "nsIDOMSVGAnimationElement.idl"
|
||||
|
||||
[scriptable, uuid(29d02159-1517-49dc-8a83-8824fb166c09)]
|
||||
[scriptable, uuid(3d1d0c0d-9d5b-4e30-9fc8-97ec7e49ec18)]
|
||||
interface nsIDOMSVGAnimateMotionElement : nsIDOMSVGAnimationElement { };
|
||||
|
|
|
@ -37,5 +37,5 @@
|
|||
|
||||
#include "nsIDOMSVGAnimationElement.idl"
|
||||
|
||||
[scriptable, uuid(62e30f49-3566-4415-8971-b0ddd2c8bf97)]
|
||||
[scriptable, uuid(1c7be1dc-a799-4837-865f-4c0bd1e51255)]
|
||||
interface nsIDOMSVGAnimateTransformElement : nsIDOMSVGAnimationElement {};
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
#include "nsIDOMSVGElement.idl"
|
||||
|
||||
[scriptable, uuid(412616f5-b7a0-4160-9c64-5c328cb73836)]
|
||||
[scriptable, uuid(2dfaf726-a479-4a9d-8e16-cd5d07696eea)]
|
||||
interface nsIDOMSVGAnimationElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
interface nsIDOMSVGAnimatedLength;
|
||||
|
||||
[scriptable, uuid(9c3e3e1f-0332-4b6c-8699-554edb3a972f)]
|
||||
[scriptable, uuid(79314559-4561-4259-9839-f9b8df90e050)]
|
||||
interface nsIDOMSVGCircleElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
|
||||
interface nsIDOMSVGAnimatedEnumeration;
|
||||
|
||||
[scriptable, uuid(384359ad-7c3f-4638-9364-95e4d42b4c0c)]
|
||||
[scriptable, uuid(77909883-71d3-46a4-87df-baab182eea6c)]
|
||||
interface nsIDOMSVGClipPathElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include "nsIDOMSVGElement.idl"
|
||||
|
||||
[scriptable, uuid(e6dd64f2-c59b-4c0f-85fb-63b748c20057)]
|
||||
[scriptable, uuid(50a7b30c-fbad-4f60-baca-a6e018e66a06)]
|
||||
interface nsIDOMSVGDefsElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include "nsIDOMSVGElement.idl"
|
||||
|
||||
[scriptable, uuid(e97484c1-5b32-4e7e-8ad6-e04ea8100d3f)]
|
||||
[scriptable, uuid(18c4a5f0-9f12-4f7a-bc14-91d575238a34)]
|
||||
interface nsIDOMSVGDescElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
interface nsIDOMSVGSVGElement;
|
||||
|
||||
[scriptable, uuid(4368b131-bfe9-4f34-848d-00139217c1d1)]
|
||||
[scriptable, uuid(b3c5a715-ccee-48e4-8d2b-dcf7fa6ccb7c)]
|
||||
interface nsIDOMSVGDocument : nsIDOMDocument
|
||||
{
|
||||
readonly attribute DOMString domain;
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
interface nsIDOMSVGSVGElement;
|
||||
|
||||
[scriptable, uuid(dbb1b49c-dce5-43fe-97ea-e249b5620aa2)]
|
||||
[scriptable, uuid(0eb0952f-05a9-44e8-ab48-66bed5641ebf)]
|
||||
interface nsIDOMSVGElement : nsIDOMElement
|
||||
{
|
||||
attribute DOMString id;
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
interface nsIDOMSVGAnimatedLength;
|
||||
|
||||
[scriptable, uuid(6dff169d-43b8-4727-8dc2-b14c897951a3)]
|
||||
[scriptable, uuid(a19b7c99-3b3f-4860-aa94-d66789afa021)]
|
||||
interface nsIDOMSVGEllipseElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -40,7 +40,7 @@ interface nsIDOMSVGAnimatedLength;
|
|||
interface nsIDOMSVGAnimatedEnumeration;
|
||||
interface nsIDOMSVGAnimatedInteger;
|
||||
|
||||
[scriptable, uuid(d4ffe017-20da-44eb-8111-9e814be8d313)]
|
||||
[scriptable, uuid(34bf1f97-ec77-48b4-9f3b-c61ef957ebf7)]
|
||||
interface nsIDOMSVGFilterElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -45,7 +45,7 @@ interface nsIDOMSVGAnimatedNumberList;
|
|||
interface nsIDOMSVGAnimatedInteger;
|
||||
interface nsIDOMSVGAnimatedBoolean;
|
||||
|
||||
[scriptable, uuid(0baad34c-3937-4a62-8098-5988ad6d3582)]
|
||||
[scriptable, uuid(f96cedb9-568c-43d0-b07f-565d5116ae34)]
|
||||
interface nsIDOMSVGFilterPrimitiveStandardAttributes : nsIDOMSVGElement
|
||||
{
|
||||
readonly attribute nsIDOMSVGAnimatedLength x;
|
||||
|
@ -55,7 +55,7 @@ interface nsIDOMSVGFilterPrimitiveStandardAttributes : nsIDOMSVGElement
|
|||
readonly attribute nsIDOMSVGAnimatedString result;
|
||||
};
|
||||
|
||||
[scriptable, uuid(15d091f6-ffdd-4b22-90d3-45671a3a153c)]
|
||||
[scriptable, uuid(215023bc-e4d6-473d-b0fd-db96727b9e0d)]
|
||||
interface nsIDOMSVGFEBlendElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
const unsigned short SVG_MODE_UNKNOWN = 0;
|
||||
|
@ -70,7 +70,7 @@ interface nsIDOMSVGFEBlendElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
|||
readonly attribute nsIDOMSVGAnimatedEnumeration mode;
|
||||
};
|
||||
|
||||
[scriptable, uuid(9865eca2-ec73-4241-b17c-3707a84801a0)]
|
||||
[scriptable, uuid(92205955-4d55-4097-9b93-b38d7e5a72e4)]
|
||||
interface nsIDOMSVGFEColorMatrixElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
// Color Matrix Types
|
||||
|
@ -85,13 +85,13 @@ interface nsIDOMSVGFEColorMatrixElement : nsIDOMSVGFilterPrimitiveStandardAttrib
|
|||
readonly attribute nsIDOMSVGAnimatedNumberList values;
|
||||
};
|
||||
|
||||
[scriptable, uuid(8dd308d2-19b0-4d0a-a600-fc97cc278840)]
|
||||
[scriptable, uuid(69612612-c893-4d2c-902d-5a4887ebfe0a)]
|
||||
interface nsIDOMSVGFEComponentTransferElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
readonly attribute nsIDOMSVGAnimatedString in1;
|
||||
};
|
||||
|
||||
[scriptable, uuid(8d1c623f-81d0-494d-abf4-089447d71e19)]
|
||||
[scriptable, uuid(1b758c80-c6f2-4f57-a8cf-964c98c8d0f0)]
|
||||
interface nsIDOMSVGComponentTransferFunctionElement : nsIDOMSVGElement
|
||||
{
|
||||
// Component Transfer Types
|
||||
|
@ -111,7 +111,7 @@ interface nsIDOMSVGComponentTransferFunctionElement : nsIDOMSVGElement
|
|||
readonly attribute nsIDOMSVGAnimatedNumber offset;
|
||||
};
|
||||
|
||||
[scriptable, uuid(4c817cff-3eb1-4aa3-86cc-6c1d26304d51)]
|
||||
[scriptable, uuid(71142479-68eb-44a3-9964-19faa09c4720)]
|
||||
interface nsIDOMSVGFECompositeElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
// Operator Types
|
||||
|
@ -135,27 +135,27 @@ interface nsIDOMSVGFECompositeElement : nsIDOMSVGFilterPrimitiveStandardAttribut
|
|||
|
||||
};
|
||||
|
||||
[scriptable, uuid(16cc0d3d-7d9d-4994-8e22-51a2ca8bc286)]
|
||||
[scriptable, uuid(4f358571-3dcb-4ac5-990b-19e3fd355d43)]
|
||||
interface nsIDOMSVGFEFuncRElement : nsIDOMSVGComponentTransferFunctionElement
|
||||
{
|
||||
};
|
||||
|
||||
[scriptable, uuid(28140f4f-11b0-4aaa-988f-91183de9174d)]
|
||||
[scriptable, uuid(a2b6baf7-4f8a-4b3a-86e9-6e232ad25889)]
|
||||
interface nsIDOMSVGFEFuncGElement : nsIDOMSVGComponentTransferFunctionElement
|
||||
{
|
||||
};
|
||||
|
||||
[scriptable, uuid(3d7b80be-be90-4d5f-bd7f-ad8a41e25650)]
|
||||
[scriptable, uuid(b6d6522d-6721-453b-99f9-a08349d84dd0)]
|
||||
interface nsIDOMSVGFEFuncBElement : nsIDOMSVGComponentTransferFunctionElement
|
||||
{
|
||||
};
|
||||
|
||||
[scriptable, uuid(52cf6761-4ff7-467f-9828-0fb2f51a70cf)]
|
||||
[scriptable, uuid(70c084fc-d823-43b3-b4f1-476387b40079)]
|
||||
interface nsIDOMSVGFEFuncAElement : nsIDOMSVGComponentTransferFunctionElement
|
||||
{
|
||||
};
|
||||
|
||||
[scriptable, uuid(aa828fdd-855c-4def-b911-0305521e6b3c)]
|
||||
[scriptable, uuid(bd19cfb2-5259-4551-abf5-3f9a9967ccf0)]
|
||||
interface nsIDOMSVGFEGaussianBlurElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
readonly attribute nsIDOMSVGAnimatedString in1;
|
||||
|
@ -165,35 +165,35 @@ interface nsIDOMSVGFEGaussianBlurElement : nsIDOMSVGFilterPrimitiveStandardAttri
|
|||
void setStdDeviation ( in float stdDeviationX, in float stdDeviationY );
|
||||
};
|
||||
|
||||
[scriptable, uuid(680478f7-e018-448e-a5f8-994737a1f3cc)]
|
||||
[scriptable, uuid(ebb57b0d-e198-4f10-b5a9-4ab5b0729c85)]
|
||||
interface nsIDOMSVGFEMergeElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
};
|
||||
|
||||
[scriptable, uuid(556ae82f-a713-4075-8b1a-a484c147b55e)]
|
||||
[scriptable, uuid(5b701f2f-b636-4bbb-8d2a-c74fa79b0280)]
|
||||
interface nsIDOMSVGFEMergeNodeElement : nsIDOMSVGElement {
|
||||
readonly attribute nsIDOMSVGAnimatedString in1;
|
||||
};
|
||||
|
||||
[scriptable, uuid(5528a83d-6dd5-48a0-917a-e67d688d76ed)]
|
||||
[scriptable, uuid(15746ca6-8b27-4cc1-bd84-3422d3aea18c)]
|
||||
interface nsIDOMSVGFEOffsetElement : nsIDOMSVGFilterPrimitiveStandardAttributes {
|
||||
readonly attribute nsIDOMSVGAnimatedString in1;
|
||||
readonly attribute nsIDOMSVGAnimatedNumber dx;
|
||||
readonly attribute nsIDOMSVGAnimatedNumber dy;
|
||||
};
|
||||
|
||||
[scriptable, uuid(610e2fe0-3d6a-4cf0-8df6-b65da8d29367)]
|
||||
[scriptable, uuid(436ca74a-eba8-4a50-8947-c180eb612a34)]
|
||||
interface nsIDOMSVGFEFloodElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
};
|
||||
|
||||
[scriptable, uuid(4590fc6a-5dc1-45bc-9e86-0af377d6ecbd)]
|
||||
[scriptable, uuid(4cf173d3-6b67-4e2c-8050-61412e6e9d7c)]
|
||||
interface nsIDOMSVGFETileElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
readonly attribute nsIDOMSVGAnimatedString in1;
|
||||
};
|
||||
|
||||
[scriptable, uuid(bec76206-825d-40c9-bded-0810daafb117)]
|
||||
[scriptable, uuid(9235e6a7-ba2c-4a41-9e80-20735159014b)]
|
||||
interface nsIDOMSVGFETurbulenceElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
// Turbulence Types
|
||||
|
@ -213,7 +213,7 @@ interface nsIDOMSVGFETurbulenceElement : nsIDOMSVGFilterPrimitiveStandardAttribu
|
|||
readonly attribute nsIDOMSVGAnimatedEnumeration type;
|
||||
};
|
||||
|
||||
[scriptable, uuid(7246ba36-0dd1-43fc-8536-908e8985b77a)]
|
||||
[scriptable, uuid(b994b0e3-cff1-4550-bfb2-f5de7679acb9)]
|
||||
interface nsIDOMSVGFEMorphologyElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
// Operator Types
|
||||
|
@ -229,7 +229,7 @@ interface nsIDOMSVGFEMorphologyElement : nsIDOMSVGFilterPrimitiveStandardAttribu
|
|||
void setRadius ( in float rx, in float ry );
|
||||
};
|
||||
|
||||
[scriptable, uuid(812fdfe3-93fd-4787-9909-7158d839ea69)]
|
||||
[scriptable, uuid(b64766fa-c393-4985-a775-deedb5b07ed2)]
|
||||
interface nsIDOMSVGFEConvolveMatrixElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
// Edge Mode Values
|
||||
|
@ -252,7 +252,7 @@ interface nsIDOMSVGFEConvolveMatrixElement : nsIDOMSVGFilterPrimitiveStandardAtt
|
|||
readonly attribute nsIDOMSVGAnimatedBoolean preserveAlpha;
|
||||
};
|
||||
|
||||
[scriptable, uuid(3683aa0d-9d2f-45cd-8bc8-9b8a79e519b7)]
|
||||
[scriptable, uuid(47343967-4da5-4309-a3a4-c37ffab05b1f)]
|
||||
interface nsIDOMSVGFEDiffuseLightingElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
readonly attribute nsIDOMSVGAnimatedString in1;
|
||||
|
@ -262,7 +262,7 @@ interface nsIDOMSVGFEDiffuseLightingElement : nsIDOMSVGFilterPrimitiveStandardA
|
|||
readonly attribute nsIDOMSVGAnimatedNumber kernelUnitLengthY;
|
||||
};
|
||||
|
||||
[scriptable, uuid(f3a96e7a-48db-4d75-b16a-368f7fa39482)]
|
||||
[scriptable, uuid(b647355f-1be8-40da-9c3b-05dce4c0eaa4)]
|
||||
interface nsIDOMSVGFESpecularLightingElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
readonly attribute nsIDOMSVGAnimatedString in1;
|
||||
|
@ -273,20 +273,20 @@ interface nsIDOMSVGFESpecularLightingElement : nsIDOMSVGFilterPrimitiveStandardA
|
|||
readonly attribute nsIDOMSVGAnimatedNumber kernelUnitLengthY;
|
||||
};
|
||||
|
||||
[scriptable, uuid(bcd675cb-8794-4083-a6f4-1577a6c23f2b)]
|
||||
[scriptable, uuid(1073827f-77e5-4096-81c5-6ebffefe258b)]
|
||||
interface nsIDOMSVGFEDistantLightElement : nsIDOMSVGElement {
|
||||
readonly attribute nsIDOMSVGAnimatedNumber azimuth;
|
||||
readonly attribute nsIDOMSVGAnimatedNumber elevation;
|
||||
};
|
||||
|
||||
[scriptable, uuid(57786525-10bd-4599-9bc0-f2a76ff10178)]
|
||||
[scriptable, uuid(d75d49ad-4265-4774-aa5c-02e4cdbfa2b1)]
|
||||
interface nsIDOMSVGFEPointLightElement : nsIDOMSVGElement {
|
||||
readonly attribute nsIDOMSVGAnimatedNumber x;
|
||||
readonly attribute nsIDOMSVGAnimatedNumber y;
|
||||
readonly attribute nsIDOMSVGAnimatedNumber z;
|
||||
};
|
||||
|
||||
[scriptable, uuid(4bc6bd22-7faf-409e-acff-0d554ff93b2e)]
|
||||
[scriptable, uuid(8cbaa2ea-159d-4b28-a963-8e42979eae84)]
|
||||
interface nsIDOMSVGFESpotLightElement : nsIDOMSVGElement {
|
||||
readonly attribute nsIDOMSVGAnimatedNumber x;
|
||||
readonly attribute nsIDOMSVGAnimatedNumber y;
|
||||
|
@ -298,7 +298,7 @@ interface nsIDOMSVGFESpotLightElement : nsIDOMSVGElement {
|
|||
readonly attribute nsIDOMSVGAnimatedNumber limitingConeAngle;
|
||||
};
|
||||
|
||||
[scriptable, uuid(477bb1c0-4923-467f-a0ce-85cbe87c2324)]
|
||||
[scriptable, uuid(f46d36a1-5ea5-4152-9d73-2dd967c3a709)]
|
||||
interface nsIDOMSVGFEImageElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
/*
|
||||
nsIDOMSVGURIReference,
|
||||
|
@ -308,7 +308,7 @@ interface nsIDOMSVGFEImageElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
|||
{
|
||||
};
|
||||
|
||||
[scriptable, uuid(7a7548ed-f578-433b-b6b3-d034f5f19f44)]
|
||||
[scriptable, uuid(84db9e0e-ea0b-4906-8929-d97b4fd637c3)]
|
||||
interface nsIDOMSVGFEDisplacementMapElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
// Channel Selectors
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
interface nsIDOMSVGAnimatedLength;
|
||||
|
||||
[scriptable, uuid(7639563d-b19c-46d3-afb4-1bef937e8c29)]
|
||||
[scriptable, uuid(aa51c975-0450-4deb-9c15-a0b8c01ca4e2)]
|
||||
interface nsIDOMSVGForeignObjectElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include "nsIDOMSVGElement.idl"
|
||||
|
||||
[scriptable, uuid(a5b4fa2e-65fb-4e9a-bb1b-00106a4fd813)]
|
||||
[scriptable, uuid(55235238-a7ae-4342-adf1-226069810dbc)]
|
||||
interface nsIDOMSVGGElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
interface nsIDOMSVGAnimatedEnumeration;
|
||||
interface nsIDOMSVGAnimatedTransformList;
|
||||
|
||||
[scriptable, uuid(9c21dbc3-09bf-4905-ab84-b86c3f7471ce)]
|
||||
[scriptable, uuid(c0eda839-02d3-4133-b088-6cd6cbbc3c99)]
|
||||
interface nsIDOMSVGGradientElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
@ -88,7 +88,7 @@ interface nsIDOMSVGGradientElement
|
|||
// Linear gradient
|
||||
interface nsIDOMSVGAnimatedLength;
|
||||
|
||||
[scriptable, uuid(42f66e56-ea42-4c75-a190-0dc5ad19afa4)]
|
||||
[scriptable, uuid(90e26673-027a-42fc-915c-de60d39cfd41)]
|
||||
interface nsIDOMSVGLinearGradientElement
|
||||
: nsIDOMSVGGradientElement
|
||||
{
|
||||
|
@ -110,7 +110,7 @@ interface nsIDOMSVGLinearGradientElement
|
|||
// Radial gradient
|
||||
interface nsIDOMSVGAnimatedLength;
|
||||
|
||||
[scriptable, uuid(6b4b82a3-424f-41bc-b748-0cdec4a7f419)]
|
||||
[scriptable, uuid(8d87299d-ed91-4a9c-8aa7-3ac24ad8785b)]
|
||||
interface nsIDOMSVGRadialGradientElement
|
||||
: nsIDOMSVGGradientElement
|
||||
{
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
interface nsIDOMSVGAnimatedLength;
|
||||
interface nsIDOMSVGAnimatedPreserveAspectRatio;
|
||||
|
||||
[scriptable, uuid(048da3ff-aa94-4988-8f5c-3aae4a630008)]
|
||||
[scriptable, uuid(31fdac45-fc15-4b09-a755-bcc641edac29)]
|
||||
interface nsIDOMSVGImageElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
interface nsIDOMSVGAnimatedLength;
|
||||
|
||||
[scriptable, uuid(0db4b4ba-01f4-4aba-8054-084febfc96ae)]
|
||||
[scriptable, uuid(1ae0646a-8a4a-4ba6-a0d1-bc87f8146fa1)]
|
||||
interface nsIDOMSVGLineElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -51,7 +51,7 @@ interface nsIDOMSVGMatrix;
|
|||
*
|
||||
*/
|
||||
|
||||
[scriptable, uuid(df5bb334-0f72-4188-ae8d-467cec5019bf)]
|
||||
[scriptable, uuid(f5f93dff-7abc-4a13-a659-6c256d80e598)]
|
||||
interface nsIDOMSVGMarkerElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
interface nsIDOMSVGAnimatedLength;
|
||||
interface nsIDOMSVGAnimatedEnumeration;
|
||||
|
||||
[scriptable, uuid(90670735-4ea4-4d68-b6ef-15c93c3b922c)]
|
||||
[scriptable, uuid(5540ae8e-5798-4399-b711-0eca44ab29cc)]
|
||||
interface nsIDOMSVGMaskElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include "nsIDOMSVGElement.idl"
|
||||
|
||||
[scriptable, uuid(08953b06-59da-4d19-a551-31ebf92fd6f4)]
|
||||
[scriptable, uuid(5e919004-5f14-4eee-9622-4e130cc8e821)]
|
||||
interface nsIDOMSVGMetadataElement
|
||||
: nsIDOMSVGElement
|
||||
{
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
* http://www.w3.org/TR/SVG/animate.html#mpathElement
|
||||
*/
|
||||
|
||||
[scriptable, uuid(f419e51b-3054-4cff-b55a-f096cf06f1c9)]
|
||||
[scriptable, uuid(f1fb5fb2-efa7-455c-b307-8d2203badadd)]
|
||||
interface nsIDOMSVGMpathElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -60,7 +60,7 @@ interface nsIDOMSVGPathSegCurvetoCubicSmoothRel;
|
|||
interface nsIDOMSVGPathSegCurvetoQuadraticSmoothAbs;
|
||||
interface nsIDOMSVGPathSegCurvetoQuadraticSmoothRel;
|
||||
|
||||
[scriptable, uuid(8fd0f541-49c2-484d-a34c-a24eb25fe286)]
|
||||
[scriptable, uuid(661a4651-8530-44fc-b163-fa3eb6db7fa9)]
|
||||
interface nsIDOMSVGPathElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -51,7 +51,7 @@ interface nsIDOMSVGAnimatedEnumeration;
|
|||
interface nsIDOMSVGAnimatedTransformList;
|
||||
interface nsIDOMSVGAnimatedLength;
|
||||
|
||||
[scriptable, uuid(b8b4500d-e389-42b6-ae54-dd163d6c7c03)]
|
||||
[scriptable, uuid(1dfae3d2-49d3-48a5-a0f0-8d71dbad5fb6)]
|
||||
interface nsIDOMSVGPatternElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче