diff --git a/CoffeeScriptSet.p2f b/CoffeeScriptSet.p2f index 637df26..72e204a 100644 --- a/CoffeeScriptSet.p2f +++ b/CoffeeScriptSet.p2f @@ -40,9 +40,9 @@ Please use the #nodeclipse & #coffeescript tags to twit about. - + - + diff --git a/ENodeIDE.p2f b/ENodeIDE.p2f index c8d3eb6..32ec2c8 100644 --- a/ENodeIDE.p2f +++ b/ENodeIDE.p2f @@ -1,157 +1,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Eclipse-addons.p2f b/Eclipse-addons.p2f index 2ec1f6d..5a30c8a 100644 --- a/Eclipse-addons.p2f +++ b/Eclipse-addons.p2f @@ -16,7 +16,7 @@ see http://shelled.sourceforge.net/ - + diff --git a/EclipseNodeIDE-0.4.p2f b/EclipseNodeIDE-0.4.p2f new file mode 100644 index 0000000..24a553a --- /dev/null +++ b/EclipseNodeIDE-0.4.p2f @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Enide-Eclipse-Bootstrap.p2f b/Enide-Eclipse-Bootstrap.p2f new file mode 100644 index 0000000..4679be9 --- /dev/null +++ b/Enide-Eclipse-Bootstrap.p2f @@ -0,0 +1,17 @@ + + + + + + + + + + + + diff --git a/Enide-NodeX-0.5.p2f b/Enide-NodeX-0.5.p2f new file mode 100644 index 0000000..1f28759 --- /dev/null +++ b/Enide-NodeX-0.5.p2f @@ -0,0 +1,178 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Enide-NodeX-0.6.p2f b/Enide-NodeX-0.6.p2f new file mode 100644 index 0000000..1d7efaa --- /dev/null +++ b/Enide-NodeX-0.6.p2f @@ -0,0 +1,195 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Enide-NodeX-0.7.p2f b/Enide-NodeX-0.7.p2f new file mode 100644 index 0000000..9e2855d --- /dev/null +++ b/Enide-NodeX-0.7.p2f @@ -0,0 +1,229 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Enide-NodeX-0.8.p2f b/Enide-NodeX-0.8.p2f new file mode 100644 index 0000000..d4c9033 --- /dev/null +++ b/Enide-NodeX-0.8.p2f @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Enide-NodeX.p2f b/Enide-NodeX.p2f new file mode 100644 index 0000000..9311d65 --- /dev/null +++ b/Enide-NodeX.p2f @@ -0,0 +1,239 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Hints-Aptana.md b/Hints-Aptana.md new file mode 100644 index 0000000..c41b74c --- /dev/null +++ b/Hints-Aptana.md @@ -0,0 +1,47 @@ + +[See other Hints](https://github.com/Nodeclipse/eclipse-node-ide/blob/master/Hints.md#hints) + +## Hints Aptana + +### Aptana Studio + +![Aptana-with-Nodeclipse.png](Pictures/Aptana-with-Nodeclipse.png) + +Before 0.4 was issue [#15 Support black background color schemes](https://github.com/Nodeclipse/nodeclipse-1/issues/15). +Could be walked around by installing [Eclipse Color Theme](http://marketplace.eclipse.org/content/eclipse-color-theme) + and changing theme to [Roboticket](http://eclipsecolorthemes.org/?view=theme&id=93) or other white background. +Window->Preferences->General->Appearance->Color Theme + +When debugging, the issue [#15](https://github.com/Nodeclipse/nodeclipse-1/issues/15) is still present, when Chromium Editor (JS Editor) is opened. +For your own sources be sure to use Nodeclipse Editor. + +Aptana uses also cannot simply install Nodeclipse plugin, as Aptana will not resolute to get required (since 0.4) JSDT dependency. +The first solution is provided in [Enide](http://marketplace.eclipse.org/content/enide-eclipse-nodejs-ide) is NJSDT (alternative to JSDT), + or manually from `https://bitbucket.org/nexj/updatesite/raw/default` for NJSDT+NJSDoc (thanks to @johnpeb) +The second solution is to install first JSDT from Eclipse Indigo update site `http://download.eclipse.org/releases/indigo` +(Juno and Kepler have conflicting dependency with Aptana Studio 3.4.2 +( ~~`http://download.eclipse.org/releases/juno` or `http://download.eclipse.org/releases/kepler`~~ ) ) +Effect of this is that you can't use latest JDST in Aptanta Studio. + +![Getting-JSDT.PNG](Pictures/Getting-JSDT.PNG) + +Or you can take [Nodeclipse NTS](http://www.nodeclipse.org/nts/) and add [Aptana plugins](http://aptana.com/downloads/start) + (Update Site URL: ). +Unfortunately you only can install the whole bunch of plugins (no options). + +![](Pictures/Aptana-plugin-installation.png) + +With this you have Aptana on top of Eclipse 4.x with latest plugins (EGit, JSDT etc) +But you will also need some time to configure UI (color themes and so on) + +#### Aptana CoffeeScript support + +Aptana has simple but nice Editor. No syntax check, but good outline. + +![](Pictures/Aptana-Coffee-Support.PNG) + +##### IDE Hints + +select two files and select Compare With -> Each OtherPreferences->General->Appearance->Color Theme - -When debugging, the issue [#15](https://github.com/Nodeclipse/nodeclipse-1/issues/15) is still present, when Chromium Editor (JS Editor) is opened. -For your own sources be sure to use Nodeclipse Editor. +Aptana Studio hints are now on [separate page Hints-Aptana.md](https://github.com/Nodeclipse/eclipse-node-ide/blob/master/Hints-Aptana.md#hints-aptana) -Aptana uses also cannot simply install Nodeclipse plugin, as Aptana will not resolute to get required (since 0.4) JSDT dependency. -The solution is provided in [Enide](http://marketplace.eclipse.org/content/enide-eclipse-nodejs-ide) is NJSDT (alternative to JSDT), - or manually from `https://bitbucket.org/nexj/updatesite/raw/default` for NJSDT+NJSDoc (thanks to @johnpeb) -The solution is also to install JSDT from Eclipse update site -`http://download.eclipse.org/releases/juno` or `http://download.eclipse.org/releases/kepler` +### Nodeclipse & Enide Studio -![Getting-JSDT.PNG](Pictures/Getting-JSDT.PNG) - -Or you can take [Nodeclipse NTS](http://www.nodeclipse.org/nts/) and add [Aptana plugins](http://aptana.com/downloads/start) - (Update Site URL: ). +Nodeclipse NTS is Eclipse distribution. +[Nodeclipse NTS](http://www.nodeclipse.org/nts/) currently is only for Windows. ## Select JVM for Eclipse instance @@ -52,6 +42,11 @@ Example: -Xms40m -Xmx512m +Using `jvm.dll` is [advised][1] to be faster: + + -vm + C:\Program Files\Java\jdk1.7.0_11\jre\bin\server\jvm.dll + ## Editors ### JavaScript Editors @@ -84,6 +79,39 @@ Code assist for some libraries and framework is provided as extensions, for exam ### CoffeeScript Editor +Check for intro about CoffeeScript. + +```coffeescript + # Assignment: + number = 42 + opposite = true + + # Conditions: + number = -42 if opposite + + # Functions: + square = (x) -> x * x + + # Arrays: + list = [1, 2, 3, 4, 5] + + # Objects: + math = + root: Math.sqrt + square: square + cube: (x) -> x * square x + + # Splats: + race = (winner, runners...) -> + print winner, runners + + # Existence: + alert "I knew it!" if elvis? + + # Array comprehensions: + cubes = (math.cube num for num in list) +``` + Use [CoffeeScriptSet.p2f](https://raw.github.com/Nodeclipse/eclipse-node-ide/master/CoffeeScriptSet.p2f) to [quickly install](http://marketplace.eclipse.org/content/coffeescript-editor-quick-installer). Warning: this plugin created by Adam Schmideg was not updated for a year. @@ -233,7 +261,13 @@ From [Eclipse Help](http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse. Eclipse Standard doesn't have HTML Editor included. -In order to get HTML Editor +In order to get HTML Editor + +- check Nodeclipse Plugin List plugin or HTML Editor (standard on Marketplace) + +or + +TODO update - for Kepler `http://download.eclipse.org/releases/kepler` update site, just select JSF Tools - Web Page Editor - for Juno `http://download.eclipse.org/releases/juno` update site, just select Web Page Editor @@ -241,3 +275,8 @@ In order to get HTML Editor http://download.eclipse.org/webtools/downloads/ is [not updated yet for Kepler](https://bugs.eclipse.org/bugs/show_bug.cgi?id=414373). ![](Pictures/Eclipse-File-Assotiation.png) + +## How-to's + +- + diff --git a/JavaScriptDefinitions/js-xml/AJAX.js b/JavaScriptDefinitions/js-xml/AJAX.js new file mode 100644 index 0000000..78a8e14 --- /dev/null +++ b/JavaScriptDefinitions/js-xml/AJAX.js @@ -0,0 +1,114 @@ +/** +@param {string} [sName] +@return {XMLHttpRequest} +*/ +window.ActiveXObject = function(sName) {}; + +/** +@static +@type {number} +@const +*/ +XMLHttpRequest.UNSENT = 0; +/** +@static +@type {number} +@const +*/ +XMLHttpRequest.OPENED = 1; +/** +@static +@type {number} +@const +*/ +XMLHttpRequest.HEADERS_RECEIVED = 2; +/** +@static +@type {number} +@const +*/ +XMLHttpRequest.LOADING = 3; +/** +@static +@type {number} +@const +*/ +XMLHttpRequest.DONE = 4; +/** +@type {Function} +*/ +Object.defineProperty(XMLHttpRequest, "onreadystatechange", { set: function(value) {} }); +/** +@type {number} +*/ +XMLHttpRequest.prototype.readyState = 0; +/** +@type {string} +@const +*/ +XMLHttpRequest.prototype.responseText = 0; +/** +@type {string} +@const +*/ +XMLHttpRequest.prototype.statusText = 0; +/** +@type {number} +@const +*/ +XMLHttpRequest.prototype.status = 0; +/** +@type {Document} +*/ +XMLHttpRequest.prototype.responseXML = 0; +/** +@param {...Object} [options] +@constructor +*/ +function XMLHttpRequest(options) {} +XMLHttpRequest.prototype.abort = function() {}; +/** +@return {string} +*/ +XMLHttpRequest.prototype.getAllResponseHeaders = function() {}; +/** +@param {string} headerName +@return {string} +*/ +XMLHttpRequest.prototype.getResponseHeader = function(headerName) {}; +/** +@param {string} method +@param {string} url +@param {boolean} [async] +@param {string} [user] +@param {string} [password] +*/ +XMLHttpRequest.prototype.open = function(method,url,async,user,password) {}; +/** +@param {String|ArrayBuffer|Blob|Document|FormData} [data] +*/ +XMLHttpRequest.prototype.send = function(data) {}; +/** +@param {string} header +@param {string} value +*/ +XMLHttpRequest.prototype.setRequestHeader = function(header,value) {}; + +/** +@static +@type {number} +@const +*/ +XMLHttpRequestException.NETWORK_ERR = 101; +/** +@static +@type {number} +@const +*/ +XMLHttpRequestException.ABORT_ERR = 102; +/** +@type {number} +@const +*/ +XMLHttpRequestException.prototype.code = 0; +XMLHttpRequestException = {}; diff --git a/JavaScriptDefinitions/js-xml/AJAX.xml b/JavaScriptDefinitions/js-xml/AJAX.xml new file mode 100644 index 0000000..f2e6305 --- /dev/null +++ b/JavaScriptDefinitions/js-xml/AJAX.xml @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/JavaScriptDefinitions/js-xml/DHTML.js b/JavaScriptDefinitions/js-xml/DHTML.js new file mode 100644 index 0000000..58dd400 --- /dev/null +++ b/JavaScriptDefinitions/js-xml/DHTML.js @@ -0,0 +1,3797 @@ +/** +@browser Gecko +@param {string} propertyName +@param func +*/ +Object.prototype.__defineGetter__ = function(propertyName,func) {}; +/** +@browser Gecko +@param {string} propertyName +@param func +*/ +Object.prototype.__defineSetter__ = function(propertyName,func) {}; +/** +@browser Gecko +@param {string} propertyName +@return {Function} +*/ +Object.prototype.__lookupGetter__ = function(propertyName) {}; +/** +@browser Gecko +@param {string} propertyName +@return {Function} +*/ +Object.prototype.__lookupSetter__ = function(propertyName) {}; +/** +@browser Gecko +@param {string} propertyName +@return {Function} +*/ +Object.prototype.__proto__ = function(propertyName) {}; +/** +@browser Gecko +@return {string} +*/ +Object.prototype.toSource = function() {}; +/** +@browser Gecko +@param {string} prop +@return {string} +*/ +Object.prototype.unwatch = function(prop) {}; +/** +@browser Gecko +@param {string} prop +@param {function} handler +@return {string} +*/ +Object.prototype.watch = function(prop,handler) {}; + +/** +@type {function} +*/ +Function.prototype.caller = 0; +Function = {}; + +Image = function() {}; +Image.constructor = 0; +Image.prototype = new HTMLImageElement(); + +/** +@type {string} +*/ +Navigator.prototype.userAgent = 0; +/** +@type {string} +*/ +Navigator.prototype.product = 0; +/** +@type {string} +*/ +Navigator.prototype.appVersion = 0; +/** +@type {string} +*/ +Navigator.prototype.appName = 0; +/** +@type {string} +*/ +Navigator.prototype.appCodeName = 0; +/** +@type {string} +*/ +Navigator.prototype.language = 0; +/** +@browser IE +@type {string} +*/ +Navigator.prototype.systemLanguage = 0; +/** +@browser IE +@type {string} +*/ +Navigator.prototype.userLanguage = 0; +/** +@type {Array} +*/ +Navigator.prototype.mimeTypes = 0; +/** +@type {string} +*/ +Navigator.prototype.platform = 0; +/** +@type {Array} +*/ +Navigator.prototype.plugins = 0; +/** +@type {boolean} +*/ +Navigator.prototype.onLine = 0; +/** +@type {boolean} +*/ +Navigator.prototype.cookieEnabled = 0; +/** +@return {boolean} +*/ +Navigator.prototype.taintEnabled = function() {}; +/** +@return {boolean} +*/ +Navigator.prototype.javaEnabled = function() {}; +/** +@param {string} prefName +@param {string} [prefValue] +@return {string} +*/ +Navigator.prototype.preference = function(prefName,prefValue) {}; +Navigator = {}; + +/** +@type {Number} +*/ +Screen.prototype.width = 0; +/** +@type {Number} +*/ +Screen.prototype.height = 0; +/** +@type {Number} +*/ +Screen.prototype.availHeight = 0; +/** +@type {Number} +*/ +Screen.prototype.availWidth = 0; +/** +@type {Number} +*/ +Screen.prototype.pixelDepth = 0; +/** +@type {Number} +*/ +Screen.prototype.colorDepth = 0; +Screen = {}; + +/** +@type {boolean} +*/ +Option.prototype.defaultSelected = 0; +/** +@type {boolean} +*/ +Option.prototype.selected = 0; +/** +@type {string} +*/ +Option.prototype.text = 0; +/** +@type {string} +*/ +Option.prototype.value = 0; +Option = {}; + +/** +@type {string} +*/ +Location.prototype.href = 0; +/** +@type {string} +*/ +Location.prototype.hash = 0; +/** +@type {string} +*/ +Location.prototype.port = 0; +/** +@type {string} +*/ +Location.prototype.host = 0; +/** +@type {string} +*/ +Location.prototype.hostname = 0; +/** +@type {string} +*/ +Location.prototype.pathname = 0; +/** +@type {string} +*/ +Location.prototype.protocol = 0; +/** +@type {string} +*/ +Location.prototype.search = 0; +/** +@type {string} +*/ +Location.prototype.target = 0; +/** +@param {boolean} [forceget] +@return {void} +*/ +Location.prototype.reload = function(forceget) {}; +/** +@param {string} url +@return {void} +*/ +Location.prototype.replace = function(url) {}; +Location = {}; + +XSLTProcessor = function() {}; +/** +@browser Gecko +*/ +XSLTProcessor.constructor = 0; +/** +@browser Gecko +@param {Node} domNode +*/ +XSLTProcessor.prototype.importStylesheet = function(domNode) {}; +/** +@browser Gecko +@param {Node} domNode +@return {Document} +*/ +XSLTProcessor.prototype.transformToDocument = function(domNode) {}; +/** +@browser Gecko +@param {Node} domToBeTransformed +@param {Document} ownerDocument +@return {DocumentFragment} +*/ +XSLTProcessor.prototype.transformToFragment = function(domToBeTransformed,ownerDocument) {}; + +DOMParser = function() {}; +/** +@browser Gecko +*/ +DOMParser.constructor = 0; +/** +@browser Gecko +@param {string} stringToParse +@param {string} contentType +@return {Document} +*/ +DOMParser.prototype.parseFromString = function(stringToParse,contentType) {}; + +XMLSerializer = function() {}; +/** +@browser Gecko +*/ +XMLSerializer.constructor = 0; +/** +@browser Gecko +@param {Document} domNode +@param {Object} stream +@param {string} encoding +*/ +XMLSerializer.prototype.serializeToStream = function(domNode,stream,encoding) {}; +/** +@browser Gecko +@param {Document} domNode +@return {string} +*/ +XMLSerializer.prototype.serializeToString = function(domNode) {}; + +/** +@type {Object[]} +*/ +Event.prototype.data = 0; +/** +@type {Number} +*/ +Event.prototype.height = 0; +/** +@browser IE +@type {Number} +*/ +Event.prototype.x = 0; +/** +@type {Number} +*/ +Event.prototype.screenX = 0; +/** +@type {Number} +*/ +Event.prototype.clientX = 0; +/** +@browser IE +@type {Number} +*/ +Event.prototype.offsetX = 0; +/** +@browser Gecko +@type {Number} +*/ +Event.prototype.layerX = 0; +/** +@browser IE +@type {Object} +*/ +Event.prototype.fromElement = 0; +/** +@browser IE +@type {Number} +*/ +Event.prototype.wheelDelta = 0; +/** +@browser IE +@type {boolean} +*/ +Event.prototype.repeat = 0; +/** +@type {Number} +*/ +Event.prototype.pageX = 0; +/** +@browser IE +@type {Number} +*/ +Event.prototype.y = 0; +/** +@type {Number} +*/ +Event.prototype.screenY = 0; +/** +@type {Number} +*/ +Event.prototype.clientY = 0; +/** +@browser IE +@type {Number} +*/ +Event.prototype.offsetY = 0; +/** +@browser Gecko +@type {Number} +*/ +Event.prototype.layerY = 0; +/** +@type {Number} +*/ +Event.prototype.pageY = 0; +/** +@type {Number} +*/ +Event.prototype.width = 0; +/** +@type {Number} +*/ +Event.prototype.modifiers = 0; +/** +@type {Number} +*/ +Event.prototype.keyCode = 0; +/** +@type {string} +*/ +Event.prototype.type = 0; +/** +@type {Object} +*/ +Event.prototype.which = 0; +/** +@browser IE +@type {Object} +*/ +Event.prototype.srcElement = 0; +/** +@browser IE +@type {Object} +*/ +Event.prototype.toElement = 0; +/** +@browser IE +@type {boolean} +*/ +Event.prototype.cancelBubble = 0; +/** +@browser IE +@type {boolean} +*/ +Event.prototype.returnValue = 0; +/** +@type {boolean} +*/ +Event.prototype.altKey = 0; +/** +@type {boolean} +*/ +Event.prototype.ctrlKey = 0; +/** +@type {boolean} +*/ +Event.prototype.shiftKey = 0; +/** +@type {boolean} +*/ +Event.prototype.button = 0; +/** +@browser Gecko +@type {string} +*/ +Event.prototype.charCode = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.ABORT = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.BLUR = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.CLICK = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.CHANGE = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.DBLCLICK = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.DRAGDROP = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.ERROR = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.FOCUS = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.KEYDOWN = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.KEYPRESS = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.KEYUP = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.LOAD = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.MOUSEDOWN = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.MOUSEMOVE = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.MOUSEOUT = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.MOUSEOVER = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.MOUSEUP = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.MOVE = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.RESET = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.RESIZE = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.SELECT = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.SUBMIT = 0; +/** +@browser Gecko +@type {Event} +@deprecated +*/ +Event.prototype.UNLOAD = 0; +Event = {}; + +/** +@browser Gecko +@type {Node} +*/ +Selection.prototype.anchorNode = 0; +/** +@browser Gecko +@type {Number} +*/ +Selection.prototype.anchorOffset = 0; +/** +@browser Gecko +@type {Node} +*/ +Selection.prototype.focusNode = 0; +/** +@browser Gecko +@type {Number} +*/ +Selection.prototype.focusOffset = 0; +/** +@browser Gecko +@type {boolean} +*/ +Selection.prototype.isCollapsed = 0; +/** +@browser Gecko +@type {Number} +*/ +Selection.prototype.rangeCount = 0; +/** +@browser IE +@type {string} +*/ +Selection.prototype.type = 0; +/** +@browser Gecko +@param {Number} index +@return {Range} +*/ +Selection.prototype.getRangeAt = function(index) {}; +/** +@browser Gecko +@param {Node} parentNode +@param {Number} offset +@return {void} +*/ +Selection.prototype.collapse = function(parentNode,offset) {}; +/** +@browser Gecko +@param {Node} parentNode +@param {Number} offset +@return {void} +*/ +Selection.prototype.extend = function(parentNode,offset) {}; +/** +@browser Gecko +@return {void} +*/ +Selection.prototype.collapseToStart = function() {}; +/** +@browser Gecko +@return {void} +*/ +Selection.prototype.collapseToEnd = function() {}; +/** +@browser Gecko +@param {Node} parentNode +@return {void} +*/ +Selection.prototype.selectAllChildren = function(parentNode) {}; +/** +@browser Gecko +@param {Range} range +@return {void} +*/ +Selection.prototype.addRange = function(range) {}; +/** +@browser Gecko +@param {Range} range +@return {void} +*/ +Selection.prototype.removeRange = function(range) {}; +/** +@browser Gecko +@return {void} +*/ +Selection.prototype.removeAllRanges = function() {}; +/** +@browser Gecko +@param {Node} node +@param {boolean} partlyContained +@return {boolean} +*/ +Selection.prototype.containsNode = function(node,partlyContained) {}; +/** +@browser IE +@return {boolean} +*/ +Selection.prototype.clear = function() {}; +/** +@browser IE +@return {boolean} +*/ +Selection.prototype.empty = function() {}; +/** +@browser IE +@return {TextRange} +*/ +Selection.prototype.createRange = function() {}; +Selection = {}; + +/** +@browser IE +@type {string} +*/ +TextRange.prototype.htmlText = 0; +/** +@browser IE +@type {string} +*/ +TextRange.prototype.text = 0; +/** +@browser IE +@type {Number} +*/ +TextRange.prototype.boundingWidth = 0; +/** +@browser IE +@type {Number} +*/ +TextRange.prototype.boundingHeight = 0; +/** +@browser IE +@type {Number} +*/ +TextRange.prototype.boundingLeft = 0; +/** +@browser IE +@type {Number} +*/ +TextRange.prototype.offsetLeft = 0; +/** +@browser IE +@type {Number} +*/ +TextRange.prototype.boundingTop = 0; +/** +@browser IE +@type {Number} +*/ +TextRange.prototype.offsetTop = 0; +/** +@browser IE +@return {string} +*/ +TextRange.prototype.getBookmark = function() {}; +/** +@browser IE +@param {string} [sBookmark] +@return {boolean} +*/ +TextRange.prototype.moveToBookmark = function(sBookmark) {}; +/** +@browser IE +@param {boolean} [start] +@return {void} +*/ +TextRange.prototype.collapse = function(start) {}; +/** +@browser IE +@param {string} [unit] +@return {void} +*/ +TextRange.prototype.expand = function(unit) {}; +/** +@browser IE +@return {TextRange} +*/ +TextRange.prototype.duplicate = function() {}; +/** +@browser IE +@return {void} +*/ +TextRange.prototype.select = function() {}; +/** +@browser IE +@return {Node} +*/ +TextRange.prototype.parentElement = function() {}; +/** +@browser IE +@param {TextRange} other +@return {boolean} +*/ +TextRange.prototype.inRange = function(other) {}; +/** +@browser IE +@param {TextRange} other +@return {boolean} +*/ +TextRange.prototype.isEqual = function(other) {}; +/** +@browser IE +@param {boolean} [start] +@return {void} +*/ +TextRange.prototype.scrollIntoView = function(start) {}; +/** +@browser IE +@param {string} type +@param {TextRange} range +@return {void} +*/ +TextRange.prototype.setEndPoint = function(type,range) {}; +/** +@browser IE +@param {string} type +@param {TextRange} range +@return {void} +*/ +TextRange.prototype.compareEndPoint = function(type,range) {}; +/** +@browser IE +@param {string} unit +@param {Number} [count] +@return {void} +*/ +TextRange.prototype.move = function(unit,count) {}; +/** +@browser IE +@param {string} unit +@param {Number} [count] +@return {void} +*/ +TextRange.prototype.moveStart = function(unit,count) {}; +/** +@browser IE +@param {string} unit +@param {Number} [count] +@return {void} +*/ +TextRange.prototype.moveEnd = function(unit,count) {}; +/** +@browser IE +@param {string} htmlText +@return {void} +*/ +TextRange.prototype.pasteHTML = function(htmlText) {}; +/** +@browser IE +@param {HTMLElement} [element] +@return {void} +*/ +TextRange.prototype.moveToElementText = function(element) {}; +/** +@browser IE +@param {string} [sType] +@param {TextRange} [oRange] +@return {Number} +*/ +TextRange.prototype.compareEndPoints = function(sType,oRange) {}; +TextRange = {}; + +/** +@browser IE +@type {Selection} +*/ +document.prototype.selection = 0; +/** +@browser IE +@type {Array} +*/ +document.prototype.namespaces = 0; +/** +@browser IE +@type {All} +*/ +document.prototype.all = 0; +/** +@browser IE +@param {string} sCommand +@param {boolean} [bUserInterface] +@param {*} [vValue] +@return {boolean} +*/ +document.prototype.execCommand = function(sCommand,bUserInterface,vValue) {}; +document = {}; + +/** +@type {string} +*/ +CssRule.prototype.selectorText = 0; +CssRule = {}; + +/** +@browser Gecko +@type {CssRule[]} +*/ +Stylesheet.prototype.cssRules = 0; +/** +@browser IE +@type {CssRule[]} +*/ +Stylesheet.prototype.rules = 0; +/** +@browser IE +@type {HtmlElement} +*/ +Stylesheet.prototype.owningElement = 0; +/** +@browser IE +@param {string} selector +@param {string} style +@param {Number} [index] +@return {void} +*/ +Stylesheet.prototype.addRule = function(selector,style,index) {}; +/** +@browser Gecko +@param {string} ruleText +@param {Number} index +@return {void} +*/ +Stylesheet.prototype.insertRule = function(ruleText,index) {}; +/** +@browser IE +@param {Number} index +@return {void} +*/ +Stylesheet.prototype.removeRule = function(index) {}; +/** +@browser Gecko +@param {Number} index +@return {void} +*/ +Stylesheet.prototype.deleteRule = function(index) {}; +Stylesheet = {}; + +/** +@browser Gecko +@param {string} title +@param {string} url +@param {string} param3 +@return {void} +*/ +MozillaSideBar.prototype.addPanel = function(title,url,param3) {}; +MozillaSideBar = {}; + +/** +@browser IE +@param {string} title +@param {string} [url] +@return {void} +*/ +IEExternal.prototype.AddFavorite = function(title,url) {}; +IEExternal = {}; + +/** +@return {void} +*/ +History.prototype.back = function() {}; +/** +@return {void} +*/ +History.prototype.forward = function() {}; +/** +@param {Number} count +@return {void} +*/ +History.prototype.go = function(count) {}; +History = {}; + +/** + * @interface + */ +function Console() {} +/** +@param {...*} message +*/ +Console.prototype.info = function(message) {}; +/** +@param {...*} message +*/ +Console.prototype.warn = function(message) {}; +/** +@param {...*} message +*/ +Console.prototype.error = function(message) {}; +/** +@param {...*} message +*/ +Console.prototype.log = function(message) {}; +/** +@param {...*} message +*/ +Console.prototype.dir = function(message) {}; +Console.prototype.group = function() {}; +Console.prototype.groupCollapsed = function() {}; +Console.prototype.groupEnd = function() {}; +Console.prototype.trace = function() {}; +/** +@param {string} timerName +*/ +Console.prototype.time = function(timerName) {}; +/** +@param {string} timerName +*/ +Console.prototype.timeEnd = function(timerName) {}; +Console.prototype.time = function() {}; + +/** +@typedef {window} +*/ +Window = {}; + +/** +@type {HTMLDocument} +@const +*/ +window.document = 0; +/** +@type {Event} +@const +*/ +window.event = 0; +/** +@type {Navigator} +@const +*/ +window.navigator = 0; +/** +@type {Screen} +@const +*/ +window.screen = 0; +/** +@type {Location|String} +*/ +window.location = 0; +/** +@type {Console} +*/ +window.console = 0; +/** +@type {Object} +*/ +window.frameElement = 0; +/** +@type {window} +*/ +window.opener = 0; +/** +@type {window} +*/ +window.window = 0; +/** +@type {window} +*/ +window.parent = 0; +/** +@type {window} +*/ +window.top = 0; +/** +@type {Object} +*/ +window.self = 0; +/** +@type {Array} +*/ +window.frames = 0; +/** +@type {Number} +*/ +window.innerHeight = 0; +/** +@type {Number} +*/ +window.innerWidth = 0; +/** +@type {Number} +*/ +window.outerHeight = 0; +/** +@type {Number} +*/ +window.outerWidth = 0; +/** +@browser IE +@type {Number} +*/ +window.screenLeft = 0; +/** +@browser IE +@type {Number} +*/ +window.screenTop = 0; +/** +@type {Number} +*/ +window.scrollX = 0; +/** +@type {Number} +*/ +window.scrollY = 0; +/** +@type {Number} +*/ +window.pageXOffset = 0; +/** +@type {Number} +*/ +window.pageYOffset = 0; +/** +@type {Number} +*/ +window.scrollMaxX = 0; +/** +@type {Number} +*/ +window.scrollMaxY = 0; +/** +@type {string} +*/ +window.status = 0; +/** +@type {string} +*/ +window.defaultStatus = 0; +/** +@type {Object} +*/ +window.toolbar = 0; +/** +@type {Object} +*/ +window.menubar = 0; +/** +@type {Object} +*/ +window.scrollbars = 0; +/** +@type {Object} +*/ +window.directories = 0; +/** +@type {History} +*/ +window.history = 0; +/** +@browser Gecko +@type {MozillaSideBar} +*/ +window.sidebar = 0; +/** +@browser IE +@type {IEExternal} +*/ +window.external = 0; +/** +@browser Opera +@type {boolean} +*/ +window.opera = 0; +/** +@browser ie +@type {ClipboardData} +@const +*/ +window.clipboardData = 0; +/** +@type {Function} +*/ +Object.defineProperty(window, "onload", { set: function(value) {} }); +/** +@type {Function} +*/ +Object.defineProperty(window, "onunload", { set: function(value) {} }); +/** +@browser Gecko +@return {Selection} +*/ +window.getSelection = function() {}; +/** +@param {string} [url] +@param {string} [windowName] +@param {string} [windowFeatures] +@param {boolean} [replace] +@return {window} +*/ +window.open = function(url,windowName,windowFeatures,replace) {}; +/** +@return {void} +*/ +window.close = function() {}; +/** +@return {void} +*/ +window.print = function() {}; +/** +@param {String|*} message +*/ +window.alert = function(message) {}; +/** +@param {string} encodedData +@return {string} +*/ +window.atob = function(encodedData) {}; +/** +@param {string} decodedData +@return {string} +*/ +window.btoa = function(decodedData) {}; +/** +@param {string} message +*/ +window.confirm = function(message) {}; +/** +@param {string} message +@param {string} [defaultValue] +*/ +window.prompt = function(message,defaultValue) {}; +/** +@param {number} intervalId +*/ +window.clearInterval = function(intervalId) {}; +/** +@param {number} intervalId +*/ +window.clearTimeout = function(intervalId) {}; +/** +@param {String|Function} code +@param {number} delay +@return {number} +*/ +window.setInterval = function(code,delay) {}; +/** +@param {String|Function} code +@param {number} delay +@return {number} +*/ +window.setTimeout = function(code,delay) {}; +/** +@browser Gecko +@param {Event} eventType +@return {void} +@deprecated +*/ +window.captureEvents = function(eventType) {}; +/** +@browser Gecko +@param {Event} eventType +@return {void} +@deprecated +*/ +window.releaseEvents = function(eventType) {}; +/** +@browser Gecko +@param {Event} event +@return {void} +@deprecated +*/ +window.routeEvent = function(event) {}; +/** +@browser Gecko +@param {Event} event +@return {void} +@deprecated +*/ +window.preventBubble = function(event) {}; +/** +@browser IE +@param {string} classOrPath +@param {string} [clazz] +@return {Object} +@deprecated +*/ +window.GetObject = function(classOrPath,clazz) {}; +/** +@browser IE +@return {string} +*/ +window.ScriptEngine = function() {}; +/** +@browser IE +@return {string} +*/ +window.ScriptEngineBuildVersion = function() {}; +/** +@browser IE +@return {string} +*/ +window.ScriptEngineMajorVersion = function() {}; +/** +@browser IE +@return {string} +*/ +window.ScriptEngineMinorVersion = function() {}; +/** +@param {Number} x +@param {Number} y +*/ +window.scrollTo = function(x,y) {}; +/** +@param {Number} xDelta +@param {Number} yDelta +*/ +window.scrollBy = function(xDelta,yDelta) {}; +/** +@param {Number} x +@param {Number} y +*/ +window.moveTo = function(x,y) {}; +/** +@param {Number} xDelta +@param {Number} yDelta +*/ +window.moveBy = function(xDelta,yDelta) {}; +/** +@param {Number} width +@param {Number} height +*/ +window.resizeTo = function(width,height) {}; +/** +@param {Number} widthDelta +@param {Number} heightDelta +*/ +window.resizeBy = function(widthDelta,heightDelta) {}; +/** +@browser Gecko +@param {Element} element +@param {string} pseudoElt +@return {CSSStyleDeclaration} +*/ +window.getComputedStyle = function(element,pseudoElt) {}; +/** +@browser IE +@param {string} sUrl +@param {Object|String|Number} [vArguments] +@param {string} [sFeatures] +@return {Object} +*/ +window.showModalDialog = function(sUrl,vArguments,sFeatures) {}; +/** +@browser IE +@param {string} type +@param {Function} listener +*/ +window.attachEvent = function(type,listener) {}; +/** +@browser IE +@param {string} type +@param {Function} listener +*/ +window.detachEvent = function(type,listener) {}; +/** +@browser Gecko +@param {string} type +@param {Function} listener +@param {boolean} [useCapture] +*/ +window.addEventListener = function(type,listener,useCapture) {}; +/** +@browser Gecko +@param {string} type +@param {Function} listener +@param {boolean} [useCapture] +*/ +window.removeEventListener = function(type,listener,useCapture) {}; +/** +@browser IE +@param {string} sScript +*/ +window.execScript = function(sScript) {}; +/** +@browser IE +*/ +window.CollectGarbage = function() {}; + +/** +@browser ie +@param {string} sDataFormat +@param {string} sData +@return {boolean} +*/ +ClipboardData.prototype.setData = function(sDataFormat,sData) {}; +/** +@browser ie +@param {string} sDataFormat +@return {string} +*/ +ClipboardData.prototype.getData = function(sDataFormat) {}; +/** +@browser ie +@param {string} [sDataFormat] +@return {boolean} +*/ +ClipboardData.prototype.clearData = function(sDataFormat) {}; +ClipboardData = {}; + +/** +@type {window} +@const +*/ +window = 0; +/** +@param {string} [str] +@deprecated +*/ +escape = function(str) {}; +/** +@param {string} [str] +@deprecated +*/ +unescape = function(str) {}; + +/** +@type {Number} +@const +*/ +HTMLCollection.prototype.length = 0; +/** +@param {Number} index +@return {Node} +*/ +HTMLCollection.prototype.item = function(index) {}; +/** +@param {string} name +@return {Node} +*/ +HTMLCollection.prototype.namedItem = function(name) {}; +HTMLCollection = {}; + +/** +@type {Number} +@const +*/ +HTMLOptionsCollection.prototype.length = 0; +/** +@param {number} index +@return {Node} +*/ +HTMLOptionsCollection.prototype.item = function(index) {}; +/** +@param {string} name +@return {Node} +*/ +HTMLOptionsCollection.prototype.namedItem = function(name) {}; +HTMLOptionsCollection = {}; + +/** +@type {string} +*/ +HTMLDocument.prototype.title = 0; +/** +@type {string} +@const +*/ +HTMLDocument.prototype.referrer = 0; +/** +@type {string} +@const +*/ +HTMLDocument.prototype.domain = 0; +/** +@type {string} +@const +*/ +HTMLDocument.prototype.URL = 0; +/** +@type {HTMLElement} +*/ +HTMLDocument.prototype.body = 0; +/** +@type {HTMLCollection} +@const +*/ +HTMLDocument.prototype.images = 0; +/** +@type {HTMLCollection} +@const +*/ +HTMLDocument.prototype.applets = 0; +/** +@type {HTMLCollection} +@const +*/ +HTMLDocument.prototype.links = 0; +/** +@type {HTMLCollection} +@const +*/ +HTMLDocument.prototype.forms = 0; +/** +@type {HTMLCollection} +@const +*/ +HTMLDocument.prototype.anchors = 0; +/** +@type {HTMLCollection} +*/ +HTMLDocument.prototype.cookie = 0; +/** +@type {Stylesheet[]} +@const +*/ +HTMLDocument.prototype.styleSheets = 0; +/** +@browser Gecko +@type {DocumentView} +*/ +HTMLDocument.prototype.defaultView = 0; +/** +@browser IE +@type {DocumentView} +*/ +HTMLDocument.prototype.activeElement = 0; +/** +@type {string} +*/ +HTMLDocument.prototype.compatMode = 0; +/** +@browser IE +@type {window} +*/ +HTMLDocument.prototype.parentWindow = 0; +/** +@browser Gecko +@type {CommandDispatcher} +*/ +HTMLDocument.prototype.commandDispatcher = 0; +/** +@browser IE +@type {Number} +*/ +HTMLDocument.prototype.documentMode = 0; +/** +@type {Function} +*/ +Object.defineProperty(HTMLDocument, "onload", { set: function(value) {} }); +/** +@type {Function} +*/ +Object.defineProperty(HTMLDocument, "onunload", { set: function(value) {} }); +HTMLDocument.prototype.open = function() {}; +HTMLDocument.prototype.close = function() {}; +/** +@param {string} text +*/ +HTMLDocument.prototype.write = function(text) {}; +/** +@param {string} text +*/ +HTMLDocument.prototype.writeln = function(text) {}; +/** +@param {string} elementName +@return {NodeList} +*/ +HTMLDocument.prototype.getElementsByName = function(elementName) {}; +/** +@browser Gecko +@param {string} className +@return {NodeList} +*/ +HTMLDocument.prototype.getElementsByClassName = function(className) {}; +/** +@browser IE +@param {string} [sUrl] +@param {Number} [iIndex] +@return {Stylesheet} +*/ +HTMLDocument.prototype.createStyleSheet = function(sUrl,iIndex) {}; +/** +@browser Gecko +@param {HTMLElement} element +@return {{x: Number, y: Number, width: Number, height: Number}} +@deprecated +*/ +HTMLDocument.prototype.getBoxObjectFor = function(element) {}; +/** +@param {string} selector +@return {NodeList} +*/ +HTMLDocument.prototype.querySelectorAll = function(selector) {}; +/** +@param {string} selector +@return {Node} +*/ +HTMLDocument.prototype.querySelector = function(selector) {}; +/** +@browser Gecko +@param {HTMLElement} node +@return {Node[]} +*/ +HTMLDocument.prototype.getAnonymousNodes = function(node) {}; +/** +@browser Gecko +@param {HTMLElement} node +@param {string} attrName +@param {string} attrValue +@return {NodeList} +*/ +HTMLDocument.prototype.getAnonymousElementByAttribute = function(node,attrName,attrValue) {}; +/** +@browser IE +@param {number} iX +@param {number} iY +@return {HTMLElement} +*/ +HTMLDocument.prototype.elementFromPoint = function(iX,iY) {}; +/** +@browser IE +@param {Event} [oExistingEvent] +@return {Event} +*/ +HTMLDocument.prototype.createEventObject = function(oExistingEvent) {}; +/** +@browser Gecko +@param {Event} eventType +@deprecated +*/ +HTMLDocument.prototype.captureEvents = function(eventType) {}; +/** +@browser Gecko +@param {Event} eventType +@deprecated +*/ +HTMLDocument.prototype.releaseEvents = function(eventType) {}; +/** +@browser Gecko +@param {Event} event +@deprecated +*/ +HTMLDocument.prototype.routeEvent = function(event) {}; +/** +@browser Gecko +@param {Event} event +@deprecated +*/ +HTMLDocument.prototype.preventBubble = function(event) {}; +HTMLDocument.prototype = new Document(); +HTMLDocument = {}; + +/** +@browser Gecko +@type {HTMLElement} +*/ +CommandDispatcher.prototype.focusedElement = 0; +CommandDispatcher = {}; + +AbstractView = {}; + +/** +@browser Gecko +@param {Node} element +@param {string} type +@return {CssStyle} +*/ +DocumentView.prototype.getComputedStyle = function(element,type) {}; +DocumentView.prototype = new AbstractView(); +DocumentView = {}; + +/** +@browser Gecko +@param {string} propertyName +@return {string} +*/ +CssStyle.prototype.getPropertyValue = function(propertyName) {}; +CssStyle = {}; + +/** +@type {string} +*/ +HTMLElement.prototype.outerHTML = 0; +/** +@type {string} +*/ +HTMLElement.prototype.id = 0; +/** +@type {string} +*/ +HTMLElement.prototype.title = 0; +/** +@type {string} +*/ +HTMLElement.prototype.lang = 0; +/** +@type {string} +*/ +HTMLElement.prototype.dir = 0; +/** +@type {string} +*/ +HTMLElement.prototype.className = 0; +/** +@browser IE +@type {HTMLElement[]} +*/ +HTMLElement.prototype.children = 0; +/** +@type {CSSStyleDeclaration} +*/ +HTMLElement.prototype.style = 0; +/** +@type {number} +*/ +HTMLElement.prototype.clientWidth = 0; +/** +@type {number} +*/ +HTMLElement.prototype.clientHeight = 0; +/** +@type {number} +*/ +HTMLElement.prototype.clientTop = 0; +/** +@type {number} +*/ +HTMLElement.prototype.clientLeft = 0; +/** +@type {string} +*/ +HTMLElement.prototype.innerHTML = 0; +/** +@browser IE +@type {string} +*/ +HTMLElement.prototype.innerText = 0; +/** +@type {number} +*/ +HTMLElement.prototype.offsetWidth = 0; +/** +@type {number} +*/ +HTMLElement.prototype.offsetHeight = 0; +/** +@type {number} +*/ +HTMLElement.prototype.offsetTop = 0; +/** +@type {number} +*/ +HTMLElement.prototype.offsetLeft = 0; +/** +@type {HTMLElement} +*/ +HTMLElement.prototype.offsetParent = 0; +/** +@type {number} +*/ +HTMLElement.prototype.scrollWidth = 0; +/** +@type {number} +*/ +HTMLElement.prototype.scrollHeight = 0; +/** +@type {number} +*/ +HTMLElement.prototype.scrollTop = 0; +/** +@type {number} +*/ +HTMLElement.prototype.scrollLeft = 0; +/** +@type {Stylesheet} +*/ +HTMLElement.prototype.stylesheet = 0; +/** +@browser IE +@type {number} +@const +*/ +HTMLElement.prototype.sourceIndex = 0; +/** +@type {Function} +*/ +Object.defineProperty(HTMLElement, "onblur", { set: function(value) {} }); +/** +@type {function():(void|Boolean)} +*/ +Object.defineProperty(HTMLElement, "onclick", { set: function(value) {} }); +/** +@type {Function} +*/ +Object.defineProperty(HTMLElement, "ondblclick", { set: function(value) {} }); +/** +@type {Function} +*/ +Object.defineProperty(HTMLElement, "onfocus", { set: function(value) {} }); +/** +@type {Function} +*/ +Object.defineProperty(HTMLElement, "onkeydown", { set: function(value) {} }); +/** +@type {Function} +*/ +Object.defineProperty(HTMLElement, "onkeyup", { set: function(value) {} }); +/** +@type {Function} +*/ +Object.defineProperty(HTMLElement, "onmouseup", { set: function(value) {} }); +/** +@type {Function} +*/ +Object.defineProperty(HTMLElement, "onmousedown", { set: function(value) {} }); +/** +@type {Function} +*/ +Object.defineProperty(HTMLElement, "onmouseout", { set: function(value) {} }); +/** +@type {Function} +*/ +Object.defineProperty(HTMLElement, "onmouseover", { set: function(value) {} }); +/** +@type {Function} +*/ +Object.defineProperty(HTMLElement, "onmousemove", { set: function(value) {} }); +/** +@type {Function} +*/ +Object.defineProperty(HTMLElement, "onresize", { set: function(value) {} }); +/** +@browser IE +@type {IEElementStyle} +*/ +HTMLElement.prototype.currentStyle = 0; +/** +@browser IE +@type {IEElementStyle} +*/ +HTMLElement.prototype.runtimeStyle = 0; +/** +@browser IE +@type {Array} +*/ +HTMLElement.prototype.filters = 0; +/** +@browser Gecko +@type {HTMLElement} +*/ +HTMLElement.prototype.boxObject = 0; +/** +@browser IE +@type {string} +*/ +HTMLElement.prototype.propertyName = 0; +/** +@browser IE +@type {boolean} +*/ +HTMLElement.prototype.isDisabled = 0; +/** +@browser IE +@param {string} position +@param {string} htmlContent +*/ +HTMLElement.prototype.insertAdjacentHTML = function(position,htmlContent) {}; +/** +@browser IE +@param {string} [sScrollAction] +*/ +HTMLElement.prototype.doScroll = function(sScrollAction) {}; +/** +@browser IE +@param {string} position +@param {string} textContent +*/ +HTMLElement.prototype.insertAdjacentText = function(position,textContent) {}; +/** +@browser IE +@param {string} type +@param {Function} listener +*/ +HTMLElement.prototype.attachEvent = function(type,listener) {}; +/** +@browser IE +@param {string} type +@param {Function} listener +*/ +HTMLElement.prototype.detachEvent = function(type,listener) {}; +/** +@browser IE +@param {string} type +@param {Event} [event] +*/ +HTMLElement.prototype.fireEvent = function(type,event) {}; +/** +@browser IE +@param {string} sUrl +@return {Number} +*/ +HTMLElement.prototype.addBehavior = function(sUrl) {}; +/** +@browser IE +@param {Number} sID +@return {boolean} +*/ +HTMLElement.prototype.removeBehavior = function(sID) {}; +/** +@browser IE +@return {ClientRect} +*/ +HTMLElement.prototype.getBoundingClientRect = function() {}; +/** +@browser Gecko +*/ +HTMLElement.prototype.showPopup = function() {}; +/** +@browser Gecko +*/ +HTMLElement.prototype.hidePopup = function() {}; +/** +@browser IE +@param {boolean} [bContainerCapture] +*/ +HTMLElement.prototype.setCapture = function(bContainerCapture) {}; +/** +@browser IE +*/ +HTMLElement.prototype.releaseCapture = function() {}; +/** +@browser IE +*/ +HTMLElement.prototype.clearAttributes = function() {}; +/** +@browser IE +@param {Object} [oSource] +@param {boolean} [bPreserve] +*/ +HTMLElement.prototype.mergeAttributes = function(oSource,bPreserve) {}; +HTMLElement.prototype = new Element(); +HTMLElement = {}; + +/** +@type {Number} +@const +*/ +ClientRect.prototype.bottom = 0; +/** +@type {Number} +@const +*/ +ClientRect.prototype.height = 0; +/** +@type {Number} +@const +*/ +ClientRect.prototype.left = 0; +/** +@type {Number} +@const +*/ +ClientRect.prototype.right = 0; +/** +@type {Number} +@const +*/ +ClientRect.prototype.top = 0; +/** +@type {Number} +@const +*/ +ClientRect.prototype.width = 0; +ClientRect = {}; + +/** +@type {string} +*/ +CSSStyleDeclaration.prototype.cssText = 0; +/** +@type {number} +*/ +CSSStyleDeclaration.prototype.length = 0; +/** +@type {CSSRule} +*/ +CSSStyleDeclaration.prototype.parentRule = 0; +/** +@param {string} propertyName +@return {CSSValue} +*/ +CSSStyleDeclaration.prototype.getPropertyCSSValue = function(propertyName) {}; +/** +@param {string} propertyName +@return {string} +*/ +CSSStyleDeclaration.prototype.getPropertyPriority = function(propertyName) {}; +/** +@param {string} propertyName +@return {string} +*/ +CSSStyleDeclaration.prototype.getPropertyValue = function(propertyName) {}; +/** +@param {Number} index +@return {string} +*/ +CSSStyleDeclaration.prototype.item = function(index) {}; +/** +@param {string} propertyName +@return {string} +*/ +CSSStyleDeclaration.prototype.removeProperty = function(propertyName) {}; +/** +@param {string} propertyName +@param {string} value +@param {string} priority +@return {void} +*/ +CSSStyleDeclaration.prototype.setProperty = function(propertyName,value,priority) {}; +CSSStyleDeclaration = {}; + +/** +@static +@type {number} +@const +*/ +CSSRule.STYLE_RULE = 1; +/** +@static +@type {number} +@const +*/ +CSSRule.MEDIA_RULE = 4; +/** +@static +@type {number} +@const +*/ +CSSRule.FONT_FACE_RULE = 5; +/** +@static +@type {number} +@const +*/ +CSSRule.PAGE_RULE = 6; +/** +@static +@type {number} +@const +*/ +CSSRule.IMPORT_RULE = 3; +/** +@static +@type {number} +@const +*/ +CSSRule.CHARSET_RULE = 2; +/** +@static +@type {number} +@const +*/ +CSSRule.UNKNOWN_RULE = 0; +/** +@static +@type {number} +@const +*/ +CSSRule.KEYFRAMES_RULE = 7; +/** +@static +@type {number} +@const +*/ +CSSRule.KEYFRAME_RULE = 8; +/** +@static +@type {number} +@const +*/ +CSSRule.NAMESPACE_RULE = 10; +/** +@static +@type {number} +@const +*/ +CSSRule.COUNTER_STYLE_RULE = 11; +/** +@static +@type {number} +@const +*/ +CSSRule.SUPPORTS_RULE = 12; +/** +@static +@type {number} +@const +*/ +CSSRule.DOCUMENT_RULE = 13; +/** +@static +@type {number} +@const +*/ +CSSRule.FONT_FEATURE_VALUES_RULE = 14; +/** +@static +@type {number} +@const +*/ +CSSRule.VIEWPORT_RULE = 15; +/** +@static +@type {number} +@const +*/ +CSSRule.REGION_STYLE_RULE = 16; +/** +@type {string} +*/ +CSSRule.prototype.cssText = 0; +/** +@type {CSSRule} +*/ +CSSRule.prototype.parentRule = 0; +/** +@type {CSSStyleSheet} +*/ +CSSRule.prototype.parentStyleSheet = 0; +/** +@type {number} +*/ +CSSRule.prototype.type = 0; +CSSRule = {}; + +/** +@static +@type {number} +@const +*/ +CSSValue.CSS_INHERIT = 0; +/** +@static +@type {number} +@const +*/ +CSSValue.CSS_PRIMITIVE_VALUE = 1; +/** +@static +@type {number} +@const +*/ +CSSValue.CSS_VALUE_LIST = 2; +/** +@static +@type {number} +@const +*/ +CSSValue.CSS_CUSTOM = 3; +/** +@type {string} +*/ +CSSValue.prototype.cssText = 0; +/** +@type {number} +*/ +CSSValue.prototype.cssValueType = 0; +CSSValue = {}; + +/** +@type {CSSRule[]} +@const +*/ +CSSStyleSheet.prototype.cssRules = 0; +/** +@type {CSSImportRule} +@const +*/ +CSSStyleSheet.prototype.ownerRule = 0; +/** +@param {string} rule +@param {number} index +*/ +CSSStyleSheet.prototype.insertRule = function(rule,index) {}; +/** +@param {number} index +*/ +CSSStyleSheet.prototype.deleteRule = function(index) {}; +CSSStyleSheet = {}; + +/** +@type {string} +*/ +CSSImportRule.prototype.href = 0; +/** +@type {Object} +*/ +CSSImportRule.prototype.media = 0; +/** +@type {CSSStyleSheet} +*/ +CSSImportRule.prototype.styleSheet = 0; +/** +@type {CSSStyleSheet} +*/ +CSSImportRule.prototype.styleSheet = 0; +CSSImportRule = {}; + +/** +@browser IE +@type {boolean} +*/ +IEElementStyle.prototype.hasLayout = 0; +IEElementStyle.prototype = new CSSStyleDeclaration(); +IEElementStyle = {}; + +/** +@type {string} +*/ +HTMLHtmlElement.prototype.version = 0; +HTMLHtmlElement.prototype = new HTMLElement(); +HTMLHtmlElement = {}; + +/** +@type {string} +*/ +HTMLHeadElement.prototype.profile = 0; +HTMLHeadElement.prototype = new HTMLElement(); +HTMLHeadElement = {}; + +/** +@type {boolean} +*/ +HTMLLinkElement.prototype.disabled = 0; +/** +@type {string} +*/ +HTMLLinkElement.prototype.charset = 0; +/** +@type {string} +*/ +HTMLLinkElement.prototype.href = 0; +/** +@type {string} +*/ +HTMLLinkElement.prototype.hreflang = 0; +/** +@type {string} +*/ +HTMLLinkElement.prototype.media = 0; +/** +@type {string} +*/ +HTMLLinkElement.prototype.rel = 0; +/** +@type {string} +*/ +HTMLLinkElement.prototype.rev = 0; +/** +@type {string} +*/ +HTMLLinkElement.prototype.target = 0; +/** +@type {string} +*/ +HTMLLinkElement.prototype.type = 0; +HTMLLinkElement.prototype = new HTMLElement(); +HTMLLinkElement = {}; + +/** +@type {string} +*/ +HTMLTitleElement.prototype.text = 0; +HTMLTitleElement.prototype = new HTMLElement(); +HTMLTitleElement = {}; + +/** +@type {string} +*/ +HTMLMetaElement.prototype.content = 0; +/** +@type {string} +*/ +HTMLMetaElement.prototype.httpEquiv = 0; +/** +@type {string} +*/ +HTMLMetaElement.prototype.name = 0; +/** +@type {string} +*/ +HTMLMetaElement.prototype.scheme = 0; +HTMLMetaElement.prototype = new HTMLElement(); +HTMLMetaElement = {}; + +/** +@type {string} +*/ +HTMLBaseElement.prototype.href = 0; +/** +@type {string} +*/ +HTMLBaseElement.prototype.target = 0; +HTMLBaseElement.prototype = new HTMLElement(); +HTMLBaseElement = {}; + +/** +@type {HTMLFormElement} +@const +*/ +HTMLIsIndexElement.prototype.form = 0; +/** +@type {string} +*/ +HTMLIsIndexElement.prototype.prompt = 0; +HTMLIsIndexElement.prototype = new HTMLElement(); +HTMLIsIndexElement = {}; + +/** +@type {boolean} +*/ +HTMLStyleElement.prototype.disabled = 0; +/** +@type {string} +*/ +HTMLStyleElement.prototype.media = 0; +/** +@type {string} +*/ +HTMLStyleElement.prototype.type = 0; +/** +@browser IE +@type {Stylesheet} +*/ +HTMLStyleElement.prototype.styleSheet = 0; +HTMLStyleElement.prototype = new HTMLElement(); +HTMLStyleElement = {}; + +/** +@type {string} +*/ +HTMLBodyElement.prototype.aLink = 0; +/** +@type {string} +*/ +HTMLBodyElement.prototype.background = 0; +/** +@type {string} +*/ +HTMLBodyElement.prototype.bgColor = 0; +/** +@type {string} +*/ +HTMLBodyElement.prototype.link = 0; +/** +@type {string} +*/ +HTMLBodyElement.prototype.text = 0; +/** +@type {string} +*/ +HTMLBodyElement.prototype.vLink = 0; +/** +@type {Function} +*/ +Object.defineProperty(HTMLBodyElement, "onload", { set: function(value) {} }); +/** +@type {Function} +*/ +Object.defineProperty(HTMLBodyElement, "onunload", { set: function(value) {} }); +HTMLBodyElement.prototype = new HTMLElement(); +HTMLBodyElement = {}; + +/** +@type {HTMLCollection} +@const +*/ +HTMLFormElement.prototype.elements = 0; +/** +@type {Number} +@const +*/ +HTMLFormElement.prototype.length = 0; +/** +@type {string} +*/ +HTMLFormElement.prototype.name = 0; +/** +@type {string} +*/ +HTMLFormElement.prototype.acceptCharset = 0; +/** +@type {string} +*/ +HTMLFormElement.prototype.action = 0; +/** +@type {string} +*/ +HTMLFormElement.prototype.enctype = 0; +/** +@type {string} +*/ +HTMLFormElement.prototype.method = 0; +/** +@type {string} +*/ +HTMLFormElement.prototype.target = 0; +HTMLFormElement.prototype.submit = function() {}; +HTMLFormElement.prototype.reset = function() {}; +HTMLFormElement.prototype = new HTMLElement(); +HTMLFormElement = {}; + +/** +@type {string} +@const +*/ +HTMLSelectElement.prototype.type = 0; +/** +@type {Number} +*/ +HTMLSelectElement.prototype.selectedIndex = 0; +/** +@type {string} +*/ +HTMLSelectElement.prototype.value = 0; +/** +@type {Number} +*/ +HTMLSelectElement.prototype.length = 0; +/** +@type {HTMLFormElement} +@const +*/ +HTMLSelectElement.prototype.form = 0; +/** +@type {HTMLOptionsCollection} +@const +*/ +HTMLSelectElement.prototype.options = 0; +/** +@type {boolean} +*/ +HTMLSelectElement.prototype.disabled = 0; +/** +@type {boolean} +*/ +HTMLSelectElement.prototype.multiple = 0; +/** +@type {string} +*/ +HTMLSelectElement.prototype.name = 0; +/** +@type {Number} +*/ +HTMLSelectElement.prototype.size = 0; +/** +@type {Number} +*/ +HTMLSelectElement.prototype.tabIndex = 0; +/** +@param {HTMLElement} element +@param {HTMLElement} before +*/ +HTMLSelectElement.prototype.add = function(element,before) {}; +/** +@param {Number} index +*/ +HTMLSelectElement.prototype.remove = function(index) {}; +HTMLSelectElement.prototype.blur = function() {}; +HTMLSelectElement.prototype.focus = function() {}; +HTMLSelectElement.prototype = new HTMLElement(); +HTMLSelectElement = {}; + +/** +@type {boolean} +*/ +HTMLOptGroupElement.prototype.disabled = 0; +/** +@type {string} +*/ +HTMLOptGroupElement.prototype.label = 0; +HTMLOptGroupElement.prototype = new HTMLElement(); +HTMLOptGroupElement = {}; + +/** +@type {HTMLFormElement} +@const +*/ +HTMLOptionElement.prototype.form = 0; +/** +@type {boolean} +*/ +HTMLOptionElement.prototype.defaultSelected = 0; +/** +@type {string} +*/ +HTMLOptionElement.prototype.text = 0; +/** +@type {Number} +*/ +HTMLOptionElement.prototype.index = 0; +/** +@type {boolean} +*/ +HTMLOptionElement.prototype.disabled = 0; +/** +@type {string} +*/ +HTMLOptionElement.prototype.label = 0; +/** +@type {boolean} +*/ +HTMLOptionElement.prototype.selected = 0; +/** +@type {string} +*/ +HTMLOptionElement.prototype.value = 0; +HTMLOptionElement.prototype = new HTMLElement(); +HTMLOptionElement = {}; + +/** +@type {string} +*/ +HTMLInputElement.prototype.defaultValue = 0; +/** +@type {boolean} +*/ +HTMLInputElement.prototype.defaultChecked = 0; +/** +@type {HTMLFormElement} +@const +*/ +HTMLInputElement.prototype.form = 0; +/** +@type {string} +*/ +HTMLInputElement.prototype.accept = 0; +/** +@type {string} +*/ +HTMLInputElement.prototype.accessKey = 0; +/** +@type {string} +*/ +HTMLInputElement.prototype.align = 0; +/** +@type {string} +*/ +HTMLInputElement.prototype.alt = 0; +/** +@type {boolean} +*/ +HTMLInputElement.prototype.checked = 0; +/** +@type {boolean} +*/ +HTMLInputElement.prototype.disabled = 0; +/** +@type {Number} +*/ +HTMLInputElement.prototype.maxLength = 0; +/** +@type {string} +*/ +HTMLInputElement.prototype.name = 0; +/** +@type {boolean} +*/ +HTMLInputElement.prototype.readOnly = 0; +/** +@type {Number} +*/ +HTMLInputElement.prototype.size = 0; +/** +@type {string} +*/ +HTMLInputElement.prototype.src = 0; +/** +@type {Number} +*/ +HTMLInputElement.prototype.tabIndex = 0; +/** +@type {string} +*/ +HTMLInputElement.prototype.type = 0; +/** +@type {string} +*/ +HTMLInputElement.prototype.useMap = 0; +/** +@type {string} +*/ +HTMLInputElement.prototype.value = 0; +/** +@type {Number} +*/ +HTMLInputElement.prototype.selectionStart = 0; +/** +@type {Number} +*/ +HTMLInputElement.prototype.selectionEnd = 0; +HTMLInputElement.prototype.blur = function() {}; +HTMLInputElement.prototype.focus = function() {}; +HTMLInputElement.prototype.select = function() {}; +HTMLInputElement.prototype.click = function() {}; +/** +@browser Gecko +@param {Number} [start] +@param {Number} [end] +*/ +HTMLInputElement.prototype.setSelectionRange = function(start,end) {}; +/** +@browser IE +@return {TextRange} +*/ +HTMLInputElement.prototype.createTextRange = function() {}; +HTMLInputElement.prototype = new HTMLElement(); +HTMLInputElement = {}; + +/** +@type {string} +*/ +HTMLTextAreaElement.prototype.defaultValue = 0; +/** +@type {HTMLFormElement} +@const +*/ +HTMLTextAreaElement.prototype.form = 0; +/** +@type {string} +*/ +HTMLTextAreaElement.prototype.accessKey = 0; +/** +@type {Number} +*/ +HTMLTextAreaElement.prototype.cols = 0; +/** +@type {boolean} +*/ +HTMLTextAreaElement.prototype.disabled = 0; +/** +@type {string} +*/ +HTMLTextAreaElement.prototype.name = 0; +/** +@type {boolean} +*/ +HTMLTextAreaElement.prototype.readOnly = 0; +/** +@type {Number} +*/ +HTMLTextAreaElement.prototype.rows = 0; +/** +@type {Number} +*/ +HTMLTextAreaElement.prototype.tabIndex = 0; +/** +@type {string} +*/ +HTMLTextAreaElement.prototype.type = 0; +/** +@type {string} +*/ +HTMLTextAreaElement.prototype.value = 0; +HTMLTextAreaElement.prototype.blur = function() {}; +HTMLTextAreaElement.prototype.focus = function() {}; +HTMLTextAreaElement.prototype.select = function() {}; +HTMLTextAreaElement.prototype = new HTMLElement(); +HTMLTextAreaElement = {}; + +/** +@type {HTMLFormElement} +@const +*/ +HTMLButtonElement.prototype.form = 0; +/** +@type {string} +*/ +HTMLButtonElement.prototype.accessKey = 0; +/** +@type {boolean} +*/ +HTMLButtonElement.prototype.disabled = 0; +/** +@type {string} +*/ +HTMLButtonElement.prototype.name = 0; +/** +@type {Number} +*/ +HTMLButtonElement.prototype.tabIndex = 0; +/** +@type {string} +*/ +HTMLButtonElement.prototype.type = 0; +/** +@type {string} +*/ +HTMLButtonElement.prototype.value = 0; +HTMLButtonElement.prototype = new HTMLElement(); +HTMLButtonElement = {}; + +/** +@type {HTMLFormElement} +@const +*/ +HTMLLabelElement.prototype.form = 0; +/** +@type {string} +*/ +HTMLLabelElement.prototype.accessKey = 0; +/** +@type {string} +*/ +HTMLLabelElement.prototype.htmlFor = 0; +HTMLLabelElement.prototype = new HTMLElement(); +HTMLLabelElement = {}; + +/** +@type {HTMLFormElement} +@const +*/ +HTMLFieldSetElement.prototype.form = 0; +HTMLFieldSetElement.prototype = new HTMLElement(); +HTMLFieldSetElement = {}; + +/** +@type {HTMLFormElement} +@const +*/ +HTMLLegendElement.prototype.form = 0; +/** +@type {string} +*/ +HTMLLegendElement.prototype.accessKey = 0; +/** +@type {string} +*/ +HTMLLegendElement.prototype.align = 0; +HTMLLegendElement.prototype = new HTMLElement(); +HTMLLegendElement = {}; + +/** +@type {boolean} +*/ +HTMLUListElement.prototype.compact = 0; +/** +@type {string} +*/ +HTMLUListElement.prototype.type = 0; +HTMLUListElement.prototype = new HTMLElement(); +HTMLUListElement = {}; + +/** +@type {boolean} +*/ +HTMLOListElement.prototype.compact = 0; +/** +@type {Number} +*/ +HTMLOListElement.prototype.start = 0; +/** +@type {string} +*/ +HTMLOListElement.prototype.type = 0; +HTMLOListElement.prototype = new HTMLElement(); +HTMLOListElement = {}; + +/** +@type {boolean} +*/ +HTMLDListElement.prototype.compact = 0; +HTMLDListElement.prototype = new HTMLElement(); +HTMLDListElement = {}; + +/** +@type {boolean} +*/ +HTMLDirectoryElement.prototype.compact = 0; +HTMLDirectoryElement.prototype = new HTMLElement(); +HTMLDirectoryElement = {}; + +/** +@type {boolean} +*/ +HTMLMenuElement.prototype.compact = 0; +HTMLMenuElement.prototype = new HTMLElement(); +HTMLMenuElement = {}; + +/** +@type {string} +*/ +HTMLLIElement.prototype.type = 0; +/** +@type {Number} +*/ +HTMLLIElement.prototype.value = 0; +HTMLLIElement.prototype = new HTMLElement(); +HTMLLIElement = {}; + +/** +@type {string} +*/ +HTMLDivElement.prototype.align = 0; +HTMLDivElement.prototype = new HTMLElement(); +HTMLDivElement = {}; + +/** +@type {string} +*/ +HTMLParagraphElement.prototype.align = 0; +HTMLParagraphElement.prototype = new HTMLElement(); +HTMLParagraphElement = {}; + +/** +@type {string} +*/ +HTMLHeadingElement.prototype.align = 0; +HTMLHeadingElement.prototype = new HTMLElement(); +HTMLHeadingElement = {}; + +/** +@type {string} +*/ +HTMLQuoteElement.prototype.cite = 0; +HTMLQuoteElement.prototype = new HTMLElement(); +HTMLQuoteElement = {}; + +/** +@type {Number} +*/ +HTMLPreElement.prototype.width = 0; +HTMLPreElement.prototype = new HTMLElement(); +HTMLPreElement = {}; + +/** +@type {string} +*/ +HTMLBRElement.prototype.clear = 0; +HTMLBRElement.prototype = new HTMLElement(); +HTMLBRElement = {}; + +/** +@type {string} +*/ +HTMLBaseFontElement.prototype.color = 0; +/** +@type {string} +*/ +HTMLBaseFontElement.prototype.face = 0; +/** +@type {Number} +*/ +HTMLBaseFontElement.prototype.size = 0; +HTMLBaseFontElement.prototype = new HTMLElement(); +HTMLBaseFontElement = {}; + +/** +@type {string} +*/ +HTMLFontElement.prototype.color = 0; +/** +@type {string} +*/ +HTMLFontElement.prototype.face = 0; +/** +@type {string} +*/ +HTMLFontElement.prototype.size = 0; +HTMLFontElement.prototype = new HTMLElement(); +HTMLFontElement = {}; + +/** +@type {string} +*/ +HTMLHRElement.prototype.align = 0; +/** +@type {boolean} +*/ +HTMLHRElement.prototype.noShade = 0; +/** +@type {string} +*/ +HTMLHRElement.prototype.size = 0; +/** +@type {string} +*/ +HTMLHRElement.prototype.width = 0; +HTMLHRElement.prototype = new HTMLElement(); +HTMLHRElement = {}; + +/** +@type {string} +*/ +HTMLModElement.prototype.cite = 0; +/** +@type {string} +*/ +HTMLModElement.prototype.dateTime = 0; +HTMLModElement.prototype = new HTMLElement(); +HTMLModElement = {}; + +/** +@type {string} +*/ +HTMLAnchorElement.prototype.accessKey = 0; +/** +@type {string} +*/ +HTMLAnchorElement.prototype.charset = 0; +/** +@type {string} +*/ +HTMLAnchorElement.prototype.coords = 0; +/** +@type {string} +*/ +HTMLAnchorElement.prototype.href = 0; +/** +@type {string} +*/ +HTMLAnchorElement.prototype.hreflang = 0; +/** +@type {string} +*/ +HTMLAnchorElement.prototype.name = 0; +/** +@type {string} +*/ +HTMLAnchorElement.prototype.rel = 0; +/** +@type {string} +*/ +HTMLAnchorElement.prototype.rev = 0; +/** +@type {string} +*/ +HTMLAnchorElement.prototype.shape = 0; +/** +@type {Number} +*/ +HTMLAnchorElement.prototype.tabIndex = 0; +/** +@type {string} +*/ +HTMLAnchorElement.prototype.target = 0; +/** +@type {string} +*/ +HTMLAnchorElement.prototype.type = 0; +HTMLAnchorElement.prototype.blur = function() {}; +HTMLAnchorElement.prototype.focus = function() {}; +HTMLAnchorElement.prototype = new HTMLElement(); +HTMLAnchorElement = {}; + +/** +@type {string} +*/ +HTMLImageElement.prototype.name = 0; +/** +@type {string} +*/ +HTMLImageElement.prototype.align = 0; +/** +@type {string} +*/ +HTMLImageElement.prototype.alt = 0; +/** +@type {string} +*/ +HTMLImageElement.prototype.border = 0; +/** +@type {Number} +*/ +HTMLImageElement.prototype.height = 0; +/** +@type {Number} +*/ +HTMLImageElement.prototype.hspace = 0; +/** +@type {boolean} +*/ +HTMLImageElement.prototype.isMap = 0; +/** +@type {string} +*/ +HTMLImageElement.prototype.longDesc = 0; +/** +@type {string} +*/ +HTMLImageElement.prototype.src = 0; +/** +@type {string} +*/ +HTMLImageElement.prototype.useMap = 0; +/** +@type {Number} +*/ +HTMLImageElement.prototype.vspace = 0; +/** +@type {Number} +*/ +HTMLImageElement.prototype.width = 0; +/** +@type {Function} +*/ +Object.defineProperty(HTMLImageElement, "onload", { set: function(value) {} }); +/** +@type {Function} +*/ +Object.defineProperty(HTMLImageElement, "onunload", { set: function(value) {} }); +HTMLImageElement.prototype = new HTMLElement(); +HTMLImageElement = {}; + +/** +@type {HTMLFormElement} +@const +*/ +HTMLObjectElement.prototype.form = 0; +/** +@type {string} +*/ +HTMLObjectElement.prototype.code = 0; +/** +@type {string} +*/ +HTMLObjectElement.prototype.align = 0; +/** +@type {string} +*/ +HTMLObjectElement.prototype.archive = 0; +/** +@type {string} +*/ +HTMLObjectElement.prototype.border = 0; +/** +@type {string} +*/ +HTMLObjectElement.prototype.codeBase = 0; +/** +@type {string} +*/ +HTMLObjectElement.prototype.codeType = 0; +/** +@type {string} +*/ +HTMLObjectElement.prototype.data = 0; +/** +@type {boolean} +*/ +HTMLObjectElement.prototype.declare = 0; +/** +@type {string} +*/ +HTMLObjectElement.prototype.height = 0; +/** +@type {Number} +*/ +HTMLObjectElement.prototype.hspace = 0; +/** +@type {string} +*/ +HTMLObjectElement.prototype.name = 0; +/** +@type {string} +*/ +HTMLObjectElement.prototype.standby = 0; +/** +@type {Number} +*/ +HTMLObjectElement.prototype.tabIndex = 0; +/** +@type {string} +*/ +HTMLObjectElement.prototype.type = 0; +/** +@type {string} +*/ +HTMLObjectElement.prototype.useMap = 0; +/** +@type {Number} +*/ +HTMLObjectElement.prototype.vspace = 0; +/** +@type {string} +*/ +HTMLObjectElement.prototype.width = 0; +/** +@type {Document} +@const +*/ +HTMLObjectElement.prototype.contentDocument = 0; +HTMLObjectElement.prototype = new HTMLElement(); +HTMLObjectElement = {}; + +/** +@type {string} +*/ +HTMLParamElement.prototype.name = 0; +/** +@type {string} +*/ +HTMLParamElement.prototype.type = 0; +/** +@type {string} +*/ +HTMLParamElement.prototype.value = 0; +/** +@type {string} +*/ +HTMLParamElement.prototype.valueType = 0; +HTMLParamElement.prototype = new HTMLElement(); +HTMLParamElement = {}; + +/** +@type {string} +*/ +HTMLAppletElement.prototype.align = 0; +/** +@type {string} +*/ +HTMLAppletElement.prototype.alt = 0; +/** +@type {string} +*/ +HTMLAppletElement.prototype.archive = 0; +/** +@type {string} +*/ +HTMLAppletElement.prototype.code = 0; +/** +@type {string} +*/ +HTMLAppletElement.prototype.codeBase = 0; +/** +@type {string} +*/ +HTMLAppletElement.prototype.height = 0; +/** +@type {Number} +*/ +HTMLAppletElement.prototype.hspace = 0; +/** +@type {string} +*/ +HTMLAppletElement.prototype.name = 0; +/** +@type {string} +*/ +HTMLAppletElement.prototype.object = 0; +/** +@type {Number} +*/ +HTMLAppletElement.prototype.vspace = 0; +/** +@type {string} +*/ +HTMLAppletElement.prototype.width = 0; +HTMLAppletElement.prototype = new HTMLElement(); +HTMLAppletElement = {}; + +/** +@type {HTMLCollection} +@const +*/ +HTMLMapElement.prototype.areas = 0; +/** +@type {string} +*/ +HTMLMapElement.prototype.name = 0; +HTMLMapElement.prototype = new HTMLElement(); +HTMLMapElement = {}; + +/** +@type {string} +*/ +HTMLAreaElement.prototype.accessKey = 0; +/** +@type {string} +*/ +HTMLAreaElement.prototype.alt = 0; +/** +@type {string} +*/ +HTMLAreaElement.prototype.coords = 0; +/** +@type {string} +*/ +HTMLAreaElement.prototype.href = 0; +/** +@type {boolean} +*/ +HTMLAreaElement.prototype.noHref = 0; +/** +@type {string} +*/ +HTMLAreaElement.prototype.shape = 0; +/** +@type {Number} +*/ +HTMLAreaElement.prototype.tabIndex = 0; +/** +@type {string} +*/ +HTMLAreaElement.prototype.target = 0; +HTMLAreaElement.prototype = new HTMLElement(); +HTMLAreaElement = {}; + +/** +@type {string} +*/ +HTMLScriptElement.prototype.text = 0; +/** +@type {string} +*/ +HTMLScriptElement.prototype.htmlFor = 0; +/** +@type {string} +*/ +HTMLScriptElement.prototype.event = 0; +/** +@type {string} +*/ +HTMLScriptElement.prototype.charset = 0; +/** +@type {boolean} +*/ +HTMLScriptElement.prototype.defer = 0; +/** +@type {string} +*/ +HTMLScriptElement.prototype.src = 0; +/** +@type {string} +*/ +HTMLScriptElement.prototype.type = 0; +HTMLScriptElement.prototype = new HTMLElement(); +HTMLScriptElement = {}; + +/** +@type {HTMLTableCaptionElement} +*/ +HTMLTableElement.prototype.caption = 0; +/** +@type {HTMLTableSectionElement} +*/ +HTMLTableElement.prototype.tHead = 0; +/** +@type {HTMLTableSectionElement} +*/ +HTMLTableElement.prototype.tFoot = 0; +/** +@type {HTMLCollection} +@const +*/ +HTMLTableElement.prototype.rows = 0; +/** +@type {HTMLCollection} +@const +*/ +HTMLTableElement.prototype.tBodies = 0; +/** +@type {string} +*/ +HTMLTableElement.prototype.align = 0; +/** +@type {string} +*/ +HTMLTableElement.prototype.bgColor = 0; +/** +@type {string} +*/ +HTMLTableElement.prototype.border = 0; +/** +@type {string} +*/ +HTMLTableElement.prototype.cellPadding = 0; +/** +@type {string} +*/ +HTMLTableElement.prototype.cellSpacing = 0; +/** +@type {string} +*/ +HTMLTableElement.prototype.frame = 0; +/** +@type {string} +*/ +HTMLTableElement.prototype.rules = 0; +/** +@type {string} +*/ +HTMLTableElement.prototype.summary = 0; +/** +@type {string} +*/ +HTMLTableElement.prototype.width = 0; +/** +@return {HTMLElement} +*/ +HTMLTableElement.prototype.createTHead = function() {}; +HTMLTableElement.prototype.deleteTHead = function() {}; +/** +@return {HTMLElement} +*/ +HTMLTableElement.prototype.createTFoot = function() {}; +HTMLTableElement.prototype.deleteTFoot = function() {}; +/** +@return {HTMLElement} +*/ +HTMLTableElement.prototype.createCaption = function() {}; +HTMLTableElement.prototype.deleteCaption = function() {}; +/** +@param {Number} index +@return {HTMLElement} +*/ +HTMLTableElement.prototype.insertRow = function(index) {}; +/** +@param {Number} index +*/ +HTMLTableElement.prototype.deleteRow = function(index) {}; +HTMLTableElement.prototype = new HTMLElement(); +HTMLTableElement = {}; + +/** +@type {string} +*/ +HTMLTableCaptionElement.prototype.align = 0; +HTMLTableCaptionElement.prototype = new HTMLElement(); +HTMLTableCaptionElement = {}; + +/** +@type {string} +*/ +HTMLTableColElement.prototype.align = 0; +/** +@type {string} +*/ +HTMLTableColElement.prototype.ch = 0; +/** +@type {string} +*/ +HTMLTableColElement.prototype.chOff = 0; +/** +@type {Number} +*/ +HTMLTableColElement.prototype.span = 0; +/** +@type {string} +*/ +HTMLTableColElement.prototype.vAlign = 0; +/** +@type {string} +*/ +HTMLTableColElement.prototype.width = 0; +HTMLTableColElement.prototype = new HTMLElement(); +HTMLTableColElement = {}; + +/** +@type {string} +*/ +HTMLTableSectionElement.prototype.align = 0; +/** +@type {string} +*/ +HTMLTableSectionElement.prototype.ch = 0; +/** +@type {string} +*/ +HTMLTableSectionElement.prototype.chOff = 0; +/** +@type {string} +*/ +HTMLTableSectionElement.prototype.vAlign = 0; +/** +@type {HTMLCollection} +@const +*/ +HTMLTableSectionElement.prototype.rows = 0; +/** +@param {Number} index +@return {HTMLElement} +*/ +HTMLTableSectionElement.prototype.insertRow = function(index) {}; +/** +@param {Number} index +*/ +HTMLTableSectionElement.prototype.deleteRow = function(index) {}; +HTMLTableSectionElement.prototype = new HTMLElement(); +HTMLTableSectionElement = {}; + +/** +@type {Number} +@const +*/ +HTMLTableRowElement.prototype.rowIndex = 0; +/** +@type {Number} +@const +*/ +HTMLTableRowElement.prototype.sectionRowIndex = 0; +/** +@type {HTMLCollection} +@const +*/ +HTMLTableRowElement.prototype.cells = 0; +/** +@type {string} +*/ +HTMLTableRowElement.prototype.align = 0; +/** +@type {string} +*/ +HTMLTableRowElement.prototype.bgColor = 0; +/** +@type {string} +*/ +HTMLTableRowElement.prototype.ch = 0; +/** +@type {string} +*/ +HTMLTableRowElement.prototype.chOff = 0; +/** +@type {string} +*/ +HTMLTableRowElement.prototype.vAlign = 0; +/** +@param {Number} index +@return {HTMLElement} +*/ +HTMLTableRowElement.prototype.insertCell = function(index) {}; +/** +@param {Number} index +*/ +HTMLTableRowElement.prototype.deleteCell = function(index) {}; +HTMLTableRowElement.prototype = new HTMLElement(); +HTMLTableRowElement = {}; + +/** +@type {Number} +@const +*/ +HTMLTableCellElement.prototype.cellIndex = 0; +/** +@type {string} +*/ +HTMLTableCellElement.prototype.abbr = 0; +/** +@type {string} +*/ +HTMLTableCellElement.prototype.align = 0; +/** +@type {string} +*/ +HTMLTableCellElement.prototype.axis = 0; +/** +@type {string} +*/ +HTMLTableCellElement.prototype.bgColor = 0; +/** +@type {string} +*/ +HTMLTableCellElement.prototype.ch = 0; +/** +@type {string} +*/ +HTMLTableCellElement.prototype.chOff = 0; +/** +@type {Number} +*/ +HTMLTableCellElement.prototype.colSpan = 0; +/** +@type {string} +*/ +HTMLTableCellElement.prototype.headers = 0; +/** +@type {string} +*/ +HTMLTableCellElement.prototype.height = 0; +/** +@type {boolean} +*/ +HTMLTableCellElement.prototype.noWrap = 0; +/** +@type {Number} +*/ +HTMLTableCellElement.prototype.rowSpan = 0; +/** +@type {string} +*/ +HTMLTableCellElement.prototype.scope = 0; +/** +@type {string} +*/ +HTMLTableCellElement.prototype.vAlign = 0; +/** +@type {string} +*/ +HTMLTableCellElement.prototype.width = 0; +HTMLTableCellElement.prototype = new HTMLElement(); +HTMLTableCellElement = {}; + +/** +@type {string} +*/ +HTMLFrameSetElement.prototype.cols = 0; +/** +@type {string} +*/ +HTMLFrameSetElement.prototype.rows = 0; +HTMLFrameSetElement.prototype = new HTMLElement(); +HTMLFrameSetElement = {}; + +/** +@type {string} +*/ +HTMLFrameElement.prototype.frameBorder = 0; +/** +@type {string} +*/ +HTMLFrameElement.prototype.longDesc = 0; +/** +@type {string} +*/ +HTMLFrameElement.prototype.marginHeight = 0; +/** +@type {string} +*/ +HTMLFrameElement.prototype.marginWidth = 0; +/** +@type {string} +*/ +HTMLFrameElement.prototype.name = 0; +/** +@type {boolean} +*/ +HTMLFrameElement.prototype.noResize = 0; +/** +@type {string} +*/ +HTMLFrameElement.prototype.scrolling = 0; +/** +@type {string} +*/ +HTMLFrameElement.prototype.src = 0; +/** +@browser Gecko +@type {Document} +@const +*/ +HTMLFrameElement.prototype.contentDocument = 0; +HTMLFrameElement.prototype = new HTMLElement(); +HTMLFrameElement = {}; + +/** +@type {string} +*/ +HTMLIFrameElement.prototype.align = 0; +/** +@type {string} +*/ +HTMLIFrameElement.prototype.frameBorder = 0; +/** +@type {string} +*/ +HTMLIFrameElement.prototype.height = 0; +/** +@type {string} +*/ +HTMLIFrameElement.prototype.longDesc = 0; +/** +@type {string} +*/ +HTMLIFrameElement.prototype.marginHeight = 0; +/** +@type {string} +*/ +HTMLIFrameElement.prototype.marginWidth = 0; +/** +@type {string} +*/ +HTMLIFrameElement.prototype.name = 0; +/** +@type {string} +*/ +HTMLIFrameElement.prototype.scrolling = 0; +/** +@type {string} +*/ +HTMLIFrameElement.prototype.src = 0; +/** +@type {string} +*/ +HTMLIFrameElement.prototype.width = 0; +/** +@type {Document} +@const +*/ +HTMLIFrameElement.prototype.contentDocument = 0; +/** +@type {window} +@const +*/ +HTMLIFrameElement.prototype.contentWindow = 0; +HTMLIFrameElement.prototype = new HTMLElement(); +HTMLIFrameElement = {}; +CSSStyleDeclaration.prototype.mozBackgroundOrigin = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderBottomColors = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderBottomImage = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderBottomLeftImage = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderBottomRightImage = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderBreak = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderCornerImage = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderCornerImageTransform = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderImageTransform = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderLeftColors = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderLeftImage = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderRadius = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderRadiusBottomleft = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderRadiusBottomright = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderRadiusTopleft = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderRadiusTopright = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderRightColors = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderRightImage = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderTopColors = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderTopImage = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderTopLeftImage = 0 || ''; +CSSStyleDeclaration.prototype.mozBorderTopRightImage = 0 || ''; +CSSStyleDeclaration.prototype.mozBoxShadow = 0 || ''; +CSSStyleDeclaration.prototype.mozBoxSizing = 0 || ''; +CSSStyleDeclaration.prototype.oBackgroundSize = 0 || ''; +CSSStyleDeclaration.prototype.webkitBackgroundOrigin = 0 || ''; +CSSStyleDeclaration.prototype.webkitBackgroundSize = 0 || ''; +CSSStyleDeclaration.prototype.webkitBorderBottomImage = 0 || ''; +CSSStyleDeclaration.prototype.webkitBorderBottomLeftImage = 0 || ''; +CSSStyleDeclaration.prototype.webkitBorderBottomLeftRadius = 0 || ''; +CSSStyleDeclaration.prototype.webkitBorderBottomRightImage = 0 || ''; +CSSStyleDeclaration.prototype.webkitBorderBottomRightRadius = 0 || ''; +CSSStyleDeclaration.prototype.webkitBorderBreak = 0 || ''; +CSSStyleDeclaration.prototype.webkitBorderCornerImage = 0 || ''; +CSSStyleDeclaration.prototype.webkitBorderCornerImageTransform = 0 || ''; +CSSStyleDeclaration.prototype.webkitBorderImageTransform = 0 || ''; +CSSStyleDeclaration.prototype.webkitBorderLeftImage = 0 || ''; +CSSStyleDeclaration.prototype.webkitBorderRadius = 0 || ''; +CSSStyleDeclaration.prototype.webkitBorderRightImage = 0 || ''; +CSSStyleDeclaration.prototype.webkitBorderTopImage = 0 || ''; +CSSStyleDeclaration.prototype.webkitBorderTopLeftImage = 0 || ''; +CSSStyleDeclaration.prototype.webkitBorderTopLeftRadius = 0 || ''; +CSSStyleDeclaration.prototype.webkitBorderTopRightImage = 0 || ''; +CSSStyleDeclaration.prototype.webkitBorderTopRightRadius = 0 || ''; +CSSStyleDeclaration.prototype.webkitBoxSizing = 0 || ''; +CSSStyleDeclaration.prototype.appearance = 0 || ''; +CSSStyleDeclaration.prototype.azimuth = 0 || ''; +CSSStyleDeclaration.prototype.background = 0 || ''; +CSSStyleDeclaration.prototype.backgroundAttachment = 0 || ''; +CSSStyleDeclaration.prototype.backgroundClip = 0 || ''; +CSSStyleDeclaration.prototype.backgroundColor = 0 || ''; +CSSStyleDeclaration.prototype.backgroundImage = 0 || ''; +CSSStyleDeclaration.prototype.backgroundOrigin = 0 || ''; +CSSStyleDeclaration.prototype.backgroundPosition = 0 || ''; +CSSStyleDeclaration.prototype.backgroundRepeat = 0 || ''; +CSSStyleDeclaration.prototype.backgroundSize = 0 || ''; +CSSStyleDeclaration.prototype.border = 0 || ''; +CSSStyleDeclaration.prototype.borderBottom = 0 || ''; +CSSStyleDeclaration.prototype.borderBottomColor = 0 || ''; +CSSStyleDeclaration.prototype.borderBottomLeftRadius = 0 || ''; +CSSStyleDeclaration.prototype.borderBottomRightRadius = 0 || ''; +CSSStyleDeclaration.prototype.borderBottomStyle = 0 || ''; +CSSStyleDeclaration.prototype.borderBottomWidth = 0 || ''; +CSSStyleDeclaration.prototype.borderBreak = 0 || ''; +CSSStyleDeclaration.prototype.borderCollapse = 0 || ''; +CSSStyleDeclaration.prototype.borderColor = 0 || ''; +CSSStyleDeclaration.prototype.borderCornerImageTransform = 0 || ''; +CSSStyleDeclaration.prototype.borderImage = 0 || ''; +CSSStyleDeclaration.prototype.borderImageOutset = 0 || ''; +CSSStyleDeclaration.prototype.borderImageRepeat = 0 || ''; +CSSStyleDeclaration.prototype.borderImageSlice = 0 || ''; +CSSStyleDeclaration.prototype.borderImageSource = 0 || ''; +CSSStyleDeclaration.prototype.borderImageTransform = 0 || ''; +CSSStyleDeclaration.prototype.borderImageWidth = 0 || ''; +CSSStyleDeclaration.prototype.borderLeft = 0 || ''; +CSSStyleDeclaration.prototype.borderLeftColor = 0 || ''; +CSSStyleDeclaration.prototype.borderLeftStyle = 0 || ''; +CSSStyleDeclaration.prototype.borderLeftWidth = 0 || ''; +CSSStyleDeclaration.prototype.borderRadius = 0 || ''; +CSSStyleDeclaration.prototype.borderRight = 0 || ''; +CSSStyleDeclaration.prototype.borderRightColor = 0 || ''; +CSSStyleDeclaration.prototype.borderRightStyle = 0 || ''; +CSSStyleDeclaration.prototype.borderRightWidth = 0 || ''; +CSSStyleDeclaration.prototype.borderSpacing = 0 || ''; +CSSStyleDeclaration.prototype.borderStyle = 0 || ''; +CSSStyleDeclaration.prototype.borderTop = 0 || ''; +CSSStyleDeclaration.prototype.borderTopColor = 0 || ''; +CSSStyleDeclaration.prototype.borderTopLeftRadius = 0 || ''; +CSSStyleDeclaration.prototype.borderTopRightRadius = 0 || ''; +CSSStyleDeclaration.prototype.borderTopStyle = 0 || ''; +CSSStyleDeclaration.prototype.borderTopWidth = 0 || ''; +CSSStyleDeclaration.prototype.borderWidth = 0 || ''; +CSSStyleDeclaration.prototype.bottom = 0 || ''; +CSSStyleDeclaration.prototype.boxDecorationBreak = 0 || ''; +CSSStyleDeclaration.prototype.boxShadow = 0 || ''; +CSSStyleDeclaration.prototype.boxSizing = 0 || ''; +CSSStyleDeclaration.prototype.captionSide = 0 || ''; +CSSStyleDeclaration.prototype.clear = 0 || ''; +CSSStyleDeclaration.prototype.clip = 0 || ''; +CSSStyleDeclaration.prototype.color = 0 || ''; +CSSStyleDeclaration.prototype.content = 0 || ''; +CSSStyleDeclaration.prototype.counterIncrement = 0 || ''; +CSSStyleDeclaration.prototype.counterReset = 0 || ''; +CSSStyleDeclaration.prototype.cue = 0 || ''; +CSSStyleDeclaration.prototype.cueAfter = 0 || ''; +CSSStyleDeclaration.prototype.cueBefore = 0 || ''; +CSSStyleDeclaration.prototype.cursor = 0 || ''; +CSSStyleDeclaration.prototype.direction = 0 || ''; +CSSStyleDeclaration.prototype.display = 0 || ''; +CSSStyleDeclaration.prototype.elevation = 0 || ''; +CSSStyleDeclaration.prototype.emptyCells = 0 || ''; +CSSStyleDeclaration.prototype.float = 0 || ''; +CSSStyleDeclaration.prototype.font = 0 || ''; +CSSStyleDeclaration.prototype.fontFamily = 0 || ''; +CSSStyleDeclaration.prototype.fontFeatureSettings = 0 || ''; +CSSStyleDeclaration.prototype.fontKerning = 0 || ''; +CSSStyleDeclaration.prototype.fontLanguageOverride = 0 || ''; +CSSStyleDeclaration.prototype.fontSize = 0 || ''; +CSSStyleDeclaration.prototype.fontSizeAdjust = 0 || ''; +CSSStyleDeclaration.prototype.fontStretch = 0 || ''; +CSSStyleDeclaration.prototype.fontStyle = 0 || ''; +CSSStyleDeclaration.prototype.fontSynthesis = 0 || ''; +CSSStyleDeclaration.prototype.fontVariant = 0 || ''; +CSSStyleDeclaration.prototype.fontVariantAlternates = 0 || ''; +CSSStyleDeclaration.prototype.fontVariantCaps = 0 || ''; +CSSStyleDeclaration.prototype.fontVariantEastAsian = 0 || ''; +CSSStyleDeclaration.prototype.fontVariantLigatures = 0 || ''; +CSSStyleDeclaration.prototype.fontVariantNumeric = 0 || ''; +CSSStyleDeclaration.prototype.fontWeight = 0 || ''; +CSSStyleDeclaration.prototype.hangingPunctuation = 0 || ''; +CSSStyleDeclaration.prototype.height = 0 || ''; +CSSStyleDeclaration.prototype.hyphenateCharacter = 0 || ''; +CSSStyleDeclaration.prototype.hyphenateLimitChars = 0 || ''; +CSSStyleDeclaration.prototype.hyphenateLimitLast = 0 || ''; +CSSStyleDeclaration.prototype.hyphenateLimitLines = 0 || ''; +CSSStyleDeclaration.prototype.hyphenateLimitZone = 0 || ''; +CSSStyleDeclaration.prototype.hyphens = 0 || ''; +CSSStyleDeclaration.prototype.icon = 0 || ''; +CSSStyleDeclaration.prototype.imageOrientation = 0 || ''; +CSSStyleDeclaration.prototype.imageRendering = 0 || ''; +CSSStyleDeclaration.prototype.imageResolution = 0 || ''; +CSSStyleDeclaration.prototype.left = 0 || ''; +CSSStyleDeclaration.prototype.letterSpacing = 0 || ''; +CSSStyleDeclaration.prototype.lineBreak = 0 || ''; +CSSStyleDeclaration.prototype.lineHeight = 0 || ''; +CSSStyleDeclaration.prototype.listStyle = 0 || ''; +CSSStyleDeclaration.prototype.listStyleImage = 0 || ''; +CSSStyleDeclaration.prototype.listStylePosition = 0 || ''; +CSSStyleDeclaration.prototype.listStyleType = 0 || ''; +CSSStyleDeclaration.prototype.margin = 0 || ''; +CSSStyleDeclaration.prototype.marginBottom = 0 || ''; +CSSStyleDeclaration.prototype.marginLeft = 0 || ''; +CSSStyleDeclaration.prototype.marginRight = 0 || ''; +CSSStyleDeclaration.prototype.marginTop = 0 || ''; +CSSStyleDeclaration.prototype.marqueeDirection = 0 || ''; +CSSStyleDeclaration.prototype.marqueeLoop = 0 || ''; +CSSStyleDeclaration.prototype.marqueeSpeed = 0 || ''; +CSSStyleDeclaration.prototype.marqueeStyle = 0 || ''; +CSSStyleDeclaration.prototype.maxHeight = 0 || ''; +CSSStyleDeclaration.prototype.maxWidth = 0 || ''; +CSSStyleDeclaration.prototype.minHeight = 0 || ''; +CSSStyleDeclaration.prototype.minWidth = 0 || ''; +CSSStyleDeclaration.prototype.navDown = 0 || ''; +CSSStyleDeclaration.prototype.navIndex = 0 || ''; +CSSStyleDeclaration.prototype.navLeft = 0 || ''; +CSSStyleDeclaration.prototype.navRight = 0 || ''; +CSSStyleDeclaration.prototype.navUp = 0 || ''; +CSSStyleDeclaration.prototype.opacity = 0 || ''; +CSSStyleDeclaration.prototype.orphans = 0 || ''; +CSSStyleDeclaration.prototype.outline = 0 || ''; +CSSStyleDeclaration.prototype.outlineColor = 0 || ''; +CSSStyleDeclaration.prototype.outlineOffset = 0 || ''; +CSSStyleDeclaration.prototype.outlineStyle = 0 || ''; +CSSStyleDeclaration.prototype.outlineWidth = 0 || ''; +CSSStyleDeclaration.prototype.overflow = 0 || ''; +CSSStyleDeclaration.prototype.overflowStyle = 0 || ''; +CSSStyleDeclaration.prototype.overflowWrap = 0 || ''; +CSSStyleDeclaration.prototype.overflowX = 0 || ''; +CSSStyleDeclaration.prototype.overflowY = 0 || ''; +CSSStyleDeclaration.prototype.padding = 0 || ''; +CSSStyleDeclaration.prototype.paddingBottom = 0 || ''; +CSSStyleDeclaration.prototype.paddingLeft = 0 || ''; +CSSStyleDeclaration.prototype.paddingRight = 0 || ''; +CSSStyleDeclaration.prototype.paddingTop = 0 || ''; +CSSStyleDeclaration.prototype.pageBreakAfter = 0 || ''; +CSSStyleDeclaration.prototype.pageBreakBefore = 0 || ''; +CSSStyleDeclaration.prototype.pageBreakInside = 0 || ''; +CSSStyleDeclaration.prototype.pause = 0 || ''; +CSSStyleDeclaration.prototype.pauseAfter = 0 || ''; +CSSStyleDeclaration.prototype.pauseBefore = 0 || ''; +CSSStyleDeclaration.prototype.pitch = 0 || ''; +CSSStyleDeclaration.prototype.pitchRange = 0 || ''; +CSSStyleDeclaration.prototype.playDuring = 0 || ''; +CSSStyleDeclaration.prototype.position = 0 || ''; +CSSStyleDeclaration.prototype.quotes = 0 || ''; +CSSStyleDeclaration.prototype.resize = 0 || ''; +CSSStyleDeclaration.prototype.richness = 0 || ''; +CSSStyleDeclaration.prototype.right = 0 || ''; +CSSStyleDeclaration.prototype.rotation = 0 || ''; +CSSStyleDeclaration.prototype.rotationPoint = 0 || ''; +CSSStyleDeclaration.prototype.speak = 0 || ''; +CSSStyleDeclaration.prototype.speakHeader = 0 || ''; +CSSStyleDeclaration.prototype.speakNumeral = 0 || ''; +CSSStyleDeclaration.prototype.speakPunctuation = 0 || ''; +CSSStyleDeclaration.prototype.speechRate = 0 || ''; +CSSStyleDeclaration.prototype.stress = 0 || ''; +CSSStyleDeclaration.prototype.tabSize = 0 || ''; +CSSStyleDeclaration.prototype.tableLayout = 0 || ''; +CSSStyleDeclaration.prototype.textAlign = 0 || ''; +CSSStyleDeclaration.prototype.textAlignLast = 0 || ''; +CSSStyleDeclaration.prototype.textDecoration = 0 || ''; +CSSStyleDeclaration.prototype.textDecorationColor = 0 || ''; +CSSStyleDeclaration.prototype.textDecorationLine = 0 || ''; +CSSStyleDeclaration.prototype.textDecorationSkip = 0 || ''; +CSSStyleDeclaration.prototype.textDecorationStyle = 0 || ''; +CSSStyleDeclaration.prototype.textEmphasis = 0 || ''; +CSSStyleDeclaration.prototype.textEmphasisColor = 0 || ''; +CSSStyleDeclaration.prototype.textEmphasisPosition = 0 || ''; +CSSStyleDeclaration.prototype.textEmphasisSkip = 0 || ''; +CSSStyleDeclaration.prototype.textEmphasisStyle = 0 || ''; +CSSStyleDeclaration.prototype.textIndent = 0 || ''; +CSSStyleDeclaration.prototype.textJustify = 0 || ''; +CSSStyleDeclaration.prototype.textOverflow = 0 || ''; +CSSStyleDeclaration.prototype.textShadow = 0 || ''; +CSSStyleDeclaration.prototype.textSpaceCollapse = 0 || ''; +CSSStyleDeclaration.prototype.textSpacing = 0 || ''; +CSSStyleDeclaration.prototype.textTransform = 0 || ''; +CSSStyleDeclaration.prototype.textUnderlinePosition = 0 || ''; +CSSStyleDeclaration.prototype.textWrap = 0 || ''; +CSSStyleDeclaration.prototype.top = 0 || ''; +CSSStyleDeclaration.prototype.unicodeBidi = 0 || ''; +CSSStyleDeclaration.prototype.verticalAlign = 0 || ''; +CSSStyleDeclaration.prototype.verticalPosition = 0 || ''; +CSSStyleDeclaration.prototype.visibility = 0 || ''; +CSSStyleDeclaration.prototype.voiceFamily = 0 || ''; +CSSStyleDeclaration.prototype.volume = 0 || ''; +CSSStyleDeclaration.prototype.whiteSpace = 0 || ''; +CSSStyleDeclaration.prototype.widows = 0 || ''; +CSSStyleDeclaration.prototype.width = 0 || ''; +CSSStyleDeclaration.prototype.wordBreak = 0 || ''; +CSSStyleDeclaration.prototype.wordSpacing = 0 || ''; +CSSStyleDeclaration.prototype.wordWrap = 0 || ''; +CSSStyleDeclaration.prototype.zIndex = 0 || ''; +CSSStyleDeclaration.prototype.zoom = 0 || ''; diff --git a/JavaScriptDefinitions/js-xml/DHTML.xml b/JavaScriptDefinitions/js-xml/DHTML.xml new file mode 100644 index 0000000..3175a98 --- /dev/null +++ b/JavaScriptDefinitions/js-xml/DHTML.xml @@ -0,0 +1,1573 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/JavaScriptDefinitions/js-xml/DOMCore.js b/JavaScriptDefinitions/js-xml/DOMCore.js new file mode 100644 index 0000000..4c1eee5 --- /dev/null +++ b/JavaScriptDefinitions/js-xml/DOMCore.js @@ -0,0 +1,1050 @@ +/** +@param {string} features +*/ +DOMImplementationRegistry.prototype.getDOMImplementation = function(features) {}; +/** +@param {string} features +*/ +DOMImplementationRegistry.prototype.getDOMImplementationList = function(features) {}; +DOMImplementationRegistry = {}; + +/** +@type {number} +*/ +DOMException.prototype.code = 0; +DOMException = {}; + +/** +@type {number} +@const +*/ +DOMStringList.prototype.length = 0; +/** +@param {number} index +@return {string} +*/ +DOMStringList.prototype.item = function(index) {}; +/** +@param {string} str +@return {boolean} +*/ +DOMStringList.prototype.contains = function(str) {}; +DOMStringList = {}; + +/** +@type {number} +@const +*/ +NameList.prototype.length = 0; +/** +@param {number} index +@return {string} +*/ +NameList.prototype.getName = function(index) {}; +/** +@param {number} index +@return {string} +*/ +NameList.prototype.getNamespaceURI = function(index) {}; +/** +@param {string} str +@return {boolean} +*/ +NameList.prototype.contains = function(str) {}; +/** +@param {string} namespaceURI +@param {string} name +@return {boolean} +*/ +NameList.prototype.containsNS = function(namespaceURI,name) {}; +NameList = {}; + +/** +@type {Number} +@const +*/ +DOMImplementationList.prototype.length = 0; +/** +@param {Number} index +@return {DOMImplementation} +*/ +DOMImplementationList.prototype.item = function(index) {}; +DOMImplementationList = {}; + +/** +@param {string} features +@return {DOMImplementation} +*/ +DOMImplementationSource.prototype.getDOMImplementation = function(features) {}; +/** +@param {string} features +@return {DOMImplementationList} +*/ +DOMImplementationSource.prototype.getDOMImplementationList = function(features) {}; +DOMImplementationSource = {}; + +/** + * @interface + */ +function DOMImplementation() {} +/** +@param {string} feature +@param {string} version +@return {boolean} +*/ +DOMImplementation.prototype.hasFeature = function(feature,version) {}; +/** +@param {string} qualifiedName +@param {string} publicId +@param {string} systemId +@return {DocumentType} +*/ +DOMImplementation.prototype.createDocumentType = function(qualifiedName,publicId,systemId) {}; +/** +@param {string} namespaceURI +@param {string} qualifiedName +@param {DocumentType} doctype +@return {Document} +*/ +DOMImplementation.prototype.createDocument = function(namespaceURI,qualifiedName,doctype) {}; +/** +@param {string} feature +@param {string} version +@return {Object} +*/ +DOMImplementation.prototype.getFeature = function(feature,version) {}; + +DocumentFragment.prototype = new Node(); +DocumentFragment = {}; + +/** +@type {DocumentType} +@const +*/ +Document.prototype.doctype = 0; +/** +@type {DOMImplementation} +@const +*/ +Document.prototype.implementation = 0; +/** +@type {Element} +@const +*/ +Document.prototype.documentElement = 0; +/** +@type {string} +@const +*/ +Document.prototype.inputEncoding = 0; +/** +@type {string} +@const +*/ +Document.prototype.xmlEncoding = 0; +/** +@type {boolean} +*/ +Document.prototype.xmlStandalone = 0; +/** +@type {string} +*/ +Document.prototype.xmlVersion = 0; +/** +@type {boolean} +*/ +Document.prototype.strictErrorChecking = 0; +/** +@type {string} +*/ +Document.prototype.documentURI = 0; +/** +@type {DOMConfiguration} +@const +*/ +Document.prototype.domConfig = 0; +/** +@browser IE +@type {IXMLDOMParseError} +*/ +Document.prototype.parseError = 0; +/** +@param {string} tagName +@return {Element} +*/ +Document.prototype.createElement = function(tagName) {}; +/** +@return {DocumentFragment} +*/ +Document.prototype.createDocumentFragment = function() {}; +/** +@param {string} data +@return {Text} +*/ +Document.prototype.createTextNode = function(data) {}; +/** +@param {string} data +@return {Comment} +*/ +Document.prototype.createComment = function(data) {}; +/** +@param {string} data +@return {CDATASection} +*/ +Document.prototype.createCDATASection = function(data) {}; +/** +@param {string} target +@param {string} data +@return {ProcessingInstruction} +*/ +Document.prototype.createProcessingInstruction = function(target,data) {}; +/** +@param {string} name +@return {Attr} +*/ +Document.prototype.createAttribute = function(name) {}; +/** +@param {string} name +@return {EntityReference} +*/ +Document.prototype.createEntityReference = function(name) {}; +/** +@param {string} tagname +@return {NodeList} +*/ +Document.prototype.getElementsByTagName = function(tagname) {}; +/** +@param {Node} importedNode +@param {boolean} deep +@return {Node} +*/ +Document.prototype.importNode = function(importedNode,deep) {}; +/** +@param {string} namespaceURI +@param {string} qualifiedName +@return {Element} +*/ +Document.prototype.createElementNS = function(namespaceURI,qualifiedName) {}; +/** +@param {string} namespaceURI +@param {string} qualifiedName +@return {Attr} +*/ +Document.prototype.createAttributeNS = function(namespaceURI,qualifiedName) {}; +/** +@param {string} namespaceURI +@param {string} localName +@return {NodeList} +*/ +Document.prototype.getElementsByTagNameNS = function(namespaceURI,localName) {}; +/** +@param {string} elementId +@return {Element} +*/ +Document.prototype.getElementById = function(elementId) {}; +/** +@param {Node} source +@return {Node} +*/ +Document.prototype.adoptNode = function(source) {}; +Document.prototype.normalizeDocument = function() {}; +/** +@param {Node} n +@param {string} namespaceURI +@param {string} qualifiedName +@return {Node} +*/ +Document.prototype.renameNode = function(n,namespaceURI,qualifiedName) {}; +/** +@browser ie +@param {string} [idString] +@return {Node} +*/ +Document.prototype.nodeFromID = function(idString) {}; +/** +@browser IE +@param {string} filename +*/ +Document.prototype.load = function(filename) {}; +/** +@browser IE +@param {string} xmlString +*/ +Document.prototype.loadXML = function(xmlString) {}; +/** +@browser IE +@param {string} filename +*/ +Document.prototype.save = function(filename) {}; +/** +@browser IE +@param {string} name +@param {string} value +*/ +Document.prototype.setProperty = function(name,value) {}; +/** +@browser IE +@param {string} xpathExpression +*/ +Document.prototype.selectSingleNode = function(xpathExpression) {}; +/** +@browser IE +@param {string} xpathExpression +*/ +Document.prototype.selectNodes = function(xpathExpression) {}; +Document.prototype = new Node(); +Document = {}; + +/** +@browser IE +@type {string} +*/ +IXMLDOMParseError.prototype.reason = 0; +/** +@browser IE +@type {Number} +*/ +IXMLDOMParseError.prototype.errorCode = 0; +IXMLDOMParseError = {}; + +/** +@static +@type {Number} +@const +*/ +Node.ELEMENT_NODE = 1; +/** +@static +@type {Number} +@const +*/ +Node.ATTRIBUTE_NODE = 2; +/** +@static +@type {Number} +@const +*/ +Node.TEXT_NODE = 3; +/** +@static +@type {Number} +@const +*/ +Node.CDATA_SECTION_NODE = 4; +/** +@static +@type {Number} +@const +*/ +Node.ENTITY_SECTION_NODE = 5; +/** +@static +@type {Number} +@const +*/ +Node.ENTITY_NODE = 6; +/** +@static +@type {Number} +@const +*/ +Node.PROCESSING_INSTRUCTION_NODE = 7; +/** +@static +@type {Number} +@const +*/ +Node.COMMENT_NODE = 8; +/** +@static +@type {Number} +@const +*/ +Node.DOCUMENT_NODE = 9; +/** +@static +@type {Number} +@const +*/ +Node.DOCUMENT_TYPE_NODE = 10; +/** +@static +@type {Number} +@const +*/ +Node.DOCUMENT_FRAGMENT_NODE = 11; +/** +@static +@type {Number} +@const +*/ +Node.NOTATION_NODE = 12; +/** +@type {string} +@const +*/ +Node.prototype.nodeName = 0; +/** +@type {string} +*/ +Node.prototype.nodeValue = 0; +/** +@type {Number} +@const +*/ +Node.prototype.nodeType = 0; +/** +@type {Node} +@const +*/ +Node.prototype.parentNode = 0; +/** +@type {NodeList} +@const +*/ +Node.prototype.childNodes = 0; +/** +@type {Node} +@const +*/ +Node.prototype.firstChild = 0; +/** +@type {Node} +@const +*/ +Node.prototype.lastChild = 0; +/** +@type {Node} +@const +*/ +Node.prototype.previousSibling = 0; +/** +@type {Node} +@const +*/ +Node.prototype.nextSibling = 0; +/** +@type {NamedNodeMap} +@const +*/ +Node.prototype.attributes = 0; +/** +@type {Document} +@const +*/ +Node.prototype.ownerDocument = 0; +/** +@type {string} +@const +*/ +Node.prototype.namespaceURI = 0; +/** +@type {string} +*/ +Node.prototype.prefix = 0; +/** +@type {string} +@const +*/ +Node.prototype.localName = 0; +/** +@type {string} +@const +*/ +Node.prototype.baseURI = 0; +/** +@type {string} +*/ +Node.prototype.textContent = 0; +/** +@browser ie +@type {string} +@const +*/ +Node.prototype.xml = 0; +/** +@param {Node} newChild +@param {Node} refChild +@return {Node} +*/ +Node.prototype.insertBefore = function(newChild,refChild) {}; +/** +@param {Node} newChild +@param {Node} refChild +@return {Node} +*/ +Node.prototype.replaceChild = function(newChild,refChild) {}; +/** +@param {Node} oldChild +@return {Node} +*/ +Node.prototype.removeChild = function(oldChild) {}; +/** +@param {Node} newChild +@return {Node} +*/ +Node.prototype.appendChild = function(newChild) {}; +/** +@return {boolean} +*/ +Node.prototype.hasChildNodes = function() {}; +/** +@param {boolean} deep +@return {Node} +*/ +Node.prototype.cloneNode = function(deep) {}; +Node.prototype.normalize = function() {}; +/** +@param {string} feature +@param {string} version +@return {boolean} +*/ +Node.prototype.isSupported = function(feature,version) {}; +/** +@return {boolean} +*/ +Node.prototype.hasAttributes = function() {}; +/** +@param {Node} other +@return {Node} +*/ +Node.prototype.compareDocumentPosition = function(other) {}; +/** +@param {Node} other +@return {boolean} +*/ +Node.prototype.isSameNode = function(other) {}; +/** +@param {string} namespaceURI +@return {string} +*/ +Node.prototype.lookupPrefix = function(namespaceURI) {}; +/** +@param {string} namespaceURI +@return {string} +*/ +Node.prototype.isDefaultNamespace = function(namespaceURI) {}; +/** +@param {string} prefix +@return {string} +*/ +Node.prototype.lookupNamespaceURI = function(prefix) {}; +/** +@param {Node} arg +@return {boolean} +*/ +Node.prototype.isEqualNode = function(arg) {}; +/** +@param {string} feature +@param {string} version +@return {Object} +*/ +Node.prototype.getFeature = function(feature,version) {}; +/** +@param {string} key +@param {Object} data +@param {UserDataHandler} handler +*/ +Node.prototype.setUserData = function(key,data,handler) {}; +/** +@param {string} key +*/ +Node.prototype.getUserData = function(key) {}; +/** +@implements {EventTarget} +*/ +Node = {}; + +/** +@type {number} +@const +*/ +NodeList.prototype.length = 0; +/** +@param {number} index +@return {Node} +*/ +NodeList.prototype.item = function(index) {}; +NodeList = {}; + +/** +@type {number} +@const +*/ +NamedNodeMap.prototype.length = 0; +/** +@param {string} name +@return {Node} +*/ +NamedNodeMap.prototype.getNamedItem = function(name) {}; +/** +@param {Node} arg +@return {Node} +*/ +NamedNodeMap.prototype.setNamedItem = function(arg) {}; +/** +@param {string} name +@return {Node} +*/ +NamedNodeMap.prototype.removeNamedItem = function(name) {}; +/** +@param {Number} index +@return {Node} +*/ +NamedNodeMap.prototype.item = function(index) {}; +/** +@param {string} namespaceURI +@param {string} localName +@return {Node} +*/ +NamedNodeMap.prototype.getNamedItemNS = function(namespaceURI,localName) {}; +/** +@param {Node} arg +@return {Node} +*/ +NamedNodeMap.prototype.setNamedItemNS = function(arg) {}; +/** +@param {string} namespaceURI +@param {string} localName +@return {Node} +*/ +NamedNodeMap.prototype.removeNamedItemNS = function(namespaceURI,localName) {}; +NamedNodeMap = {}; + +/** +@type {string} +*/ +CharacterData.prototype.data = 0; +/** +@type {Number} +@const +*/ +CharacterData.prototype.length = 0; +/** +@param {Number} offset +@param {Number} count +@return {string} +*/ +CharacterData.prototype.substringData = function(offset,count) {}; +/** +@param {string} arg +*/ +CharacterData.prototype.appendData = function(arg) {}; +/** +@param {Number} offset +@param {string} arg +*/ +CharacterData.prototype.insertData = function(offset,arg) {}; +/** +@param {Number} offset +@param {Number} count +*/ +CharacterData.prototype.deleteData = function(offset,count) {}; +/** +@param {Number} offset +@param {Number} count +@param {string} arg +*/ +CharacterData.prototype.replaceData = function(offset,count,arg) {}; +CharacterData.prototype = new Node(); +CharacterData = {}; + +/** +@type {string} +@const +*/ +Attr.prototype.name = 0; +/** +@type {boolean} +@const +*/ +Attr.prototype.specified = 0; +/** +@type {string} +*/ +Attr.prototype.value = 0; +/** +@type {Element} +@const +*/ +Attr.prototype.ownerElement = 0; +/** +@type {TypeInfo} +@const +*/ +Attr.prototype.schemaTypeInfo = 0; +/** +@type {boolean} +@const +*/ +Attr.prototype.isId = 0; +Attr.prototype = new Node(); +Attr = {}; + +/** +@type {string} +@const +*/ +Element.prototype.tagName = 0; +/** +@type {TypeInfo} +@const +*/ +Element.prototype.schemaTypeInfo = 0; +/** +@param {string} name +@return {string} +*/ +Element.prototype.getAttribute = function(name) {}; +/** +@param {string} name +@param {string} value +*/ +Element.prototype.setAttribute = function(name,value) {}; +/** +@param {string} name +*/ +Element.prototype.removeAttribute = function(name) {}; +/** +@param {string} name +@return {Attr} +*/ +Element.prototype.getAttributeNode = function(name) {}; +/** +@param {Attr} newAttr +@return {Attr} +*/ +Element.prototype.setAttributeNode = function(newAttr) {}; +/** +@param {Attr} oldAttr +@return {Attr} +*/ +Element.prototype.removeAttributeNode = function(oldAttr) {}; +/** +@param {string} name +@return {NodeList} +*/ +Element.prototype.getElementsByTagName = function(name) {}; +/** +@param {string} namespaceURI +@param {string} localName +@return {string} +*/ +Element.prototype.getAttributeNS = function(namespaceURI,localName) {}; +/** +@param {string} namespaceURI +@param {string} qualifiedName +@param {string} value +*/ +Element.prototype.setAttributeNS = function(namespaceURI,qualifiedName,value) {}; +/** +@param {string} namespaceURI +@param {string} localName +*/ +Element.prototype.removeAttributeNS = function(namespaceURI,localName) {}; +/** +@param {string} namespaceURI +@param {string} localName +*/ +Element.prototype.getAttributeNodeNS = function(namespaceURI,localName) {}; +/** +@param {Attr} newAttr +*/ +Element.prototype.setAttributeNodeNS = function(newAttr) {}; +/** +@param {string} namespaceURI +@param {string} localName +@return {NodeList} +*/ +Element.prototype.getElementsByTagNameNS = function(namespaceURI,localName) {}; +/** +@param {string} name +@return {boolean} +*/ +Element.prototype.hasAttribute = function(name) {}; +/** +@param {string} namespaceURI +@param {string} localName +@return {boolean} +*/ +Element.prototype.hasAttributeNS = function(namespaceURI,localName) {}; +/** +@param {string} name +@param {boolean} isId +*/ +Element.prototype.setIdAttribute = function(name,isId) {}; +/** +@param {string} namespaceURI +@param {string} localName +@param {boolean} isId +*/ +Element.prototype.setIdAttributeNS = function(namespaceURI,localName,isId) {}; +/** +@param {Attr} idAttr +@param {boolean} isId +*/ +Element.prototype.setIdAttributeNode = function(idAttr,isId) {}; +Element.prototype = new Node(); +Element = {}; + +/** +@type {boolean} +@const +*/ +Text.prototype.isElementContentWhitespace = 0; +/** +@type {string} +@const +*/ +Text.prototype.wholeText = 0; +/** +@param {Number} offset +@return {Text} +*/ +Text.prototype.splitText = function(offset) {}; +/** +@param {string} content +@return {Text} +*/ +Text.prototype.replaceWholeText = function(content) {}; +Text.prototype = new CharacterData(); +Text = {}; + +Comment.prototype = new CharacterData(); +Comment = {}; + +/** +@type {string} +@const +*/ +TypeInfo.prototype.typeName = 0; +/** +@type {string} +@const +*/ +TypeInfo.prototype.typeNamespace = 0; +/** +@param {string} typeNamespaceArg +@param {string} typeNameArg +@param { Number} derivationMethod +@return {boolean} +*/ +TypeInfo.prototype.isDerivedFrom = function(typeNamespaceArg,typeNameArg,derivationMethod) {}; +TypeInfo = {}; + +/** +@static +@type {number} +@const +*/ +UserDataHandler.NODE_CLONED = 1; +/** +@static +@type {number} +@const +*/ +UserDataHandler.NODE_IMPORTED = 2; +/** +@static +@type {number} +@const +*/ +UserDataHandler.NODE_DELETED = 3; +/** +@static +@type {number} +@const +*/ +UserDataHandler.NODE_RENAMED = 4; +/** +@static +@type {number} +@const +*/ +UserDataHandler.NODE_ADOPTED = 5; +/** +@param {number} operation +@param {string} key +@param {Object} data +@param {Node} src +@param {Node} dst +*/ +UserDataHandler.prototype.handle = function(operation,key,data,src,dst) {}; +UserDataHandler = {}; + +/** +@type {Number} +*/ +DOMError.prototype.severity = 0; +/** +@type {string} +*/ +DOMError.prototype.message = 0; +/** +@type {string} +*/ +DOMError.prototype.type = 0; +/** +@type {Object} +*/ +DOMError.prototype.relatedException = 0; +/** +@type {Object} +*/ +DOMError.prototype.relatedData = 0; +/** +@type {DOMLocator} +*/ +DOMError.prototype.location = 0; +DOMError = {}; + +/** +@param {DOMError} error +@return {boolean} +*/ +DOMErrorHandler.prototype.handler = function(error) {}; +DOMErrorHandler = {}; + +/** +@type {Number} +*/ +DOMLocator.prototype.lineNumber = 0; +/** +@type {Number} +*/ +DOMLocator.prototype.columnNumber = 0; +/** +@type {Number} +*/ +DOMLocator.prototype.byteOffset = 0; +/** +@type {Number} +*/ +DOMLocator.prototype.utf16Offset = 0; +/** +@type {Node} +*/ +DOMLocator.prototype.relatedNode = 0; +/** +@type {string} +*/ +DOMLocator.prototype.uri = 0; +DOMLocator = {}; + +/** +@type {DOMStringList} +*/ +DOMConfiguration.prototype.parameterNames = 0; +/** +@param {string} name +@param {Object} value +*/ +DOMConfiguration.prototype.setParameter = function(name,value) {}; +/** +@param {string} name +*/ +DOMConfiguration.prototype.getParameter = function(name) {}; +/** +@param {string} name +@param {Object} value +@return {boolean} +*/ +DOMConfiguration.prototype.canSetParameter = function(name,value) {}; +DOMConfiguration = {}; + +CDATASection.prototype = new Text(); +CDATASection = {}; + +/** +@type {string} +@const +*/ +DocumentType.prototype.name = 0; +/** +@type {NamedNodeMap} +@const +*/ +DocumentType.prototype.entities = 0; +/** +@type {NamedNodeMap} +@const +*/ +DocumentType.prototype.notations = 0; +/** +@type {string} +@const +*/ +DocumentType.prototype.publicId = 0; +/** +@type {string} +@const +*/ +DocumentType.prototype.systemId = 0; +/** +@type {string} +@const +*/ +DocumentType.prototype.internalSubset = 0; +DocumentType.prototype = new Node(); +DocumentType = {}; + +/** +@type {string} +@const +*/ +Notation.prototype.publicId = 0; +/** +@type {string} +@const +*/ +Notation.prototype.systemId = 0; +Notation.prototype = new Node(); +Notation = {}; + +/** +@type {string} +@const +*/ +Entity.prototype.publicId = 0; +/** +@type {string} +@const +*/ +Entity.prototype.systemId = 0; +/** +@type {string} +@const +*/ +Entity.prototype.notationName = 0; +/** +@type {string} +@const +*/ +Entity.prototype.inputEncoding = 0; +/** +@type {string} +@const +*/ +Entity.prototype.xmlEncoding = 0; +/** +@type {string} +@const +*/ +Entity.prototype.xmlVersion = 0; +Entity.prototype = new Node(); +Entity = {}; + +EntityReference.prototype = new Node(); +EntityReference = {}; + +/** +@type {string} +@const +*/ +ProcessingInstruction.prototype.target = 0; +/** +@type {string} +*/ +ProcessingInstruction.prototype.data = 0; +ProcessingInstruction.prototype = new Node(); +ProcessingInstruction = {}; diff --git a/JavaScriptDefinitions/js-xml/DOMCore.xml b/JavaScriptDefinitions/js-xml/DOMCore.xml new file mode 100644 index 0000000..90e8115 --- /dev/null +++ b/JavaScriptDefinitions/js-xml/DOMCore.xml @@ -0,0 +1,608 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/JavaScriptDefinitions/js-xml/DOMEvents.js b/JavaScriptDefinitions/js-xml/DOMEvents.js new file mode 100644 index 0000000..26fcfb1 --- /dev/null +++ b/JavaScriptDefinitions/js-xml/DOMEvents.js @@ -0,0 +1,563 @@ +/** + * @interface + */ +function Event() {} +/** +@browser Gecko +@static +@type {number} +@const +*/ +Event.CAPTURING_PHASE = 1; +/** +@browser Gecko +@static +@type {number} +@const +*/ +Event.AT_TARGET = 2; +/** +@browser Gecko +@static +@type {number} +@const +*/ +Event.BUBBLING_PHASE = 2; +/** +@browser Gecko +@type {string} +@const +*/ +Event.prototype.type = 0; +/** +@browser Gecko +@type {EventTarget} +@const +*/ +Event.prototype.target = 0; +/** +@browser Gecko +@type {EventTarget} +@const +*/ +Event.prototype.currentTarget = 0; +/** +@browser Gecko +@type {number} +@const +*/ +Event.prototype.eventPhase = 0; +/** +@browser Gecko +@type {boolean} +@const +*/ +Event.prototype.bubbles = 0; +/** +@browser Gecko +@type {boolean} +@const +*/ +Event.prototype.cancelable = 0; +/** +@browser Gecko +@type {Date} +@const +*/ +Event.prototype.timeStamp = 0; +/** +@browser Gecko +@type {string} +@const +*/ +Event.prototype.namespaceURI = 0; +/** +@browser Gecko +*/ +Event.prototype.stopPropagation = function() {}; +/** +@browser Gecko +*/ +Event.prototype.preventDefault = function() {}; +/** +@browser Gecko +@param {string} eventTypeArg +@param {boolean} canBubbleArg +@param {boolean} cancelableArg +*/ +Event.prototype.initEvent = function(eventTypeArg,canBubbleArg,cancelableArg) {}; +/** +@browser Gecko +@return {boolean} +*/ +Event.prototype.isCustom = function() {}; +/** +@browser Gecko +*/ +Event.prototype.stopImmediatePropagation = function() {}; +/** +@browser Gecko +@return {boolean} +*/ +Event.prototype.isDefaultPrevented = function() {}; +/** +@browser Gecko +@param {string} namespaceURIArg +@param {string} eventTypeArg +@param {boolean} canBubbleArg +@param {boolean} cancelableArg +*/ +Event.prototype.initEventNS = function(namespaceURIArg,eventTypeArg,canBubbleArg,cancelableArg) {}; + +/** + * @interface + */ +function EventTarget() {} +/** +@param {string} type +@param {EventListener|Function} listener +@param {boolean} [useCapture] +*/ +EventTarget.prototype.addEventListener = function(type,listener,useCapture) {}; +/** +@param {string} type +@param {EventListener|Function} listener +@param {boolean} [useCapture] +*/ +EventTarget.prototype.removeEventListener = function(type,listener,useCapture) {}; +/** +@param {Event} event +@return {boolean} +*/ +EventTarget.prototype.dispatchEvent = function(event) {}; +/** +@param {string} namespaceURI +@param {string} type +@param {EventListener} listener +@param {boolean} [useCapture] +@param {Object} [evtGroup] +*/ +EventTarget.prototype.addEventListenerNS = function(namespaceURI,type,listener,useCapture,evtGroup) {}; +/** +@param {string} namespaceURI +@param {string} type +@param {EventListener} listener +@param {boolean} [useCapture] +*/ +EventTarget.prototype.removeEventListenerNS = function(namespaceURI,type,listener,useCapture) {}; +/** +@param {string} namespaceURI +@param {string} type +@return {boolean} +*/ +EventTarget.prototype.willTriggerNS = function(namespaceURI,type) {}; +/** +@param {string} namespaceURI +@param {string} type +@return {boolean} +*/ +EventTarget.prototype.hasEventListenerNS = function(namespaceURI,type) {}; + +/** + * @interface + */ +function EventListener() {} +/** +@browser Gecko +@param {Event} event +*/ +EventListener.prototype.handleEvent = function(event) {}; + +/** +@browser Gecko +@type {Number} +*/ +EventException.prototype.code = 0; +EventException = {}; + +/** +@browser Gecko +@param {string} eventType +@return {Event} +*/ +DocumentEvent.prototype.createEvent = function(eventType) {}; +/** +@browser Gecko +@param {string} namespaceURI +@param {string} type +@return {string} +*/ +DocumentEvent.prototype.canDispatch = function(namespaceURI,type) {}; +DocumentEvent = {}; + +/** +@browser Gecko +@param {EventTarget} target +@param {Number} phase +*/ +CustomEvent.prototype.setDispatchState = function(target,phase) {}; +/** +@browser Gecko +@return {boolean} +*/ +CustomEvent.prototype.isPropagationStopped = function() {}; +/** +@browser Gecko +@return {boolean} +*/ +CustomEvent.prototype.isImmediatePropagationStopped = function() {}; +CustomEvent.prototype = new Event(); +CustomEvent = {}; + +/** +@browser Gecko +@type {AbstractView} +@const +*/ +UIEvent.prototype.view = 0; +/** +@browser Gecko +@type {number} +@const +*/ +UIEvent.prototype.detail = 0; +/** +@browser Gecko +@param {string} typeArg +@param {boolean} canBubbleArg +@param {boolean} cancelableArg +@param {AbstractView} viewArg +@param {Number} detailArg +*/ +UIEvent.prototype.initUIEvent = function(typeArg,canBubbleArg,cancelableArg,viewArg,detailArg) {}; +/** +@browser Gecko +@param {string} namespaceURI +@param {string} typeArg +@param {boolean} canBubbleArg +@param {boolean} cancelableArg +@param {AbstractView} viewArg +@param {Number} detailArg +*/ +UIEvent.prototype.initUIEventNS = function(namespaceURI,typeArg,canBubbleArg,cancelableArg,viewArg,detailArg) {}; +UIEvent.prototype = new Event(); +UIEvent = {}; + +/** +@browser Gecko +@type {string} +@const +*/ +TextEvent.prototype.data = 0; +/** +@browser Gecko +@param {string} typeArg +@param {boolean} canBubbleArg +@param {boolean} cancelableArg +@param {AbstractView} viewArg +@param {Number} dataArg +*/ +TextEvent.prototype.initTextEvent = function(typeArg,canBubbleArg,cancelableArg,viewArg,dataArg) {}; +/** +@browser Gecko +@param {string} namespaceURI +@param {string} typeArg +@param {boolean} canBubbleArg +@param {boolean} cancelableArg +@param {AbstractView} viewArg +@param {Number} dataArg +*/ +TextEvent.prototype.initTextEventNS = function(namespaceURI,typeArg,canBubbleArg,cancelableArg,viewArg,dataArg) {}; +TextEvent.prototype = new UIEvent(); +TextEvent = {}; + +/** +@browser Gecko +@type {number} +@const +*/ +MouseEvent.prototype.screenX = 0; +/** +@browser Gecko +@type {number} +@const +*/ +MouseEvent.prototype.screenY = 0; +/** +@browser Gecko +@type {number} +@const +*/ +MouseEvent.prototype.clientX = 0; +/** +@browser Gecko +@type {number} +@const +*/ +MouseEvent.prototype.clientY = 0; +/** +@browser Gecko +@type {boolean} +@const +*/ +MouseEvent.prototype.ctrlKey = 0; +/** +@browser Gecko +@type {boolean} +@const +*/ +MouseEvent.prototype.shiftKey = 0; +/** +@browser Gecko +@type {boolean} +@const +*/ +MouseEvent.prototype.altKey = 0; +/** +@browser Gecko +@type {boolean} +@const +*/ +MouseEvent.prototype.metaKey = 0; +/** +@browser Gecko +@type {Number} +@const +*/ +MouseEvent.prototype.button = 0; +/** +@browser Gecko +@type {EventTarget} +@const +*/ +MouseEvent.prototype.relatedTarget = 0; +/** +@browser Gecko +@param {string} keyIdentifierArg +@return {boolean} +*/ +MouseEvent.prototype.getModifierState = function(keyIdentifierArg) {}; +/** +@browser Gecko +@param {string} typeArg +@param {boolean} canBubbleArg +@param {boolean} cancelableArg +@param {AbstractView} viewArg +@param {number} detailArg +@param {number} screenXArg +@param {number} screenYArg +@param {number} clientXArg +@param {number} clientYArg +@param {boolean} ctrlKeyArg +@param {boolean} altKeyArg +@param {boolean} shiftKeyArg +@param {boolean} metaKeyArg +@param {number} buttonArg +@param {EventTarget} relatedTargetArg +*/ +MouseEvent.prototype.initMouseEvent = function(typeArg,canBubbleArg,cancelableArg,viewArg,detailArg,screenXArg,screenYArg,clientXArg,clientYArg,ctrlKeyArg,altKeyArg,shiftKeyArg,metaKeyArg,buttonArg,relatedTargetArg) {}; +/** +@browser Gecko +@param {string} namespaceURI +@param {string} typeArg +@param {boolean} canBubbleArg +@param {boolean} cancelableArg +@param {AbstractView} viewArg +@param {Number} detailArg +@param {Number} screenXArg +@param {Number} screenYArg +@param {Number} clientXArg +@param {Number} clientYArg +@param {boolean} ctrlKeyArg +@param {boolean} altKeyArg +@param {boolean} shiftKeyArg +@param {boolean} metaKeyArg +@param {Number} buttonArg +@param {EventTarget} relatedTargetArg +*/ +MouseEvent.prototype.initMouseEventNS = function(namespaceURI,typeArg,canBubbleArg,cancelableArg,viewArg,detailArg,screenXArg,screenYArg,clientXArg,clientYArg,ctrlKeyArg,altKeyArg,shiftKeyArg,metaKeyArg,buttonArg,relatedTargetArg) {}; +MouseEvent.prototype = new UIEvent(); +MouseEvent = {}; + +/** +@browser Gecko +@type {string} +@const +*/ +KeyboardEvent.prototype.keyIdentifier = 0; +/** +@browser Gecko +@type {Number} +@const +*/ +KeyboardEvent.prototype.keyLocation = 0; +/** +@browser Gecko +@type {boolean} +@const +*/ +KeyboardEvent.prototype.ctrlKey = 0; +/** +@browser Gecko +@type {boolean} +@const +*/ +KeyboardEvent.prototype.shiftKey = 0; +/** +@browser Gecko +@type {boolean} +@const +*/ +KeyboardEvent.prototype.altKey = 0; +/** +@browser Gecko +@type {boolean} +@const +*/ +KeyboardEvent.prototype.metaKey = 0; +/** +@browser Gecko +@param {string} keyIdentifierArg +@return {boolean} +*/ +KeyboardEvent.prototype.getModifierState = function(keyIdentifierArg) {}; +/** +@browser Gecko +@param {string} typeArg +@param {boolean} canBubbleArg +@param {boolean} cancelableArg +@param {AbstractView} viewArg +@param {string} keyIdentifierArg +@param {Number} keyLocationArg +@param {string} modifiersList +*/ +KeyboardEvent.prototype.initKeyboardEvent = function(typeArg,canBubbleArg,cancelableArg,viewArg,keyIdentifierArg,keyLocationArg,modifiersList) {}; +/** +@browser Gecko +@param {string} namespaceURI +@param {string} typeArg +@param {boolean} canBubbleArg +@param {boolean} cancelableArg +@param {AbstractView} viewArg +@param {string} keyIdentifierArg +@param {Number} keyLocationArg +@param {string} modifiersList +*/ +KeyboardEvent.prototype.initKeyboardEventNS = function(namespaceURI,typeArg,canBubbleArg,cancelableArg,viewArg,keyIdentifierArg,keyLocationArg,modifiersList) {}; +KeyboardEvent.prototype = new UIEvent(); +KeyboardEvent = {}; + +/** +@browser Gecko +@static +@type {number} +@const +*/ +MutationEvent.MODIFICATION = 1; +/** +@browser Gecko +@static +@type {number} +@const +*/ +MutationEvent.ADDITION = 2; +/** +@browser Gecko +@static +@type {number} +@const +*/ +MutationEvent.REMOVAL = 3; +/** +@browser Gecko +@type {Node} +@const +*/ +MutationEvent.prototype.relatedNode = 0; +/** +@browser Gecko +@type {string} +@const +*/ +MutationEvent.prototype.prevValue = 0; +/** +@browser Gecko +@type {string} +@const +*/ +MutationEvent.prototype.newValue = 0; +/** +@browser Gecko +@type {string} +@const +*/ +MutationEvent.prototype.attrName = 0; +/** +@browser Gecko +@type {Number} +@const +*/ +MutationEvent.prototype.attrChange = 0; +/** +@browser Gecko +@param {string} typeArg +@param {boolean} canBubbleArg +@param {boolean} cancelableArg +@param {Node} relatedNodeArg +@param {string} prevValueArg +@param {string} newValueArg +@param {string} attrNameArg +@param {Number} attrChangeArg +*/ +MutationEvent.prototype.initMutationEvent = function(typeArg,canBubbleArg,cancelableArg,relatedNodeArg,prevValueArg,newValueArg,attrNameArg,attrChangeArg) {}; +/** +@browser Gecko +@param {string} namespaceURI +@param {string} typeArg +@param {boolean} canBubbleArg +@param {boolean} cancelableArg +@param {Node} relatedNodeArg +@param {string} prevValueArg +@param {string} newValueArg +@param {string} attrNameArg +@param {Number} attrChangeArg +*/ +MutationEvent.prototype.initMutationEventNS = function(namespaceURI,typeArg,canBubbleArg,cancelableArg,relatedNodeArg,prevValueArg,newValueArg,attrNameArg,attrChangeArg) {}; +MutationEvent.prototype = new UIEvent(); +MutationEvent = {}; + +/** +@browser Gecko +@type {string} +@const +*/ +MutationNameEvent.prototype.prevNamespaceURI = 0; +/** +@browser Gecko +@type {string} +@const +*/ +MutationNameEvent.prototype.prevNodeName = 0; +/** +@browser Gecko +@param {string} typeArg +@param {boolean} canBubbleArg +@param {boolean} cancelableArg +@param {Node} relatedNodeArg +@param {string} prevNamespaceURIArg +@param {string} prevNodeNameArg +*/ +MutationNameEvent.prototype.initMutationNameEvent = function(typeArg,canBubbleArg,cancelableArg,relatedNodeArg,prevNamespaceURIArg,prevNodeNameArg) {}; +/** +@browser Gecko +@param {string} namespaceURI +@param {string} typeArg +@param {boolean} canBubbleArg +@param {boolean} cancelableArg +@param {Node} relatedNodeArg +@param {string} prevNamespaceURIArg +@param {string} prevNodeNameArg +*/ +MutationNameEvent.prototype.initMutationNameEventNS = function(namespaceURI,typeArg,canBubbleArg,cancelableArg,relatedNodeArg,prevNamespaceURIArg,prevNodeNameArg) {}; +MutationNameEvent.prototype = new MutationEvent(); +MutationNameEvent = {}; diff --git a/JavaScriptDefinitions/js-xml/DOMEvents.xml b/JavaScriptDefinitions/js-xml/DOMEvents.xml new file mode 100644 index 0000000..cde67c9 --- /dev/null +++ b/JavaScriptDefinitions/js-xml/DOMEvents.xml @@ -0,0 +1,311 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/JavaScriptDefinitions/js-xml/DOMTraversalAndRange.js b/JavaScriptDefinitions/js-xml/DOMTraversalAndRange.js new file mode 100644 index 0000000..fe4f34d --- /dev/null +++ b/JavaScriptDefinitions/js-xml/DOMTraversalAndRange.js @@ -0,0 +1,231 @@ +/** +@type {Node} +@const +*/ +NodeIterator.prototype.root = 0; +/** +@type {Number} +@const +*/ +NodeIterator.prototype.whatToShow = 0; +/** +@type {NodeFilter} +@const +*/ +NodeIterator.prototype.filter = 0; +/** +@type {boolean} +@const +*/ +NodeIterator.prototype.expandEntityReferences = 0; +/** +@return {Node} +*/ +NodeIterator.prototype.nextNode = function() {}; +/** +@return {Node} +*/ +NodeIterator.prototype.previousNode = function() {}; +NodeIterator.prototype.detach = function() {}; +NodeIterator = {}; + +/** +@param {Node} param +@return {Number} +*/ +NodeFilter.prototype.NodeFilter = function(param) {}; +NodeFilter = {}; + +/** +@return {Node} +*/ +TreeWalker.prototype.parentNode = function() {}; +/** +@return {Node} +*/ +TreeWalker.prototype.firstChild = function() {}; +/** +@return {Node} +*/ +TreeWalker.prototype.lastChild = function() {}; +/** +@return {Node} +*/ +TreeWalker.prototype.previousSibling = function() {}; +/** +@return {Node} +*/ +TreeWalker.prototype.nextSibling = function() {}; +/** +@return {Node} +*/ +TreeWalker.prototype.previousNode = function() {}; +/** +@return {Node} +*/ +TreeWalker.prototype.nextNode = function() {}; +TreeWalker = {}; + +/** +@param {Node} root +@param {Number} whatToShow +@param {NodeFilter} filter +@param {boolean} entityReferenceExpansion +@return {NodeIterator} +*/ +DocumentTraversal.prototype.createNodeIterator = function(root,whatToShow,filter,entityReferenceExpansion) {}; +/** +@param {Node} root +@param {Number} whatToShow +@param {NodeFilter} filter +@param {boolean} entityReferenceExpansion +@return {TreeWalker} +*/ +DocumentTraversal.prototype.createTreeWalker = function(root,whatToShow,filter,entityReferenceExpansion) {}; +DocumentTraversal = {}; + +/** +@type {Node} +@const +*/ +Range.prototype.startContainer = 0; +/** +@type {Number} +@const +*/ +Range.prototype.startOffset = 0; +/** +@type {Node} +@const +*/ +Range.prototype.endContainer = 0; +/** +@type {Number} +@const +*/ +Range.prototype.endOffset = 0; +/** +@type {boolean} +@const +*/ +Range.prototype.collapsed = 0; +/** +@type {Node} +@const +*/ +Range.prototype.commonAncestorContainer = 0; +/** +@param {Node} refNode +@param {Number} offset +*/ +Range.prototype.setStart = function(refNode,offset) {}; +/** +@param {Node} refNode +@param {Number} offset +*/ +Range.prototype.setEnd = function(refNode,offset) {}; +/** +@param {Node} refNode +*/ +Range.prototype.setStartBefore = function(refNode) {}; +/** +@param {Node} refNode +*/ +Range.prototype.setStartAfter = function(refNode) {}; +/** +@param {Node} refNode +*/ +Range.prototype.setEndBefore = function(refNode) {}; +/** +@param {Node} refNode +*/ +Range.prototype.setEndAfter = function(refNode) {}; +/** +@param {boolean} toStart +*/ +Range.prototype.collapse = function(toStart) {}; +/** +@param {Node} refNode +*/ +Range.prototype.selectNode = function(refNode) {}; +/** +@param {Node} refNode +*/ +Range.prototype.selectNodeContents = function(refNode) {}; +/** +@param {Number} how +@param {Range} sourceRange +@return {Number} +*/ +Range.prototype.compareBoundaryPoints = function(how,sourceRange) {}; +Range.prototype.deleteContents = function() {}; +/** +@return {DocumentFragment} +*/ +Range.prototype.extractContents = function() {}; +/** +@return {DocumentFragment} +*/ +Range.prototype.cloneContents = function() {}; +/** +@param {Node} newNode +*/ +Range.prototype.insertNode = function(newNode) {}; +/** +@param {Node} newParent +*/ +Range.prototype.surroundContents = function(newParent) {}; +/** +@return {Range} +*/ +Range.prototype.cloneRange = function() {}; +/** +@return {string} +*/ +Range.prototype.toString = function() {}; +Range.prototype.detach = function() {}; +/** +@browser Gecko +@param {string} tagString +*/ +Range.prototype.createContextualFragment = function(tagString) {}; +Range = {}; + +/** +@return {Range} +*/ +DocumentRange.prototype.createRange = function() {}; +DocumentRange = {}; + +/** +@type {number} +*/ +RangeException.prototype.code = 0; +RangeException = {}; + +/** +@type {Element} +@const +*/ +Element.prototype.firstElementChild = 0; +/** +@type {Element} +@const +*/ +Element.prototype.lastElementChild = 0; +/** +@type {Element} +@const +*/ +Element.prototype.previousElementSibling = 0; +/** +@type {Element} +@const +*/ +Element.prototype.nextElementSibling = 0; +/** +@type {Number} +@const +*/ +Element.prototype.childElementCount = 0; +Element = {}; diff --git a/JavaScriptDefinitions/js-xml/DOMTraversalAndRange.xml b/JavaScriptDefinitions/js-xml/DOMTraversalAndRange.xml new file mode 100644 index 0000000..78f2188 --- /dev/null +++ b/JavaScriptDefinitions/js-xml/DOMTraversalAndRange.xml @@ -0,0 +1,140 @@ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/JavaScriptDefinitions/js-xml/DOMXPath.js b/JavaScriptDefinitions/js-xml/DOMXPath.js new file mode 100644 index 0000000..4f0c88b --- /dev/null +++ b/JavaScriptDefinitions/js-xml/DOMXPath.js @@ -0,0 +1,166 @@ +/** +@browser Gecko +@type {Number} +*/ +XPathException.prototype.code = 0; +XPathException = {}; + +/** +@browser Gecko +@param {string} expression +@param {XPathNSResolver} resolver +@return {XPathExpression} +*/ +XPathEvaluator.prototype.createExpression = function(expression,resolver) {}; +/** +@browser Gecko +@param {Node} nodeResolver +@return {XPathNSResolver} +*/ +XPathEvaluator.prototype.createNSResolver = function(nodeResolver) {}; +/** +@browser Gecko +@param {string} expression +@param {Node} contextNode +@param {XPathNSResolver} resolver +@param {Number} type +@param {Object} result +@return {Object} +*/ +XPathEvaluator.prototype.evaluate = function(expression,contextNode,resolver,type,result) {}; +XPathEvaluator = {}; + +/** +@browser Gecko +@param {Node} contextNode +@param {Number} type +@param {Object} result +@return {Object} +*/ +XPathExpression.prototype.evaluate = function(contextNode,type,result) {}; +XPathExpression = {}; + +/** +@browser Gecko +@param {string} prefix +@return {string} +*/ +XPathNSResolver.prototype.lookupNamespaceURI = function(prefix) {}; +XPathNSResolver = {}; + +/** +@browser Gecko +@static +@type {Number} +*/ +XPathResult.ORDERED_NODE_SNAPSHOT_TYPE = 7; +/** +@browser Gecko +@static +@type {Number} +*/ +XPathResult.ORDERED_NODE_ITERATOR_TYPE = 5; +/** +@browser Gecko +@static +@type {Number} +*/ +XPathResult.ANY_TYPE = 0; +/** +@browser Gecko +@static +@type {Number} +*/ +XPathResult.BOOLEAN_TYPE = 3; +/** +@browser Gecko +@static +@type {Number} +*/ +XPathResult.NUMBER_TYPE = 1; +/** +@browser Gecko +@static +@type {Number} +*/ +XPathResult.STRING_TYPE = 2; +/** +@browser Gecko +@static +@type {Number} +*/ +XPathResult.FIRST_ORDERED_NODE_TYPE = 9; +/** +@browser Gecko +@static +@type {Number} +*/ +XPathResult.ANY_UNORDERED_NODE_TYPE = 8; +/** +@browser Gecko +@static +@type {Number} +*/ +XPathResult.UNORDERED_NODE_ITERATOR_TYPE = 4; +/** +@browser Gecko +@static +@type {Number} +*/ +XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE = 6; +/** +@browser Gecko +@type {Number} +*/ +XPathResult.prototype.resultType = 0; +/** +@browser Gecko +@type {Number} +*/ +XPathResult.prototype.numberValue = 0; +/** +@browser Gecko +@type {string} +*/ +XPathResult.prototype.stringValue = 0; +/** +@browser Gecko +@type {boolean} +*/ +XPathResult.prototype.booleanValue = 0; +/** +@browser Gecko +@type {Node} +*/ +XPathResult.prototype.singleNodeValue = 0; +/** +@browser Gecko +@type {boolean} +*/ +XPathResult.prototype.invalidIteratorState = 0; +/** +@browser Gecko +@type {Number} +*/ +XPathResult.prototype.snapshotLength = 0; +/** +@browser Gecko +@return {Node} +*/ +XPathResult.prototype.iterateNext = function() {}; +/** +@browser Gecko +@param {Number} index +@return {Node} +*/ +XPathResult.prototype.snapshotItem = function(index) {}; +XPathResult = {}; + +/** +@browser Gecko +@type {Element} +@const +*/ +XPathNamespace.prototype.ownerElement = 0; +XPathNamespace.prototype = new Node(); +XPathNamespace = {}; diff --git a/JavaScriptDefinitions/js-xml/DOMXPath.xml b/JavaScriptDefinitions/js-xml/DOMXPath.xml new file mode 100644 index 0000000..82753cb --- /dev/null +++ b/JavaScriptDefinitions/js-xml/DOMXPath.xml @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/JavaScriptDefinitions/js-xml/E4X.js b/JavaScriptDefinitions/js-xml/E4X.js new file mode 100644 index 0000000..2d239d7 --- /dev/null +++ b/JavaScriptDefinitions/js-xml/E4X.js @@ -0,0 +1,310 @@ +/** +@param {string} [str] +@return {boolean} +*/ +isXMLName = function(str) {}; + +/** +@param {Object} [value] +@constructor +*/ +function XMLList(value) {} +/** +@param {*} [attributeName] +@return {XMLList} +*/ +XMLList.prototype.attribute = function(attributeName) {}; +/** +@return {XMLList} +*/ +XMLList.prototype.attributes = function() {}; +/** +@param {*} [propertyName] +@return {XMLList} +*/ +XMLList.prototype.child = function(propertyName) {}; +/** +@return {XMLList} +*/ +XMLList.prototype.children = function() {}; +/** +@return {XMLList} +*/ +XMLList.prototype.comments = function() {}; +/** +@param {XML} [value] +@return {boolean} +*/ +XMLList.prototype.contains = function(value) {}; +/** +@return {XMLList} +*/ +XMLList.prototype.copy = function() {}; +/** +@param {*} [name] +@return {XMLList} +*/ +XMLList.prototype.descendants = function(name) {}; +/** +@param {*} [name] +@return {XMLList} +*/ +XMLList.prototype.elements = function(name) {}; +/** +@return {boolean} +*/ +XMLList.prototype.hasComplexContent = function() {}; +/** +@return {boolean} +*/ +XMLList.prototype.hasSimpleContent = function() {}; +/** +@return {XMLList} +*/ +XMLList.prototype.normalize = function() {}; +/** +@return {XML} +*/ +XMLList.prototype.parent = function() {}; +/** +@param {string} [name] +@return {XMLList} +*/ +XMLList.prototype.processingInstructions = function(name) {}; +/** +@return {XMLList} +*/ +XMLList.prototype.text = function() {}; +/** +@return {XMLList} +*/ +XMLList.prototype.valueOf = function() {}; +XMLList.prototype = new XML(); + +/** +@type {boolean} +*/ +XML.prototype.ignoreComments = 0; +/** +@type {boolean} +*/ +XML.prototype.ignoreProcessingInstructions = 0; +/** +@type {boolean} +*/ +XML.prototype.ignoreWhitespace = 0; +/** +@type {boolean} +*/ +XML.prototype.prettyPrinting = 0; +/** +@param {*} [value] +@constructor +*/ +function XML(value) {} +/** +@param {*} [ns] +@return {XML} +*/ +XML.prototype.addNamespace = function(ns) {}; +/** +@param {*} [child] +@return {XML} +*/ +XML.prototype.appendChild = function(child) {}; +/** +@param {*} [attributeName] +@return {XMLList} +*/ +XML.prototype.attribute = function(attributeName) {}; +/** +@return {XMLList} +*/ +XML.prototype.attributes = function() {}; +/** +@param {*} [propertyName] +@return {XMLList} +*/ +XML.prototype.child = function(propertyName) {}; +/** +@return {Number} +*/ +XML.prototype.childIndex = function() {}; +/** +@return {XMLList} +*/ +XML.prototype.children = function() {}; +/** +@return {XMLList} +*/ +XML.prototype.comments = function() {}; +/** +@param {XML} [value] +@return {boolean} +*/ +XML.prototype.contains = function(value) {}; +/** +@return {XML} +*/ +XML.prototype.copy = function() {}; +/** +@return {Object} +*/ +XML.prototype.defaultSettings = function() {}; +/** +@param {*} [name] +@return {XMLList} +*/ +XML.prototype.descendants = function(name) {}; +/** +@param {*} [name] +@return {XMLList} +*/ +XML.prototype.elements = function(name) {}; +/** +@return {boolean} +*/ +XML.prototype.hasComplexContent = function() {}; +/** +@return {boolean} +*/ +XML.prototype.hasSimpleContent = function() {}; +/** +@return {Array} +*/ +XML.prototype.inScopeNamespaces = function() {}; +/** +@param {Object} [child1] +@param {Object} [child2] +@return {XMLList|undefined} +*/ +XML.prototype.insertChildAfter = function(child1,child2) {}; +/** +@param {Object} [child1] +@param {Object} [child2] +@return {XMLList|undefined} +*/ +XML.prototype.insertChildBefore = function(child1,child2) {}; +/** +@return {string} +*/ +XML.prototype.localName = function() {}; +/** +@return {Object} +*/ +XML.prototype.name = function() {}; +/** +@param {string} [prefix] +@return {*} +*/ +XML.prototype.namespace = function(prefix) {}; +/** +@return {Array} +*/ +XML.prototype.namespaceDeclaration = function() {}; +/** +@return {string} +*/ +XML.prototype.nodeKind = function() {}; +/** +@return {XML} +*/ +XML.prototype.normalize = function() {}; +/** +@return {XML} +*/ +XML.prototype.parent = function() {}; +/** +@param {*} [value] +@return {XML} +*/ +XML.prototype.prependChild = function(value) {}; +/** +@param {string} [name] +@return {XMLList} +*/ +XML.prototype.processingInstructions = function(name) {}; +/** +@param {Namespace} [ns] +@return {XML} +*/ +XML.prototype.removeNamespace = function(ns) {}; +/** +@param {*} [propertyName] +@param {*} [value] +@return {XML} +*/ +XML.prototype.replace = function(propertyName,value) {}; +/** +@param {*} [value] +@return {XML} +*/ +XML.prototype.setChildren = function(value) {}; +/** +@param {string} [name] +*/ +XML.prototype.setLocalName = function(name) {}; +/** +@param {string} [name] +*/ +XML.prototype.setName = function(name) {}; +/** +@param {string} [name] +*/ +XML.prototype.setNamespace = function(name) {}; +/** +@param {...*} [settings] +*/ +XML.prototype.setSettings = function(settings) {}; +/** +@return {Object} +*/ +XML.prototype.settings = function() {}; +/** +@return {XMLList} +*/ +XML.prototype.text = function() {}; +/** +@return {string} +*/ +XML.prototype.toXMLString = function() {}; +/** +@return {XML} +*/ +XML.prototype.valueOf = function() {}; + +/** +@type {string} +*/ +Namespace.prototype.prefix = 0; +/** +@type {uri} +*/ +Namespace.prototype.prefix = 0; +/** +@param {*} [prefixValue] +@param {*} [urlValue] +@constructor +*/ +function Namespace(prefixValue,urlValue) {} +/** +@return {Namespace} +*/ +Namespace.prototype.valueOf = function() {}; + +/** +@type {string} +@const +*/ +QName.prototype.localName = 0; +/** +@type {string} +@const +*/ +QName.prototype.uri = 0; +/** +@param {*} [uri] +@param {*} [localName] +@constructor +*/ +function QName(uri,localName) {} diff --git a/JavaScriptDefinitions/js-xml/E4X.js2 b/JavaScriptDefinitions/js-xml/E4X.js2 new file mode 100644 index 0000000..0e9b2d7 --- /dev/null +++ b/JavaScriptDefinitions/js-xml/E4X.js2 @@ -0,0 +1,654 @@ +/** + * Determines whether the specified string is a valid name for an XML element or attribute. + * @param str - A string to evaluate. + * @return Returns true if the str argument is a valid XML name; false otherwise. + */ +package { +public native function isXMLName(str:String):Boolean + +/** + * An XMLList object is an ordered collection of properties. An XMLList object represents an XML document, an XML fragment, + * or an arbitrary collection of XML objects. + * An XMLList object with one XML element is treated the same as an XML object. When there is one XML element, all methods + * that are available for the XML object are also available for the XMLList object. + */ +public final dynamic class XMLList extends XML { + /** + * Creates a new XMLList object. + * @param value - Any object that can be converted to an XMLList object by using the top-level XMLList() function. + * @constructor + */ + public native function XMLList(value:Object = null):XMLList + + /** + * Calls the attribute() method of each XML object and returns an XMLList object of the results. The results match + * the given attributeName parameter. If there is no match, the attribute() method returns an empty XMLList object. + * @param attributeName The name of the attribute that you want to include in an XMLList object. + * @return + */ + public native function attribute(attributeName:*):XMLList + + /** + * Calls the attributes() method of each XML object and returns an XMLList object of attributes for each XML object. + * @return An XMLList object of attributes for each XML object. + */ + public native function attributes():XMLList + + /** + * Calls the child() method of each XML object and returns an XMLList object that contains the results in order. + * @param propertyName - The element name or integer of the XML child. + * @return An XMLList object of child nodes that match the input parameter. + */ + public native function child(propertyName:Object):XMLList + + /** + * Calls the children() method of each XML object and returns an XMLList object that contains the results. + * @return An XMLList object of the children in the XML objects. + */ + public native function children():XMLList + + /** + * Calls the comments() method of each XML object and returns an XMLList of comments. + * @return An XMLList of the comments in the XML objects. + */ + public native function comments():XMLList + + /** + * Checks whether the XMLList object contains an XML object that is equal to the given value parameter. + * @param value - An XML object to compare against the current XMLList object. + * @return If the XMLList contains the XML object declared in the value parameter, then true; otherwise false. + */ + public native function contains(value:XML):Boolean + + /** + * Returns a copy of the given XMLList object. The copy is a duplicate of the entire tree of nodes. The copied XML object has no parent + * and returns null if you attempt to call the parent() method. + * @return The copy of the XMLList object. + */ + public native function copy():XMLList + + /** + * Returns all descendants (children, grandchildren, great-grandchildren, and so on) of the XML object that have the given name parameter. + * The name parameter can be a QName object, a String data type, or any other data type that is then converted to a String data type. + * To return all descendants, use the asterisk (*) parameter. If no parameter is passed, the string "*" is passed and returns all + * descendants of the XML object. + * @param name - The name of the element to match, defaults to *. + */ + public native function descendants(name:Object = *):XMLList + + /** + * Calls the elements() method of each XML object. The name parameter is passed to the descendants() method. If no parameter is passed, + * the string "*" is passed to the descendants() method. + * @param name - the name of the elements to match, defaulting to *. + * @return An XMLList object of the matching child elements of the XML objects + */ + public native function elements(name:Object = *):XMLList + + /** + * Checks whether the XMLList object contains complex content. An XMLList object is considered to contain complex content if it is not + * empty and either of the following conditions is true: + * The XMLList object contains a single XML item with complex content. + * The XMLList object contains elements. + * @return - If the XMLList object contains complex content, then true; otherwise false. + */ + public native function hasComplexContent():Boolean + + /** + * Checks for the property specified by p. + * @param p The property to match. + * @return - If the parameter exists, then true; otherwise false. + */ + public native function hasOwnProperty (p:String):Boolean + + /** + * Checks whether the XMLList object contains simple content. An XMLList object is considered to contain simple content if one or more + * of the following conditions is true: + * The XMLList object is empty + * The XMLList object contains a single XML item with simple content + * The XMLList object contains no elements + * @return - If the XMLList contains simple content, then true; otherwise false. + */ + public native function hasSimpleContent():Boolean + + /** + * Returns the number of properties in the XMLList object. + * @return - If the parameter exists, then true; otherwise false. + */ + public native function length ():int + + /** + * Merges adjacent text nodes and eliminates empty text nodes for each of the following: all text nodes in the XMLList, all the XML + * objects contained in the XMLList, and the descendants of all the XML objects in the XMLList. + * @return - The normalized XMLList object. + */ + public native function normalize():XMLList + + /** + * Returns the parent of the XMLList object if all items in the XMLList object have the same parent. If the XMLList object has no parent + * or different parents, the method returns undefined. + * @return - Returns the parent XML object. + */ + public native function parent():XML + + /** + * If a name parameter is provided, lists all the children of the XMLList object that contain processing instructions with that name. + * With no parameters, the method lists all the children of the XMLList object that contain any processing instructions. + * @param name The name of the processing instructions to match. + * @return - An XMLList object that contains the processing instructions for each XML object. + */ + public native function processingInstructions(name:String = "*"):XMLList + + /** + * Calls the text() method of each XML object and returns an XMLList object that contains the results. + * @param name The name of the processing instructions to match. + * @return - An XMLList object of all XML properties of the XMLList object that represent XML text nodes. + */ + public native function text():XMLList + + /** + * Returns a string representation of all the XML objects in an XMLList object. The rules for this conversion depend on whether the XML + * object has simple content or complex content: + * If the XML object has simple content, toString() returns the string contents of the XML object with the following stripped out: the + * start tag, attributes, namespace declarations, and end tag. + * If the XML object has complex content, toString() returns an XML encoded string representing the entire XML object, including the start + * tag, attributes, namespace declarations, and end tag. + * To return the entire XML object every time, use the toXMLString() method. + * @return - The string representation of the XML object. + */ + public native function toString():String + + /** + * Returns a string representation of all the XML objects in an XMLList object. Unlike the toString() method, the toXMLString() + * method always returns the start tag, attributes, and end tag of the XML object, regardless of whether the XML object has simple content + * or complex content. (The toString() method strips out these items for XML objects that contain simple content.) + * @return - The string representation of the XML object. + */ + public native function toXMLString():String + + public native function valueOf():XMLList; +} + +/** + * The XML class contains methods and properties for working with XML objects. The XML class (along with the XMLList, Namespace, and + * QName classes) implements the powerful XML-handling standards defined in ECMAScript for XML (E4X) specification (ECMA-357 edition 2). + * Use the toXMLString() method to return a string representation of the XML object regardless of whether the XML object has simple content + * or complex content. + */ +public dynamic class XML { +/** + * Determines whether XML comments are ignored when XML objects parse the source XML data. By default, the comments are ignored (true). + * To include XML comments, set this property to false. The ignoreComments property is used only during the XML parsing, not during the call + * to any method such as myXMLObject.child(*).toXMLString(). If the source XML includes comment nodes, they are kept or discarded during the + * XML parsing. + */ + public static native function get ignoreComments():Boolean + public static native function set ignoreComments(value:Boolean):void + + /** + * Determines whether XML processing instructions are ignored when XML objects parse the source XML data. By default, the processing + * instructions are ignored (true). To include XML processing instructions, set this property to false. The ignoreProcessingInstructions + * property is used only during the XML parsing, not during the call to any method such as myXMLObject.child(*).toXMLString(). If the + * source XML includes processing instructions nodes, they are kept or discarded during the XML parsing. + */ + public static native function get ignoreProcessingInstructions():Boolean + public static native function set ignoreProcessingInstructions(value:Boolean):void + + /** + * Determines whether white space characters at the beginning and end of text nodes are ignored during parsing. By default, white space + * is ignored (true). If a text node is 100% white space and the ignoreWhitespace property is set to true, then the node is not created. + * To show white space in a text node, set the ignoreWhitespace property to false. + */ + public static native function get ignoreWhitespace():Boolean + public static native function set ignoreWhitespace(value:Boolean):void + + /** + * Determines the amount of indentation applied by the toString() and toXMLString() methods when the XML.prettyPrinting property is set + * to true. Indentation is applied with the space character, not the tab character. The default value is 2. + */ + public static native function get prettyIndent():int + public static native function set prettyIndent(value:int):void + + /** + * Determines whether the toString() and toXMLString() methods normalize white space characters between some tags. The default value is true. + */ + public static native function get prettyPrinting():Boolean + public static native function set prettyPrinting(value:Boolean):void + + /** + * Creates a new XML object. You must use the constructor to create an XML object before you call any of the methods of the XML class. + * Use the toXMLString() method to return a string representation of the XML object regardless of whether the XML object has simple + * content or complex content. + * @param value + * @constructor + */ + public native function XML(value:Object = null):XML; + + /** + * Adds a namespace to the set of in-scope namespaces for the XML object. If the namespace already exists in the in-scope namespaces + * for the XML object (with a prefix matching that of the given parameter), then the prefix of the existing namespace is set to undefined. + * If the input parameter is a Namespace object, it's used directly. If it's a QName object, the input parameter's URI is used to create + * a new namespace; otherwise, it's converted to a String and a namespace is created from the String. + * @param The namespace to add to the XML object. + * @return The new XML object, with the namespace added. + */ + public native function addNamespace(ns:Object):XML + + /** + * Appends the given child to the end of the XML object's properties. The appendChild() method takes an XML object, an XMLList object, + * or any other data type that is then converted to a String. + * Use the delete (XML) operator to remove XML nodes. + * @param The XML object to append. + * @return The resulting XML object. + */ + public native function appendChild(ns:Object):XML + + /** + * Returns the XML value of the attribute that has the name matching the attributeName parameter. Attributes are found within XML + * elements. In the following example, the element has an attribute named "gender" with the value "boy": John. + * The attributeName parameter can be any data type; however, String is the most common data type to use. When passing any object other + * than a QName object, the attributeName parameter uses the toString() method to convert the parameter to a string. + * If you need a qualified name reference, you can pass in a QName object. A QName object defines a namespace and the local name, which + * you can use to define the qualified name of an attribute. Therefore calling attribute(qname) is not the same as calling + * attribute(qname.toString()). + * @param attributeName The name of the attribute. + * @return An XMLList object or an empty XMLList object. Returns an empty XMLList object when an attribute value has not been defined. + */ + public native function attribute(attributeName:*):XMLList + + /** + * Returns a list of attribute values for the given XML object. Use the name() method with the attributes() method to return the name + * of an attribute. Use @* to return the names of all attributes. + * @return The list of attribute values. + */ + public native function attributes():XMLList + + /** + * Lists the children of an XML object. An XML child is an XML element, text node, comment, or processing instruction. + * Use the propertyName parameter to list the contents of a specific XML child. For example, to return the contents of a child named + * , use child.name("first"). You can generate the same result by using the child's index number. The index number identifies + * the child's position in the list of other XML children. For example, name.child(0) returns the first child in a list. + * Use an asterisk (*) to output all the children in an XML document. For example, doc.child("*"). + * Use the length() method with the asterisk (*) parameter of the child() method to output the total number of children. For example, + * numChildren = doc.child("*").length(). + * @param propertyName - The element name or integer of the XML child. + * @return An XMLList object of child nodes that match the input parameter. + */ + public native function child(propertyName:Object):XMLList + + /** + * Identifies the zero-indexed position of this XML object within the context of its parent. + * @return The position of the object. Returns -1 as well as positive integers. + */ + public native function childIndex():int + + /** + * Lists the children of the XML object in the sequence in which they appear. An XML child is an XML element, text node, comment, + * or processing instruction. + * @return An XMLList object of the XML object's children. + */ + + public native function children():XMLList + + /** + * Lists the properties of the XML object that contain XML comments. + * @return An XMLList object of the properties that contain comments. + */ + public native function comments():XMLList + + /** + * Compares the XML object against the given value parameter. + * @param value - A value to compare against the current XML object. + * @return If the XML object matches the value parameter, then true; otherwise false. + */ + public native function contains(value:XML):Boolean + + /** + * Returns a copy of the given XML object. The copy is a duplicate of the entire tree of nodes. The copied XML object has no parent and + * returns null if you attempt to call the parent() method. + * @return The copy of the object. + */ + public native function copy():XML + + /** + * Returns an object with the following properties set to the default values: ignoreComments, ignoreProcessingInstructions, + * ignoreWhitespace, prettyIndent, and prettyPrinting. + */ + public native static function defaultSettings():Object + + /** + * Returns all descendants (children, grandchildren, great-grandchildren, and so on) of the XML object that have the given name + * parameter. The name parameter is optional. The name parameter can be a QName object, a String data type or any other data type that is + * then converted to a String data type. To return all descendants, use the "*" parameter. If no parameter is passed, the string "*" is + * passed and returns all descendants of the XML object. + * @param name The name of the element to match. + * @return An XMLList object of matching descendants. If there are no descendants, returns an empty XMLList object. + */ + public native function descendants(name:Object = "*"):XMLList + + /** + * Lists the elements of an XML object. An element consists of a start and an end tag; for example . The name parameter + * is optional. The name parameter can be a QName object, a String data type, or any other data type that is then converted to a String + * data type. Use the name parameter to list a specific element. For example, the element "first" returns "John" in this example: + * John. + * To list all elements, use the asterisk (*) as the parameter. The asterisk is also the default parameter. Use the length() method with + * the asterisk parameter to output the total number of elements. For example, numElement = addressbook.elements("*").length(). + * @param name - The name of the element. An element's name is surrounded by angle brackets. For example, "first" is the name + * in this example: . + * @return An XMLList object of the element's content. The element's content falls between the start and end tags. If you use the + * asterisk (*) to call all elements, both the element's tags and content are returned. + */ + public native function elements(name:Object = "*"):XMLList + + /** + * Checks to see whether the XML object contains complex content. An XML object contains complex content if it has child elements. XML + * objects that representing attributes, comments, processing instructions, and text nodes do not have complex content. However, an object + * that contains these can still be considered to contain complex content (if the object has child elements). + * @return If the XML object contains complex content, true; otherwise false. + */ + public native function hasComplexContent():Boolean + +/** + * Checks to see whether the XML object contains simple content. An XML object contains simple content if it represents a text node, an + * attribute node, or an XML element that has no child elements. XML objects that represent comments and processing instructions do not + * contain simple content. + * @return If the XML object contains simple content, true; otherwise false. + */ + public native function hasSimpleContent():Boolean + + /** + * Lists the namespaces for the XML object, based on the object's parent. + * @return An array of Namespace objects + */ + [ArrayElementType("Namespace")] + public native function inScopeNamespaces():Array + + /** + * Inserts the given child2 parameter after the child1 parameter in this XML object and returns the resulting object. If the child1 + * parameter is null, the method inserts the contents of child2 before all children of the XML object (in other words, after none). + * If child1 is provided, but it does not exist in the XML object, the XML object is not modified and undefined is returned. + * If you call this method on an XML child that is not an element (text, attributes, comments, pi, and so on) undefined is returned. + * Use the delete (XML) operator to remove XML nodes. + * @param child1 - The object in the source object that you insert before child2. + * @param child2 - The object to insert. + * @return The resulting XML object or undefined. + */ + public native function insertChildAfter(child1:Object, child2:Object):* + + /** + * Inserts the given child2 parameter before the child1 parameter in this XML object and returns the resulting object. If the child1 + * parameter is null, the method inserts the contents of child2 after all children of the XML object (in other words, before none). + * If child1 is provided, but it does not exist in the XML object, the XML object is not modified and undefined is returned. + * If you call this method on an XML child that is not an element (text, attributes, comments, pi, and so on) undefined is returned. + * Use the delete (XML) operator to remove XML nodes. + * @param child1 - The object in the source object that you insert after child2. + * @param child2 - The object to insert. + * @return The resulting XML object or undefined. + */ + public native function insertChildBefore(child1:Object, child2:Object):* + + /** + * For XML objects, this method always returns the integer 1. The length() method of the XMLList class returns a value of 1 for an + * XMLList object that contains only one value. + * @return Always returns 1 for any XML object. + */ + public native function length():int + + /** + * Gives the local name portion of the qualified name of the XML object. + * @return The local name as either a String or null. + */ + public native function localName():Object + + /** + * Gives the qualified name for the XML object. + * @return The qualified name is either a QName or null. + */ + public native function name():Object + + /** + * If no parameter is provided, gives the namespace associated with the qualified name of this XML object. If a prefix parameter is + * specified, the method returns the namespace that matches the prefix parameter and that is in scope for the XML object. + * If there is no such namespace, the method returns undefined. + * @param prefix The prefix you want to match, defaults to null. + * @return The qualified name is either a QName or null. + */ + public native function namespace(prefix:String = null):Object + +/** + * Lists namespace declarations associated with the XML object in the context of its parent. + * @return An array of Namespace objects. + */ + public native function namespaceDeclarations():/*Namespace*/ Array + +/** + * Specifies the type of node: text, comment, processing-instruction, attribute, or element. + * @return The node type used. + */ + public native function nodeKind():String + + /** + * For the XML object and all descendant XML objects, merges adjacent text nodes and eliminates empty text nodes. + * @return The resulting normalized XML object. + */ + public native function normalize():XML + + /** + * Returns the parent of the XML object. If the XML object has no parent, the method returns undefined. + * @return The parent XML object. Returns either a String or undefined. + */ + public native function parent():* + + /** + * Inserts a copy of the provided child object into the XML element before any existing XML properties for that element. Use the + * delete (XML) operator to remove XML nodes. + * @param value - The object to insert. + * @return The resulting XML object. + */ + public native function prependChild(value:Object):XML + + /** + * If a name parameter is provided, lists all the children of the XML object that contain processing instructions with that name. + * With no parameters, the method lists all the children of the XML object that contain any processing instructions. + * @param The name of the processing instructions to match, defaulting to "*". + * @return A list of matching child objects. + */ + public native function processingInstructions(name:String = "*"):XMLList + + /** + * Removes the given namespace for this object and all descendants. The removeNamespaces() method does not remove a namespace if it is + * referenced by the object's qualified name or the qualified name of the object's attributes. + * @param ns - The namespace to remove. + * @return A copy of the resulting XML object. + */ + public native function removeNamespace(ns:Namespace):XML + + /** + * Replaces the properties specified by the propertyName parameter with the given value parameter. If no properties match propertyName, + * the XML object is left unmodified. + * @param propertyName - Can be a numeric value, an unqualified name for a set of XML elements, a qualified name for a set of XML elements, + * or the asterisk wildcard ("*"). Use an unqualified name to identify XML elements in the default namespace. + * @param value - The replacement value. This can be an XML object, an XMLList object, or any value that can be converted with toString(). + * @return The resulting XML object, with the matching properties replaced. + */ + public native function replace(propertyName:*, value:*):XML + + /** + * Replaces the child properties of the XML object with the specified set of XML properties, provided in the value parameter. + * @param value - The replacement XML properties. Can be a single XML object or an XMLList object. + * @return The resulting XML object. + */ + public native function setChildren(value:Object):XML + + /** + * Changes the local name of the XML object to the given name parameter. + * @param name - The replacement name for the local name. + */ + public native function setLocalName(name:String):void + + /** + * Sets the name of the XML object to the given qualified name or attribute name. + * @param name - The new name for the object. + */ + public native function setName(name:String):void + + /** + * Sets the namespace associated with the XML object. + * @param ns - The new namespace. + */ + public native function setNamespace(name:String):void + + /** + * Sets values for the following XML properties: ignoreComments, ignoreProcessingInstructions, ignoreWhitespace, prettyIndent, and prettyPrinting. + * @param rest An object with each of the following properties: + * ignoreComments + * ignoreProcessingInstructions + * ignoreWhitespace + * prettyIndent + * prettyPrinting + */ + public native static function setSettings(... rest):void + + /** + * Retrieves the following properties: ignoreComments, ignoreProcessingInstructions, ignoreWhitespace, prettyIndent, and prettyPrinting. + * @return An object with the following XML properties: + * ignoreComments + * ignoreProcessingInstructions + * ignoreWhitespace + * prettyIndent + * prettyPrinting + */ + public native static function settings():Object + + /** + * Returns an XMLList object of all XML properties of the XML object that represent XML text nodes. + * @return The list of properties. + */ + public native function text():XMLList + + /** + * Returns a string representation of the XML object. The rules for this conversion depend on whether the XML object has simple content + * or complex content: + * If the XML object has simple content, toString() returns the String contents of the XML object with the following stripped out: + the start tag, attributes, namespace declarations, and end tag. + * If the XML object has complex content, toString() returns an XML encoded String representing the entire XML object, including + the start tag, attributes, namespace declarations, and end tag. + * To return the entire XML object every time, use toXMLString(). + * @return The string representation of the XML object. + */ + public native function toString():String + + /** + * Returns a string representation of the XML object. Unlike the toString() method, the toXMLString() method always returns the start + * tag, attributes, and end tag of the XML object, regardless of whether the XML object has simple content or complex content. + * (The toString() method strips out these items for XML objects that contain simple content.) + * @return The string representation of the XML object. + */ + + public native function toXMLString():String + + public native function valueOf():XML; +} + +/** + * The Namespace class contains methods and properties for defining and working with namespaces. There are three scenarios for using namespaces:
    + *
  • Namespaces of XML objects Namespaces associate a namespace prefix with a Uniform Resource Identifier (URI) that identifies the namespace. + * The prefix is a string used to reference the namespace within an XML object. If the prefix is undefined, when the XML is converted to a + * string, a prefix is automatically generated.
  • + *
  • Namespace to differentiate methods Namespaces can differentiate methods with the same name to perform different tasks. If two methods + * have the same name but separate namespaces, they can perform different tasks.
  • + *
  • Namespaces for access control Namespaces can be used to control access to a group of properties and methods in a class. If you place + * the properties and methods into a private namespace, they are inaccessible to any code that does not have access to that namespace. + * You can grant access to the group of properties and methods by passing the namespace to other classes, methods or functions.
  • + *
+ * This class shows two forms of the constructor method because each form accepts different parameters. + */ +public final class Namespace { + +/** + * The prefix of the namespace. + */ + public native function get prefix():String + public native function set prefix(value:String):void + + /** + * The Uniform Resource Identifier (URI) of the namespace. + */ + public native function get uri():String + public native function set uri(value:String):void + + /** + * Creates a Namespace object according to the values of the prefixValue and uriValue parameters. This constructor requires both parameters. + * The value of the prefixValue parameter is assigned to the prefix property as follows:
    + *
  • If undefined is passed, prefix is set to undefined.
  • + *
  • If the value is a valid XML name, as determined by the isXMLName() function, it is converted to a string and assigned to the prefix property.
  • + *
  • If the value is not a valid XML name, the prefix property is set to undefined.
  • + *
+ * The value of the uriValue parameter is assigned to the uri property as follows: + * If a QName object is passed, the uri property is set to the value of the QName object's uri property. + * If the value is a Namespace object (and first parameter is not specified), a copy of the object is created. + * Otherwise, the uriValue parameter is converted to a string and assigned to the uri property. + * If no values is passed, the prefix and uri properties are set to an empty string. + * @param prefixValue - The prefix to use for the namespace. + * @param uriValue - The Uniform Resource Identifier (URI) of the namespace. + * @constructor + */ + public native function Namespace(prefixValue:* = undefined, uriValue:* = undefined); + + public native function valueOf():Namespace; + + /** + * Equivalent to the Namespace.uri property. + * @return The Uniform Resource Identifier (URI) of the namespace, as a string. + */ + public native function toString():String +} + +/** + * QName objects represent qualified names of XML elements and attributes. Each QName object has a local name and a namespace + * Uniform Resource Identifier (URI). When the value of the namespace URI is null, the QName object matches any namespace. Use the QName + * constructor to create a new QName object that is either a copy of another QName object or a new QName object with a uri from a Namespace + * object and a localName from a QName object. + */ +public final dynamic class QName { +/** + * The local name of the QName object. + */ + public native function get localName():String + + /** + * The Uniform Resource Identifier (URI) of the QName object. + */ + public native function get uri():String + + + /** + * Creates a QName object with a URI object from a Namespace object and a localName from a QName object. If either parameter is not the + * expected data type, the parameter is converted to a string and assigned to the corresponding property of the new QName object. + * For example, if both parameters are strings, a new QName object is returned with a uri property set to the first parameter and a + * localName property set to the second parameter. In other words, the following permutations, along with many others, are valid forms of + * the constructor: + * QName (uri:Namespace, localName:String); + * QName (uri:String, localName: QName); + * QName (uri:String, localName: String); + * If you pass null for the uri parameter, the uri property of the new QName object is set to null. + * When uri is not passed then creates a QName object that is a copy of another QName object. If the parameter passed to the constructor + * is a QName object, a copy of the QName object is created. If the parameter is not a QName object, the parameter is converted to a + * string and assigned to the localName property of the new QName instance. If the parameter is undefined or unspecified, a new QName + * object is created with the localName property set to the empty string. + * @param uri A Namespace object from which to copy the uri value. A parameter of any other type is converted to a string. + * @param localName The QName object to be copied (when uri is not passed). Objects of any other type are converted to a string that is + * assigned to the localName property of the new QName object. + * When uri passed - A QName object from which to copy the localName value. A parameter of any other type is converted to a string. + */ + public native function QName(uri:* = null, localName:* = null); + + public native function toString():String +} + +/** + * A Class object is created for each class definition in a program. Every Class object is an instance of the Class class. The Class object + * contains the static properties and methods of the class. The class object creates instances of the class when invoked using the new + * operator. + */ +public dynamic class Class extends Object {} +} \ No newline at end of file diff --git a/JavaScriptDefinitions/js-xml/E4X.xml b/JavaScriptDefinitions/js-xml/E4X.xml new file mode 100644 index 0000000..c1004c0 --- /dev/null +++ b/JavaScriptDefinitions/js-xml/E4X.xml @@ -0,0 +1,149 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/JavaScriptDefinitions/js-xml/ECMAScript.js2 b/JavaScriptDefinitions/js-xml/ECMAScript.js2 new file mode 100644 index 0000000..674c7cb --- /dev/null +++ b/JavaScriptDefinitions/js-xml/ECMAScript.js2 @@ -0,0 +1,257 @@ +package { +public native function eval(x:*):Object; +public native function parseInt(string:*, radix:int = 10):Number; +public native function parseFloat(string:*):Number; +public native function isNaN(number:Number):Boolean; +public native function get NaN():Number; +public native function isFinite(number:Number):Boolean; +public native function decodeURI(encodedURI:String):String; +public native function decodeURIComponent(encodedURIComponent:String):String; +public native function get Infinity():Number; +public native function encodeURI(uri:String):String; +public native function encodeURIComponent(uriComponent:String):String; +public native var undefined:*; + +public dynamic class Object { + public native function get constructor():*; + public native function set constructor(o:*):void; + public native function get length():Number; + public native function set length(n:Number):void; + public native function get prototype():Object; + public native function set prototype(o:Object):void; + + public native function toLocaleString():Object; + + public native function toSource():Object; + public native function unwatch(prop:String):void; + public native function watch(prop:String, handler:Object):void; + + public native function hasOwnProperty(propertyName:String):Boolean; + public native function isPrototypeOf(o:Object):Boolean; + public native function propertyIsEnumerable(propertyName:String):Boolean; + + public native function toString():String; +} + +public dynamic class Array extends Object { + native public function Array(... rest):*; + public native function get index():Number; + public native function get input():Number; + public native function concat(... items):Array; + public native function join(separator:String):String; + public native function pop():*; + public native function push(... items):void; + public native function reverse():Array; + public native function shift():*; + + native function slice(start:Number = 0, end:Number = Number.MAX_VALUE):Array; + public native function sort(comparefn:Function = null):Array; + public native function splice(start:Number,deleteCount:Number = 0, ... items):Array; + public native function unshift(... items):uint; + public native function get length():uint; + private static const AS3:* = "http://adobe.com/AS3/2006/builtin"; +} + +public class Boolean extends Object { + public native function valueOf():Boolean; +} + +public dynamic class Date extends Object { + public native function Date(... rest); + public native function getDate():Number; + public native function getDay():Number; + public native function getMonth():Number; + public native function getFullYear():Number; + public native function getHours():Number; + + public native function getMilliseconds():Number; + public native function getMinutes():Number; + public native function getSeconds():Number; + public native function getTime():Number; + public native function getTimezoneOffset():Number; + + public native function getUTCDate():Number; + public native function getUTCDay():Number; + public native function getUTCFullYear():Number; + public native function getUTCHours():Number; + public native function getUTCMilliseconds():Number; + public native function getUTCMinutes():Number; + + public native function getUTCMonth():Number; + public native function getUTCSeconds():Number; + public native function getYear():Number; + public static native function parse(s:*):Date; + public native function setDate(date:*):void; + + public native function setFullYear(year:Number, month: Number = 1, date: Number = 1):void; + public native function setHours(hour:Number, min: Number = 1, sec: Number = 1, ms:Number = 1):void; + public native function setMilliseconds(ms: Number):void; + + public native function setMinutes(min: Number, sec: Number = 1, ms:Number = 1):void; + public native function setMonth(month: Number, date: Number = 1):void; + public native function setSeconds(sec: Number, ms:Number = 1):void; + + public native function setTime(time: Number):void; + public native function setUTCDate(date: Number):void; + public native function setUTCFullYear(year:Number, month: Number = 1, date: Number = 1):void; + public native function setUTCHours(hour:Number, min: Number = 1, sec: Number = 1, ms:Number = 1):void; + + public native function setUTCMilliseconds(ms: Number):void; + public native function setUTCMinutes(min: Number, sec: Number = 1, ms:Number = 1):void; + public native function setUTCMonth(month: Number, date: Number = 1):void; + public native function setUTCSeconds(sec: Number, ms:Number = 1):void; + + public native function setYear(year: Number):void; + public native function toGMTString():String; + public native function toLocaleDateString():String; + public native function toLocaleTimeString():String; + public native function toDateString():String; + + public native function toTimeString():String; + public native function toUTCString():String; + public native static function UTC(year:Number, month:Number, date:Number = 1, hours:Number = 1, minutes:Number = 1, seconds:Number = 1, ms:Number = 1):String; + public native function valueOf():Date; +} + +class Arguments extends Array { + public native function get callee():Function; + public native function set callee(value:Function):void; + [Deprecated(message="Property caller is obsolete")] + public native function get caller():Function; +} + +public dynamic class Function extends Object { + public native function get arguments():Arguments; + public native function get arity():Number; + public native function apply(thisArg:Object, argArray:Array = null):Object; + public native function call(thisArg:Object, ...args):Object; +} + +public class Math extends Object { + public native static const E:Number; + public native static const LN10:Number; + public native static const LN2:Number; + public native static const LOG10E:Number; + public native static const LOG2E:Number; + + public native static const PI:Number; + public native static const SQRT1_2:Number; + public native static const SQRT2:Number; + + public native static function abs(x:Number):Number; + public native static function acos(x:Number):Number; + public native static function asin(x:Number):Number; + public native static function atan(x:Number):Number; + public native static function atan2(y:Number, x:Number):Number; + + public native static function ceil(value:Number):Number; + public native static function cos(x:Number):Number; + public native static function exp(x:Number):Number; + public native static function floor(x:Number):Number; + public native static function log(x:Number):Number; + public native static function max(... x/*Number*/):Number; + public native static function min(... x/*Number*/):Number; + + public native static function pow(x:Number, y:Number):Number; + public native static function random():Number; + public native static function round(x:Number):Number; + public native static function sin(x:Number):Number; + public native static function sqrt(x:Number):Number; + public native static function tan(x:Number):Number; +} + +public class Number extends Object { + public static native function get MAX_VALUE():Number + public static native function get MIN_VALUE():Number + public static native function get NaN():Number + public static native function get Infinity():Number + public static native function get NEGATIVE_INFINITY():Number + public static native function get POSITIVE_INFINITY():Number + + public native function toExponential(fractionalDigits:Number):String; + public native function toFixed(fractionalDigits:Number):String; + public native function toPrecision(precision:Number):String; + public native function toString(radix:Number = 10):String; + public native function valueOf():Number; +} + +public dynamic class RegExp extends Object { + public native function RegExp(pattern:String = null, options:String = null); + public native function get global():Boolean; + public native function get ignoreCase():Boolean; + public native function get lastIndex():Number; + public native function set lastIndex(n:Number):void; + + public native static function get leftContext():String; + public native static function get input():String; + public native static function get lastParen():String; + public native static function get lastMatch():String; + public native static function get rightContext():String; + + public native function get multiline():Boolean; + public native function get source():String; + + public native static function get $1():String; + public native static function get $2():String; + public native static function get $3():String; + public native static function get $4():String; + public native static function get $5():String; + + public native function exec(string:String):*; + public native function test(string:String):Boolean; +} + +public class String extends Object { + public native function anchor(nameAttribute:String):String; + public native function big():String; + public native function blink():String; + public native function bold():String; + public native function charAt(pos:Number):String; + public native function charCodeAt(pos:Number):Number; + + public native function concat(...strings):String; + public native function fixed():String; + public native function fontcolor(color:String):String; + public native function fontsize(size:Number):String; + public static native function fromCharCode(... chars):String; + public native function indexOf(searchString:String, position:Number = -1):Number; + + public native function italics():String; + public native function lastIndexOf(searchString:String, position:Number = -1):Number; + native public function get length():int; + public native function link(href:String):String; + public native function localeCompare(that:String):Boolean; + public native function match(regexp:RegExp):Array; + public native function replace(searchValue:*, replaceValue:*):String; + + public native function search(regexp:*):int; + public native function slice(start:Number, end:Number = Number.MAX_VALUE):String; + public native function small():String; + public native function split(separator:*, limit:Number = -1):Array; + public native function strike():String; + public native function sub():String; + + public native function substr(start:Number, length:Number = -1):String; + public native function substring(start:Number, end:Number = -1):String; + public native function sup():String; + public native function toLowerCase():String; + public native function toLocaleLowerCase():String; + public native function toLocaleUpperCase():String; + public native function toUpperCase():String; + public native function valueOf():String; +} + +public dynamic class Error extends Object { + public native function Error(msg:*="", id:*=0); + public var name:String; + public var message:String; + native AS3 function getStackTrace():String; +} + +public class EvalError extends Error {} +public class RangeError extends Error {} +public class ReferenceError extends Error {} +public class SyntaxError extends Error {} +public class TypeError extends Error {} +public class URIError extends Error {} +} diff --git a/JavaScriptDefinitions/js-xml/ECMAScript_Additional.js2 b/JavaScriptDefinitions/js-xml/ECMAScript_Additional.js2 new file mode 100644 index 0000000..a3ab53e --- /dev/null +++ b/JavaScriptDefinitions/js-xml/ECMAScript_Additional.js2 @@ -0,0 +1,4 @@ +package { +public class int extends Number {} +public class uint extends Number {} +} \ No newline at end of file diff --git a/JavaScriptDefinitions/js-xml/EcmaScript.js b/JavaScriptDefinitions/js-xml/EcmaScript.js new file mode 100644 index 0000000..c5fd58d --- /dev/null +++ b/JavaScriptDefinitions/js-xml/EcmaScript.js @@ -0,0 +1,913 @@ +/** +@type {Number} +@const +*/ +NaN = 0; +/** +@type {Number} +*/ +Infinity = 0; +undefined = 0; +/** +@param {*} x +@return {Object} +*/ +eval = function(x) {}; +/** +@param {*} s +@param {Number} [radix] +@return {Number} +*/ +parseInt = function(s,radix) {}; +/** +@param {*} x +@return {Number} +*/ +parseFloat = function(x) {}; +/** +@param {Number} x +@return {boolean} +*/ +isNaN = function(x) {}; +/** +@param {Number} x +@return {boolean} +*/ +isFinite = function(x) {}; +/** +@param {string} encodedURI +@return {string} +*/ +decodeURI = function(encodedURI) {}; +/** +@param {string} encodedURIComponent +@return {string} +*/ +decodeURIComponent = function(encodedURIComponent) {}; +/** +@param {string} uri +@return {string} +*/ +encodeURI = function(uri) {}; +/** +@param {string} uriComponent +@return {string} +*/ +encodeURIComponent = function(uriComponent) {}; + +/** +@type {function} +*/ +Object.constructor = 0; +/** +@type {Number} +*/ +Object.prototype.length = 0; +/** +@type {Object} +*/ +Object.prototype.prototype = 0; +/** +@param {*} [value] +@constructor +*/ +function Object(value) {} +/** +@return {string} +*/ +Object.prototype.toLocaleString = function() {}; +/** +@param {string} propertyName +@return {boolean} +*/ +Object.prototype.hasOwnProperty = function(propertyName) {}; +/** +@param {Object} o +@return {boolean} +*/ +Object.prototype.isPrototypeOf = function(o) {}; +/** +@param {string} propertyName +@return {boolean} +*/ +Object.prototype.propertyIsEnumerable = function(propertyName) {}; +/** +@return {string} +*/ +Object.prototype.toString = function() {}; +/** +@return {*} +*/ +Object.prototype.valueOf = function() {}; + +/** +@param {...*} [args] +@constructor +*/ +function Array(args) {} +/** +@param {...*} [items] +@return {Array} +*/ +Array.prototype.concat = function(items) {}; +/** +@param {string} [separator] +@return {string} +*/ +Array.prototype.join = function(separator) {}; +/** +@return {*} +*/ +Array.prototype.pop = function() {}; +/** +@param {...*} [items] +@return {Number} +*/ +Array.prototype.push = function(items) {}; +/** +@return {Array} +*/ +Array.prototype.reverse = function() {}; +/** +@return {*} +*/ +Array.prototype.shift = function() {}; +/** +@param {Number} [start] +@param {Number} [end] +@return {Array} +*/ +Array.prototype.slice = function(start,end) {}; +/** +@param {function} [compareFn] +@return {Array} +*/ +Array.prototype.sort = function(compareFn) {}; +/** +@param {Number} [start] +@param {Number} [deleteCount] +@param {...*} [items] +@return {Array} +*/ +Array.prototype.splice = function(start,deleteCount,items) {}; +/** +@param {...*} [items] +@return {Number} +*/ +Array.prototype.unshift = function(items) {}; +/** +@return {Array} +*/ +Array.prototype.valueOf = function() {}; + +/** +@param [value] +@constructor +@return {boolean} +*/ +function Boolean(value) {} +/** +@return {boolean} +*/ +Boolean.prototype.valueOf = function() {}; + +/** +@param {number} year +@param {number} month +@param {number} [date] +@param {number} [hours] +@param {number} [minutes] +@param {number} [seconds] +@param {number} [milliseconds] +@static +@return {number} +*/ +Date.UTC = function(year,month,date,hours,minutes,seconds,milliseconds) {}; +/** +@param {string} dateString +@static +@return {number} +*/ +Date.parse = function(dateString) {}; +/** +@param {...*} args +@constructor +*/ +function Date(args) {} +/** +@return {number} +*/ +Date.prototype.getDate = function() {}; +/** +@return {number} +*/ +Date.prototype.getDay = function() {}; +/** +@return {number} +*/ +Date.prototype.getMonth = function() {}; +/** +@return {number} +*/ +Date.prototype.getFullYear = function() {}; +/** +@return {number} +*/ +Date.prototype.getHours = function() {}; +/** +@return {number} +*/ +Date.prototype.getMilliseconds = function() {}; +/** +@return {number} +*/ +Date.prototype.getMinutes = function() {}; +/** +@return {number} +*/ +Date.prototype.getSeconds = function() {}; +/** +@return {number} +*/ +Date.prototype.getTime = function() {}; +/** +@return {number} +*/ +Date.prototype.getTimezoneOffset = function() {}; +/** +@return {number} +*/ +Date.prototype.getUTCDate = function() {}; +/** +@return {number} +*/ +Date.prototype.getUTCDay = function() {}; +/** +@return {number} +*/ +Date.prototype.getUTCFullYear = function() {}; +/** +@return {number} +*/ +Date.prototype.getUTCHours = function() {}; +/** +@return {number} +*/ +Date.prototype.getUTCMilliseconds = function() {}; +/** +@return {number} +*/ +Date.prototype.getUTCMinutes = function() {}; +/** +@return {number} +*/ +Date.prototype.getUTCMonth = function() {}; +/** +@return {number} +*/ +Date.prototype.getUTCSeconds = function() {}; +/** +@return {number} +*/ +Date.prototype.getYear = function() {}; +/** +@param {number} value +*/ +Date.prototype.setDate = function(value) {}; +/** +@param {number} value +*/ +Date.prototype.setFullYear = function(value) {}; +/** +@param {number} value +*/ +Date.prototype.setHours = function(value) {}; +/** +@param {number} value +*/ +Date.prototype.setMilliseconds = function(value) {}; +/** +@param {number} value +*/ +Date.prototype.setMinutes = function(value) {}; +/** +@param {number} value +*/ +Date.prototype.setMonth = function(value) {}; +/** +@param {number} value +*/ +Date.prototype.setSeconds = function(value) {}; +/** +@param {number} value +*/ +Date.prototype.setTime = function(value) {}; +/** +@param {number} value +*/ +Date.prototype.setUTCDate = function(value) {}; +/** +@param {number} value +*/ +Date.prototype.setUTCFullYear = function(value) {}; +/** +@param {number} value +*/ +Date.prototype.setUTCHours = function(value) {}; +/** +@param {number} value +*/ +Date.prototype.setUTCMilliseconds = function(value) {}; +/** +@param {number} value +*/ +Date.prototype.setUTCMinutes = function(value) {}; +/** +@param {number} value +*/ +Date.prototype.setUTCMonth = function(value) {}; +/** +@param {number} value +*/ +Date.prototype.setUTCSeconds = function(value) {}; +/** +@param {number} value +*/ +Date.prototype.setYear = function(value) {}; +/** +@return {string} +*/ +Date.prototype.toDateString = function() {}; +/** +@return {string} +*/ +Date.prototype.toISOString = function() {}; +/** +@return {string} +*/ +Date.prototype.toLocaleDateString = function() {}; +/** +@return {string} +*/ +Date.prototype.toLocaleString = function() {}; +/** +@return {string} +*/ +Date.prototype.toLocaleTimeString = function() {}; +/** +@return {string} +*/ +Date.prototype.toTimeString = function() {}; +/** +@return {string} +*/ +Date.prototype.toUTCString = function() {}; + +/** +@type {function} +*/ +Arguments.prototype.callee = 0; +/** +@type {function} +@const +@deprecated +*/ +Arguments.prototype.caller = 0; +Arguments.prototype = new Array(); +Arguments = {}; + +/** +@type {Arguments} +@const +*/ +Function.prototype.arguments = 0; +/** +@type {Number} +@const +*/ +Function.prototype.arity = 0; +/** +@param {Object} [thisArg] +@param {Array} [argArray] +@return {*} +*/ +Function.prototype.apply = function(thisArg,argArray) {}; +/** +@param {Object} [thisArg] +@param {...*} [args] +@return {*} +*/ +Function.prototype.call = function(thisArg,args) {}; +Function = {}; + +/** +@static +@type {number} +@const +*/ +Math.E = 0; +/** +@static +@type {number} +@const +*/ +Math.LN10 = 0; +/** +@static +@type {number} +@const +*/ +Math.LN2 = 0; +/** +@static +@type {number} +@const +*/ +Math.LOG10E = 0; +/** +@static +@type {number} +@const +*/ +Math.LOG2E = 0; +/** +@static +@type {number} +@const +*/ +Math.PI = 0; +/** +@static +@type {number} +@const +*/ +Math.SQRT1_2 = 0; +/** +@static +@type {number} +@const +*/ +Math.SQRT2 = 0; +/** +@param {number} x +@static +@return {number} +*/ +Math.abs = function(x) {}; +/** +@param {number} x +@static +@return {number} +*/ +Math.acos = function(x) {}; +/** +@param {number} x +@static +@return {number} +*/ +Math.asin = function(x) {}; +/** +@param {number} x +@static +@return {number} +*/ +Math.atan = function(x) {}; +/** +@param {number} x +@param {number} y +@static +@return {number} +*/ +Math.atan2 = function(x,y) {}; +/** +@param {number} x +@static +@return {number} +*/ +Math.ceil = function(x) {}; +/** +@param {number} x +@static +@return {number} +*/ +Math.cos = function(x) {}; +/** +@param {number} x +@static +@return {number} +*/ +Math.exp = function(x) {}; +/** +@param {number} x +@static +@return {number} +*/ +Math.floor = function(x) {}; +/** +@param {number} x +@static +@return {number} +*/ +Math.log = function(x) {}; +/** +@param {...number} x +@static +@return {number} +*/ +Math.max = function(x) {}; +/** +@param {...number} x +@static +@return {number} +*/ +Math.min = function(x) {}; +/** +@param {number} x +@param {number} y +@static +@return {number} +*/ +Math.pow = function(x,y) {}; +/** +@static +@return {number} +*/ +Math.random = function() {}; +/** +@param {number} x +@static +@return {number} +*/ +Math.round = function(x) {}; +/** +@param {number} x +@static +@return {number} +*/ +Math.sin = function(x) {}; +/** +@param {number} x +@static +@return {number} +*/ +Math.sqrt = function(x) {}; +/** +@param {number} x +@static +@return {number} +*/ +Math.tan = function(x) {}; +Math = {}; + +/** +@static +@type {Number} +@const +*/ +Number.MAX_VALUE = 0; +/** +@static +@type {Number} +@const +*/ +Number.MIN_VALUE = 0; +/** +@static +@type {Number} +@const +*/ +Number.NaN = 0; +/** +@static +@type {Number} +@const +*/ +Number.NEGATIVE_INFINITY = 0; +/** +@static +@type {Number} +@const +*/ +Number.POSITIVE_INFINITY = 0; +/** +@param [value] +@constructor +@return {number} +*/ +function Number(value) {} +/** +@param {Number} [fractionalDigits] +@return {string} +*/ +Number.prototype.toExponential = function(fractionalDigits) {}; +/** +@param {Number} [fractionalDigits] +@return {string} +*/ +Number.prototype.toFixed = function(fractionalDigits) {}; +/** +@param {Number} [precision] +@return {string} +*/ +Number.prototype.toPrecision = function(precision) {}; +/** +@param {Number} [radix] +@return {string} +*/ +Number.prototype.toString = function(radix) {}; +/** +@return {Number} +*/ +Number.prototype.valueOf = function() {}; + +/** +@static +@type {string} +@const +*/ +RegExp.leftContext = 0; +/** +@static +@type {string} +@const +*/ +RegExp.input = 0; +/** +@static +@type {string} +@const +*/ +RegExp.lastParen = 0; +/** +@static +@type {string} +@const +*/ +RegExp.lastMatch = 0; +/** +@static +@type {string} +@const +*/ +RegExp.rightContext = 0; +/** +@static +@type {string} +@const +*/ +RegExp.$1 = 0; +/** +@static +@type {string} +@const +*/ +RegExp.$2 = 0; +/** +@static +@type {string} +@const +*/ +RegExp.$3 = 0; +/** +@static +@type {string} +@const +*/ +RegExp.$4 = 0; +/** +@static +@type {string} +@const +*/ +RegExp.$5 = 0; +/** +@type {boolean} +@const +*/ +RegExp.prototype.global = 0; +/** +@type {boolean} +@const +*/ +RegExp.prototype.ignoreCase = 0; +/** +@type {Number} +*/ +RegExp.prototype.lastIndex = 0; +/** +@type {boolean} +*/ +RegExp.prototype.multiline = 0; +/** +@type {string} +*/ +RegExp.prototype.source = 0; +/** +@param {string} [pattern] +@param {string} [options] +@constructor +*/ +function RegExp(pattern,options) {} +/** +@param {string} [String] +@return {Array|{index:number, input:string}} +*/ +RegExp.prototype.exec = function(String) {}; +/** +@param {string} [String] +@return {boolean} +*/ +RegExp.prototype.test = function(String) {}; + +/** +@param {...Number} [chars] +@static +@return {string} +*/ +String.fromCharCode = function(chars) {}; +/** +@param [value] +@constructor +@return {string} +*/ +function String(value) {} +/** +@param {string} [nameAttribute] +@return {string} +*/ +String.prototype.anchor = function(nameAttribute) {}; +/** +@return {string} +*/ +String.prototype.big = function() {}; +/** +@return {string} +*/ +String.prototype.blink = function() {}; +/** +@return {string} +*/ +String.prototype.bold = function() {}; +/** +@param {Number} pos +@return {string} +*/ +String.prototype.charAt = function(pos) {}; +/** +@return {Number} +*/ +String.prototype.charCodeAt = function(index) {}; +/** +@param {...string} [strings] +@return {string} +*/ +String.prototype.concat = function(strings) {}; +/** +@return {string} +*/ +String.prototype.fixed = function() {}; +/** +@param {string} color +@return {string} +*/ +String.prototype.fontcolor = function(color) {}; +/** +@param {Number} size +@return {string} +*/ +String.prototype.fontsize = function(size) {}; +/** +@param {string} searchString +@param {Number} [position] +@return {Number} +*/ +String.prototype.indexOf = function(searchString,position) {}; +/** +@return {string} +*/ +String.prototype.italics = function() {}; +/** +@param {string} searchString +@param {Number} [position] +@return {Number} +*/ +String.prototype.lastIndexOf = function(searchString,position) {}; +/** +@param {string} href +@return {string} +*/ +String.prototype.link = function(href) {}; +/** +@param {string} that +@return {boolean} +*/ +String.prototype.localeCompare = function(that) {}; +/** +@param {RegExp} regexp +@return {Array|{index:number, input:string}} +*/ +String.prototype.match = function(regexp) {}; +/** +@param {RegExp|string} searchValue +@param {string|function} replaceValue +@return {string} +*/ +String.prototype.replace = function(searchValue,replaceValue) {}; +/** +@param {*} regexp +@return {Number} +*/ +String.prototype.search = function(regexp) {}; +/** +@param {Number} start +@param {Number} [end] +@return {string} +*/ +String.prototype.slice = function(start,end) {}; +/** +@return {string} +*/ +String.prototype.small = function() {}; +/** +@param {*} separator +@param {Number} [limit] +@return {Array} +*/ +String.prototype.split = function(separator,limit) {}; +/** +@return {string} +*/ +String.prototype.strike = function() {}; +/** +@return {string} +*/ +String.prototype.sub = function() {}; +/** +@param {Number} start +@param {Number} [length] +@return {string} +*/ +String.prototype.substr = function(start,length) {}; +/** +@param {Number} start +@param {Number} [end] +@return {string} +*/ +String.prototype.substring = function(start,end) {}; +/** +@return {string} +*/ +String.prototype.sup = function() {}; +/** +@return {string} +*/ +String.prototype.toLowerCase = function() {}; +/** +@return {string} +*/ +String.prototype.toLocaleLowerCase = function() {}; +/** +@return {string} +*/ +String.prototype.toLocaleUpperCase = function() {}; +/** +@return {string} +*/ +String.prototype.toUpperCase = function() {}; +/** +@return {string} +*/ +String.prototype.valueOf = function() {}; + +/** +@type {string} +*/ +Error.prototype.name = 0; +/** +@type {string} +*/ +Error.prototype.message = 0; +/** +@param {*} [msg] +@param {*} [id] +@constructor +*/ +function Error(msg,id) {} + +EvalError.prototype = new Error(); +EvalError = {}; + +RangeError.prototype = new Error(); +RangeError = {}; + +ReferenceError.prototype = new Error(); +ReferenceError = {}; + +SyntaxError.prototype = new Error(); +SyntaxError = {}; + +TypeError.prototype = new Error(); +TypeError = {}; + +URIError.prototype = new Error(); +URIError = {}; diff --git a/JavaScriptDefinitions/js-xml/EcmaScript.xml b/JavaScriptDefinitions/js-xml/EcmaScript.xml new file mode 100644 index 0000000..0f40097 --- /dev/null +++ b/JavaScriptDefinitions/js-xml/EcmaScript.xml @@ -0,0 +1,443 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/JavaScriptDefinitions/js-xml/EcmaScript5.js b/JavaScriptDefinitions/js-xml/EcmaScript5.js new file mode 100644 index 0000000..30cc2bc --- /dev/null +++ b/JavaScriptDefinitions/js-xml/EcmaScript5.js @@ -0,0 +1,184 @@ +/** +@param {Object} object +@static +@return {boolean} +*/ +Object.isExtensible = function(object) {}; +/** +@param {Object} obj +@static +@return {void} +*/ +Object.preventExtensions = function(obj) {}; +/** +@param {Object} obj +@param {string} prop +@static +@return {Object} +*/ +Object.getOwnPropertyDescriptor = function(obj,prop) {}; +/** +@param {Object} obj +@param {string} prop +@param {Object} desc +@static +@return {void} +*/ +Object.defineProperty = function(obj,prop,desc) {}; +/** +@param {Object} obj +@param {Object} props +@static +@return {void} +*/ +Object.defineProperties = function(obj,props) {}; +/** +@param {Object} obj +@static +@return {Array} +*/ +Object.keys = function(obj) {}; +/** +@param {Object} obj +@static +@return {Array} +*/ +Object.getOwnPropertyNames = function(obj) {}; +/** +@param {Object} proto +@param {Object} [props] +@static +@return {void} +*/ +Object.create = function(proto,props) {}; +/** +@param {Object} obj +@static +@return {Object} +*/ +Object.getPrototypeOf = function(obj) {}; +/** +@param {Object} obj +@static +@return {void} +*/ +Object.seal = function(obj) {}; +/** +@param {Object} obj +@static +@return {boolean} +*/ +Object.isSealed = function(obj) {}; +/** +@param {Object} obj +@static +@return {void} +*/ +Object.freeze = function(obj) {}; +/** +@param {Object} obj +@static +@return {boolean} +*/ +Object.isFrozen = function(obj) {}; + +/** +@param {Function} callback +@param {Object} [initialValue] +@return {Object} +*/ +Array.prototype.reduce = function(callback,initialValue) {}; +/** +@param {Function} callback +@param {Object} [initialValue] +@return {Object} +*/ +Array.prototype.reduceRight = function(callback,initialValue) {}; +/** +@param {Object} searchElement +@param {number} [fromIndex] +@return {number} +*/ +Array.prototype.indexOf = function(searchElement,fromIndex) {}; +/** +@param {Object} searchElement +@param {number} [fromIndex] +@return {number} +*/ +Array.prototype.lastIndexOf = function(searchElement,fromIndex) {}; +/** +@param {Function} callback +@param {Object} [thisObject] +@return {boolean} +*/ +Array.prototype.every = function(callback,thisObject) {}; +/** +@param {Function} callback +@param {Object} [thisObject] +@return {Array} +*/ +Array.prototype.filter = function(callback,thisObject) {}; +/** +@param {Function} callback +@param {Object} [thisObject] +@return {void} +*/ +Array.prototype.forEach = function(callback,thisObject) {}; +/** +@param {Function} callback +@param {Object} [thisObject] +@return {Array} +*/ +Array.prototype.map = function(callback,thisObject) {}; +/** +@param {Function} callback +@param {Object} [thisObject] +@return {boolean} +*/ +Array.prototype.some = function(callback,thisObject) {}; +/** +@param {Object} object +@return {boolean} +*/ +Array.prototype.isArray = function(object) {}; + +/** +@return {string} +*/ +String.prototype.trim = function() {}; +/** +@return {string} +*/ +String.prototype.toJSON = function() {}; + +/** +@param {T} thisArg +@param {...*} [arg] +@return {function(this:T)} +@template T +*/ +Function.prototype.bind = function(thisArg,arg) {}; + +/** +@param {*} value +@param {Function} [replacer] +@param {Number|String} [space] +@static +*/ +JSON.stringify = function(value,replacer,space) {}; +/** +@param {string} jsonString +@static +*/ +JSON.parse = function(jsonString) {}; +JSON = function() {}; +JSON.constructor = 0; +/** +@static +@return {number} +*/ +Date.now = function() {}; +/** +@return {string} +*/ +Date.prototype.toJSON = function() {}; diff --git a/JavaScriptDefinitions/js-xml/EcmaScript5.xml b/JavaScriptDefinitions/js-xml/EcmaScript5.xml new file mode 100644 index 0000000..0bca756 --- /dev/null +++ b/JavaScriptDefinitions/js-xml/EcmaScript5.xml @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/JavaScriptDefinitions/js-xml/HTML5.js b/JavaScriptDefinitions/js-xml/HTML5.js new file mode 100644 index 0000000..04191ae --- /dev/null +++ b/JavaScriptDefinitions/js-xml/HTML5.js @@ -0,0 +1,2166 @@ +/** +@type {number} +@const +*/ +Blob.prototype.size = 0; +/** +@type {string} +@const +*/ +Blob.prototype.type = 0; +/** +@param {number} [start] +@param {number} [end] +@param {string} [contentType] +@return {Blob} +*/ +Blob.prototype.slice = function(start,end,contentType) {}; +Blob = {}; + +/** +@type {number} +@const +*/ +FileList.prototype.length = 0; +/** +@param {number} [item] +@return {File} +*/ +FileList.prototype.item = function(item) {}; +FileList = {}; + +/** +@type {FileList} +@const +*/ +HTMLInputElement.prototype.files = 0; +HTMLInputElement = {}; + +/** +@type {string} +@const +*/ +File.prototype.name = 0; +/** +@type {Date} +@const +*/ +File.prototype.lastModifiedDate = 0; +File.prototype = new Blob(); +File = {}; + +/** +@static +@type {number} +@const +*/ +FileReader.EMPTY = 0; +/** +@static +@type {number} +@const +*/ +FileReader.LOADING = 1; +/** +@static +@type {number} +@const +*/ +FileReader.DONE = 2; +/** +@type {number} +@const +*/ +FileReader.prototype.readyState = 0; +/** +@type {Object} +@const +*/ +FileReader.prototype.result = 0; +/** +@type {Error} +@const +*/ +FileReader.prototype.error = 0; +/** +@type {Function} +*/ +Object.defineProperty(FileReader, "onloadstart", { set: function(value) {} }); +/** +@type {Function} +*/ +Object.defineProperty(FileReader, "onprogress", { set: function(value) {} }); +/** +@type {Function} +*/ +Object.defineProperty(FileReader, "onload", { set: function(value) {} }); +/** +@type {Function} +*/ +Object.defineProperty(FileReader, "onabort", { set: function(value) {} }); +/** +@type {Function} +*/ +Object.defineProperty(FileReader, "onerror", { set: function(value) {} }); +/** +@type {Function} +*/ +Object.defineProperty(FileReader, "onloadend", { set: function(value) {} }); +/** +@param {Blob} blob +@return {void} +*/ +FileReader.prototype.readAsArrayBuffer = function(blob) {}; +/** +@param {Blob} blob +@return {void} +*/ +FileReader.prototype.readAsBinaryString = function(blob) {}; +/** +@param {Blob} blob +@param {string} [encoding] +@return {void} +*/ +FileReader.prototype.readAsText = function(blob,encoding) {}; +/** +@param {Blob} blob +@return {void} +*/ +FileReader.prototype.readAsDataURL = function(blob) {}; +/** +@return {void} +*/ +FileReader.prototype.abort = function() {}; +FileReader.prototype = new EventTarget(); +FileReader = {}; + +/** +@type {DOMStringMap} +@const +*/ +Node.prototype.dataset = 0; +/** +@type {DOMTokenList} +@const +*/ +Node.prototype.classList = 0; +Node = {}; + +DOMStringMap = {}; + +/** +@type {Number} +@const +*/ +DOMTokenList.prototype.length = 0; +/** +@param {string} className +@return {boolean} +*/ +DOMTokenList.prototype.contains = function(className) {}; +/** +@param {string} className +*/ +DOMTokenList.prototype.add = function(className) {}; +/** +@param {string} className +*/ +DOMTokenList.prototype.remove = function(className) {}; +/** +@param {string} className +*/ +DOMTokenList.prototype.toggle = function(className) {}; +DOMTokenList = {}; + +/** +@param {Database} database +@return {void} +*/ +DatabaseCallback.prototype.handleEvent = function(database) {}; +DatabaseCallback = {}; + +/** +@type {Function} +*/ +Notification.prototype.ondisplay = 0; +/** +@type {Function} +*/ +Notification.prototype.onerror = 0; +/** +@type {Function} +*/ +Notification.prototype.onclose = 0; +/** +@return {void} +*/ +Notification.prototype.show = function() {}; +/** +@return {void} +*/ +Notification.prototype.cancel = function() {}; +Notification.prototype = new EventTarget(); +Notification = {}; + +HtmlElement = {}; + +/** +@static +@type {Number} +@const +*/ +HTMLMediaElement.HAVE_NOTHING = 0; +/** +@static +@type {Number} +@const +*/ +HTMLMediaElement.HAVE_METADATA = 1; +/** +@static +@type {Number} +@const +*/ +HTMLMediaElement.HAVE_CURRENT_DATA = 2; +/** +@static +@type {Number} +@const +*/ +HTMLMediaElement.HAVE_FUTURE_DATA = 3; +/** +@static +@type {Number} +@const +*/ +HTMLMediaElement.HAVE_ENOUGH_DATA = 4; +/** +@static +@type {Number} +@const +*/ +HTMLMediaElement.NETWORK_EMPTY = 0; +/** +@static +@type {Number} +@const +*/ +HTMLMediaElement.NETWORK_IDLE = 1; +/** +@static +@type {Number} +@const +*/ +HTMLMediaElement.NETWORK_LOADING = 2; +/** +@static +@type {Number} +@const +*/ +HTMLMediaElement.NETWORK_NO_SOURCE = 3; +/** +@type {MediaError} +@const +*/ +HTMLMediaElement.prototype.error = 0; +/** +@type {string} +*/ +HTMLMediaElement.prototype.src = 0; +/** +@type {string} +@const +*/ +HTMLMediaElement.prototype.currentSrc = 0; +/** +@type {Number} +@const +*/ +HTMLMediaElement.prototype.networkState = 0; +/** +@type {string} +*/ +HTMLMediaElement.prototype.preload = 0; +/** +@type {TimeRanges} +@const +*/ +HTMLMediaElement.prototype.buffered = 0; +/** +@type {Number} +@const +*/ +HTMLMediaElement.prototype.readyState = 0; +/** +@type {boolean} +@const +*/ +HTMLMediaElement.prototype.seeking = 0; +/** +@type {Number} +*/ +HTMLMediaElement.prototype.currentTime = 0; +/** +@type {Number} +@const +*/ +HTMLMediaElement.prototype.startTime = 0; +/** +@type {Number} +@const +*/ +HTMLMediaElement.prototype.duration = 0; +/** +@type {boolean} +@const +*/ +HTMLMediaElement.prototype.paused = 0; +/** +@type {Number} +*/ +HTMLMediaElement.prototype.defaultPlaybackRate = 0; +/** +@type {Number} +*/ +HTMLMediaElement.prototype.playbackRate = 0; +/** +@type {TimeRanges} +@const +*/ +HTMLMediaElement.prototype.played = 0; +/** +@type {TimeRanges} +@const +*/ +HTMLMediaElement.prototype.seekable = 0; +/** +@type {boolean} +@const +*/ +HTMLMediaElement.prototype.ended = 0; +/** +@type {boolean} +*/ +HTMLMediaElement.prototype.autoplay = 0; +/** +@type {boolean} +*/ +HTMLMediaElement.prototype.loop = 0; +/** +@type {boolean} +*/ +HTMLMediaElement.prototype.controls = 0; +/** +@type {Number} +*/ +HTMLMediaElement.prototype.volume = 0; +/** +@type {boolean} +*/ +HTMLMediaElement.prototype.muted = 0; +/** +@type {Array} +@const +*/ +HTMLMediaElement.prototype.tracks = 0; +/** +@return {void} +*/ +HTMLMediaElement.prototype.load = function() {}; +/** +@param {string} type +@return {string} +*/ +HTMLMediaElement.prototype.canPlayType = function(type) {}; +/** +@return {void} +*/ +HTMLMediaElement.prototype.play = function() {}; +/** +@return {void} +*/ +HTMLMediaElement.prototype.pause = function() {}; +/** +@param {string} label +@param {string} kind +@param {string} language +@return {MutableTimedTrack} +*/ +HTMLMediaElement.prototype.addTrack = function(label,kind,language) {}; +HTMLMediaElement.prototype = new HTMLElement(); +HTMLMediaElement = {}; + +/** +@static +@type {number} +@const +*/ +MediaError.MEDIA_ERR_ABORTED = 1; +/** +@static +@type {number} +@const +*/ +MediaError.MEDIA_ERR_NETWORK = 2; +/** +@static +@type {number} +@const +*/ +MediaError.MEDIA_ERR_DECODE = 3; +/** +@static +@type {number} +@const +*/ +MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED = 4; +/** +@type {number} +@const +*/ +MediaError.prototype.code = 0; +MediaError = {}; + +/** +@type {number} +@const +*/ +TimeRanges.prototype.length = 0; +/** +@param {number} index +@return {number} +*/ +TimeRanges.prototype.start = function(index) {}; +/** +@param {number} index +@return {number} +*/ +TimeRanges.prototype.end = function(index) {}; +TimeRanges = {}; + +/** +@static +@type {number} +@const +*/ +TimedTrack.NONE = 0; +/** +@static +@type {number} +@const +*/ +TimedTrack.LOADING = 1; +/** +@static +@type {number} +@const +*/ +TimedTrack.LOADED = 2; +/** +@static +@type {number} +@const +*/ +TimedTrack.ERROR = 3; +/** +@static +@type {number} +@const +*/ +TimedTrack.OFF = 0; +/** +@static +@type {number} +@const +*/ +TimedTrack.HIDDEN = 1; +/** +@static +@type {number} +@const +*/ +TimedTrack.SHOWING = 2; +/** +@type {string} +@const +*/ +TimedTrack.prototype.kind = 0; +/** +@type {string} +@const +*/ +TimedTrack.prototype.label = 0; +/** +@type {string} +@const +*/ +TimedTrack.prototype.language = 0; +/** +@type {number} +@const +*/ +TimedTrack.prototype.readyState = 0; +/** +@type {Function} +@const +*/ +TimedTrack.prototype.onload = 0; +/** +@type {Function} +@const +*/ +TimedTrack.prototype.onerror = 0; +/** +@type {number} +*/ +TimedTrack.prototype.mode = 0; +/** +@type {TimedTrackCueList} +@const +*/ +TimedTrack.prototype.cues = 0; +/** +@type {TimedTrackCueList} +@const +*/ +TimedTrack.prototype.activeCues = 0; +/** +@type {Function} +@const +*/ +TimedTrack.prototype.onentercue = 0; +/** +@type {Function} +@const +*/ +TimedTrack.prototype.onexitcue = 0; +TimedTrack = {}; + +/** +@param {TimedTrackCue} cue +@return {void} +*/ +MutableTimedTrack.prototype.addCue = function(cue) {}; +/** +@param {TimedTrackCue} cue +@return {void} +*/ +MutableTimedTrack.prototype.removeCue = function(cue) {}; +MutableTimedTrack.prototype = new TimedTrack(); +MutableTimedTrack = {}; + +/** +@type {TimedTrack} +@const +*/ +TimedTrackCue.prototype.track = 0; +/** +@type {string} +@const +*/ +TimedTrackCue.prototype.id = 0; +/** +@type {Number} +@const +*/ +TimedTrackCue.prototype.startTime = 0; +/** +@type {Number} +@const +*/ +TimedTrackCue.prototype.endTime = 0; +/** +@type {boolean} +@const +*/ +TimedTrackCue.prototype.pauseOnExit = 0; +/** +@type {string} +@const +*/ +TimedTrackCue.prototype.direction = 0; +/** +@type {boolean} +@const +*/ +TimedTrackCue.prototype.snapToLines = 0; +/** +@type {Number} +@const +*/ +TimedTrackCue.prototype.linePosition = 0; +/** +@type {Number} +@const +*/ +TimedTrackCue.prototype.textPosition = 0; +/** +@type {Number} +@const +*/ +TimedTrackCue.prototype.size = 0; +/** +@type {string} +@const +*/ +TimedTrackCue.prototype.alignment = 0; +/** +@type {string} +@const +*/ +TimedTrackCue.prototype.voice = 0; +/** +@return {string} +*/ +TimedTrackCue.prototype.getCueAsSource = function() {}; +/** +@return {DocumentFragment} +*/ +TimedTrackCue.prototype.getCueAsHTML = function() {}; +/** +@param {string} id +@param {Number} startTime +@param {Number} endTime +@param {string} settings +@param {string} text +@param {boolean} [pauseOnExit] +@return {TimedTrackCue} +*/ +TimedTrackCue.prototype.TimedTrackCue = function(id,startTime,endTime,settings,text,pauseOnExit) {}; +TimedTrackCue = {}; + +/** +@type {Number} +@const +*/ +TimedTrackCueList.prototype.length = 0; +/** +@param {string} id +@return {TimedTrackCue} +*/ +TimedTrackCueList.prototype.getCueById = function(id) {}; +TimedTrackCueList = {}; + +/** +@type {Number} +*/ +HTMLVideoElement.prototype.width = 0; +/** +@type {Number} +*/ +HTMLVideoElement.prototype.height = 0; +/** +@type {Number} +@const +*/ +HTMLVideoElement.prototype.videoWidth = 0; +/** +@type {Number} +@const +*/ +HTMLVideoElement.prototype.videoHeight = 0; +/** +@type {string} +*/ +HTMLVideoElement.prototype.poster = 0; +HTMLVideoElement.prototype = new HTMLMediaElement(); +HTMLVideoElement = {}; + +/** +@type {string} +@const +*/ +Database.prototype.version = 0; +/** +@param {SQLTransactionCallback|SQLTransactionSyncCallback|Function} callback +@param {SQLTransactionErrorCallback|Function} [errorCallback] +@param {SQLVoidCallback|Function} [successCallback] +*/ +Database.prototype.transaction = function(callback,errorCallback,successCallback) {}; +/** +@param {SQLTransactionCallback|SQLTransactionSyncCallback|Function} callback +@param {SQLTransactionErrorCallback|Function} [errorCallback] +@param {SQLVoidCallback|Function} [successCallback] +*/ +Database.prototype.readTransaction = function(callback,errorCallback,successCallback) {}; +/** +@param {string} oldVersion +@param {string} newVersion +@param {SQLTransactionCallback|Function} [callback] +@param {SQLTransactionErrorCallback|Function} [errorCallback] +@param {SQLVoidCallback|Function} [successCallback] +*/ +Database.prototype.changeVersion = function(oldVersion,newVersion,callback,errorCallback,successCallback) {}; +Database = {}; + +/** +@return {void} +*/ +SQLVoidCallback.prototype.handleEvent = function() {}; +SQLVoidCallback = {}; + +/** +@param {SQLTransaction} [transaction] +@return {void} +*/ +SQLTransactionCallback.prototype.handleEvent = function(transaction) {}; +SQLTransactionCallback = {}; + +/** +@param {SQLError} [error] +@return {void} +*/ +SQLTransactionErrorCallback.prototype.handleEvent = function(error) {}; +SQLTransactionErrorCallback = {}; + +/** +@param {string} sqlStatement +@param {Object[]} [arguments] +@param {SQLStatementCallback} [callback] +@param {SQLStatementErrorCallback} [errorCallback] +@return {void} +*/ +SQLTransaction.prototype.executeSql = function(sqlStatement,arguments,callback,errorCallback) {}; +SQLTransaction = {}; + +/** +@param {SQLTransaction} [transaction] +@param {SQLResultSet} [resultSet] +@return {void} +*/ +SQLStatementCallback.prototype.handleEvent = function(transaction,resultSet) {}; +SQLStatementCallback = {}; + +/** +@param {SQLTransaction} [transaction] +@param {SQLError} [error] +@return {boolean} +*/ +SQLStatementErrorCallback.prototype.handleEvent = function(transaction,error) {}; +SQLStatementErrorCallback = {}; + +/** +@param {SQLTransactionSync} [transaction] +@return {void} +*/ +SQLTransactionSyncCallback.prototype.handleEvent = function(transaction) {}; +SQLTransactionSyncCallback = {}; + +/** +@param {string} sqlStatement +@param {Object[]} [arguments] +@return {SQLResultSet} +*/ +SQLTransactionSync.prototype.executeSql = function(sqlStatement,arguments) {}; +SQLTransactionSync = {}; + +/** +@type {Number} +@const +*/ +SQLResultSet.prototype.insertId = 0; +/** +@type {Number} +@const +*/ +SQLResultSet.prototype.rowsAffected = 0; +/** +@type {SQLResultSetRowList} +@const +*/ +SQLResultSet.prototype.rows = 0; +SQLResultSet = {}; + +/** +@type {number} +@const +*/ +SQLResultSetRowList.prototype.length = 0; +/** +@param {number} index +*/ +SQLResultSetRowList.prototype.item = function(index) {}; +SQLResultSetRowList = {}; + +/** +@static +@type {number} +@const +*/ +SQLError.UNKNOWN_ERR = 0; +/** +@static +@type {number} +@const +*/ +SQLError.DATABASE_ERR = 1; +/** +@static +@type {number} +@const +*/ +SQLError.VERSION_ERR = 2; +/** +@static +@type {number} +@const +*/ +SQLError.TOO_LARGE_ERR = 3; +/** +@static +@type {number} +@const +*/ +SQLError.QUOTA_ERR = 4; +/** +@static +@type {number} +@const +*/ +SQLError.SYNTAX_ERR = 5; +/** +@static +@type {number} +@const +*/ +SQLError.CONSTRAINT_ERR = 6; +/** +@static +@type {number} +@const +*/ +SQLError.TIMEOUT_ERR = 7; +/** +@type {number} +@const +*/ +SQLError.prototype.code = 0; +/** +@type {string} +@const +*/ +SQLError.prototype.message = 0; +SQLError = {}; + +/** +@type {string} +@const +*/ +MessageEvent.prototype.origin = 0; +/** +@type {string} +@const +*/ +MessageEvent.prototype.lastEventId = 0; +/** +@type {Window} +@const +*/ +MessageEvent.prototype.source = 0; +MessageEvent.prototype = new Event(); +MessageEvent = {}; + +/** +@type {number} +@const +*/ +History.prototype.length = 0; +/** +@type {Object} +@const +*/ +History.prototype.state = 0; +/** +@param {Object} [data] +@param {string} [title] +@param {string} [url] +@return {void} +*/ +History.prototype.pushState = function(data,title,url) {}; +/** +@param {Object} [data] +@param {string} [title] +@param {string} [url] +@return {void} +*/ +History.prototype.replaceState = function(data,title,url) {}; +History = {}; + +/** +@param {string} [url] +@return {void} +*/ +Location.prototype.assign = function(url) {}; +/** +@param {string} [url] +@return {string} +*/ +Location.prototype.resolveURL = function(url) {}; +Location = {}; + +/** +@static +@type {number} +@const +*/ +SQLException.UNKNOWN_ERR = 0; +/** +@static +@type {number} +@const +*/ +SQLException.DATABASE_ERR = 1; +/** +@static +@type {number} +@const +*/ +SQLException.VERSION_ERR = 2; +/** +@static +@type {number} +@const +*/ +SQLException.TOO_LARGE_ERR = 3; +/** +@static +@type {number} +@const +*/ +SQLException.QUOTA_ERR = 4; +/** +@static +@type {number} +@const +*/ +SQLException.SYNTAX_ERR = 5; +/** +@static +@type {number} +@const +*/ +SQLException.CONSTRAINT_ERR = 6; +/** +@static +@type {number} +@const +*/ +SQLException.TIMEOUT_ERR = 7; +/** +@type {number} +@const +*/ +SQLException.prototype.code = 0; +/** +@type {string} +@const +*/ +SQLException.prototype.message = 0; +SQLException.prototype = new Error(); +SQLException = {}; + +/** +@type {string} +*/ +HTMLImageElement.prototype.crossOrigin = 0; +/** +@type {boolean} +@const +*/ +HTMLImageElement.prototype.complete = 0; +/** +@type {number} +@const +*/ +HTMLImageElement.prototype.naturalHeight = 0; +/** +@type {number} +@const +*/ +HTMLImageElement.prototype.naturalWidth = 0; +HTMLImageElement.prototype = new HTMLElement(); +HTMLImageElement = {}; + +/** +@type {number} +*/ +HTMLCanvasElement.prototype.width = 0; +/** +@type {number} +*/ +HTMLCanvasElement.prototype.height = 0; +/** +@param {string} contextId +@param {...*} [args] +@return {CanvasRenderingContext2D} +*/ +HTMLCanvasElement.prototype.getContext = function(contextId,args) {}; +/** +@param {string} [String] +@param {*} [args] +@return {string} +*/ +HTMLCanvasElement.prototype.toDataURL = function(String,args) {}; +HTMLCanvasElement.prototype = new HTMLElement(); +HTMLCanvasElement = {}; + +/** +@param {SVGMatrix} [transform] +*/ +CanvasPattern.prototype.setTransform = function(transform) {}; +CanvasPattern = {}; + +SVGMatrix.prototype.inverse = function() {}; +SVGMatrix = {}; + +/** +@type {HTMLCanvasElement} +@const +*/ +CanvasRenderingContext2D.prototype.canvas = 0; +/** +@type {number} +*/ +CanvasRenderingContext2D.prototype.globalAlpha = 0; +/** +@type {string} +*/ +CanvasRenderingContext2D.prototype.globalCompositeOperation = 0; +/** +@type {String|CanvasGradient|CanvasPattern} +*/ +CanvasRenderingContext2D.prototype.fillStyle = 0; +/** +@type {String|CanvasGradient|CanvasPattern} +*/ +CanvasRenderingContext2D.prototype.strokeStyle = 0; +/** +@type {Number} +*/ +CanvasRenderingContext2D.prototype.lineWidth = 0; +/** +@type {string} +*/ +CanvasRenderingContext2D.prototype.lineCap = 0; +/** +@type {string} +*/ +CanvasRenderingContext2D.prototype.lineJoin = 0; +/** +@type {Number} +*/ +CanvasRenderingContext2D.prototype.miterLimit = 0; +/** +@type {Number} +*/ +CanvasRenderingContext2D.prototype.shadowOffsetX = 0; +/** +@type {Number} +*/ +CanvasRenderingContext2D.prototype.shadowOffsetY = 0; +/** +@type {Number} +*/ +CanvasRenderingContext2D.prototype.shadowBlur = 0; +/** +@type {string} +*/ +CanvasRenderingContext2D.prototype.shadowColor = 0; +/** +@type {string} +*/ +CanvasRenderingContext2D.prototype.font = 0; +/** +@type {string} +*/ +CanvasRenderingContext2D.prototype.textAlign = 0; +/** +@type {string} +*/ +CanvasRenderingContext2D.prototype.textBaseline = 0; +CanvasRenderingContext2D.prototype.save = function() {}; +CanvasRenderingContext2D.prototype.restore = function() {}; +/** +@param {number} x +@param {number} y +*/ +CanvasRenderingContext2D.prototype.scale = function(x,y) {}; +/** +@param {number} angle +*/ +CanvasRenderingContext2D.prototype.rotate = function(angle) {}; +/** +@param {number} x +@param {number} y +*/ +CanvasRenderingContext2D.prototype.translate = function(x,y) {}; +/** +@param {number} m11 +@param {number} m12 +@param {number} m21 +@param {number} m22 +@param {number} dx +@param {number} dy +*/ +CanvasRenderingContext2D.prototype.transform = function(m11,m12,m21,m22,dx,dy) {}; +/** +@param {number} m11 +@param {number} m12 +@param {number} m21 +@param {number} m22 +@param {number} dx +@param {number} dy +*/ +CanvasRenderingContext2D.prototype.setTransform = function(m11,m12,m21,m22,dx,dy) {}; +/** +@param {number} x0 +@param {number} y0 +@param {number} x1 +@param {number} y1 +@return {CanvasGradient} +*/ +CanvasRenderingContext2D.prototype.createLinearGradient = function(x0,y0,x1,y1) {}; +/** +@param {number} x0 +@param {number} y0 +@param {number} r0 +@param {number} x1 +@param {number} y1 +@param {number} r1 +@return {CanvasGradient} +*/ +CanvasRenderingContext2D.prototype.createRadialGradient = function(x0,y0,r0,x1,y1,r1) {}; +/** +@param {HTMLImageElement|HTMLCanvasElement|HTMLVideoElement} image +@param {string} repetition +@return {CanvasPattern} +*/ +CanvasRenderingContext2D.prototype.createPattern = function(image,repetition) {}; +/** +@param {Number} x +@param {Number} y +@param {Number} w +@param {Number} h +*/ +CanvasRenderingContext2D.prototype.clearRect = function(x,y,w,h) {}; +/** +@param {Number} x +@param {Number} y +@param {Number} w +@param {Number} h +*/ +CanvasRenderingContext2D.prototype.fillRect = function(x,y,w,h) {}; +/** +@param {Number} x +@param {Number} y +@param {Number} w +@param {Number} h +*/ +CanvasRenderingContext2D.prototype.strokeRect = function(x,y,w,h) {}; +CanvasRenderingContext2D.prototype.beginPath = function() {}; +CanvasRenderingContext2D.prototype.closePath = function() {}; +/** +@param {Number} x +@param {Number} y +*/ +CanvasRenderingContext2D.prototype.moveTo = function(x,y) {}; +/** +@param {Number} x +@param {Number} y +*/ +CanvasRenderingContext2D.prototype.lineTo = function(x,y) {}; +/** +@param {Number} cpx +@param {Number} cpy +@param {Number} x +@param {Number} y +*/ +CanvasRenderingContext2D.prototype.quadraticCurveTo = function(cpx,cpy,x,y) {}; +/** +@param {Number} cp1x +@param {Number} cp1y +@param {Number} cp2x +@param {Number} cp2y +@param {Number} x +@param {Number} y +*/ +CanvasRenderingContext2D.prototype.bezierCurveTo = function(cp1x,cp1y,cp2x,cp2y,x,y) {}; +/** +@param {Number} x1 +@param {Number} y1 +@param {Number} x2 +@param {Number} y2 +@param {Number} radius +*/ +CanvasRenderingContext2D.prototype.arcTo = function(x1,y1,x2,y2,radius) {}; +/** +@param {Number} x +@param {Number} y +@param {Number} w +@param {Number} h +*/ +CanvasRenderingContext2D.prototype.rect = function(x,y,w,h) {}; +/** +@param {Number} x +@param {Number} y +@param {Number} radius +@param {Number} startAngle +@param {Number} endAngle +@param {boolean} [anticlockwise] +*/ +CanvasRenderingContext2D.prototype.arc = function(x,y,radius,startAngle,endAngle,anticlockwise) {}; +CanvasRenderingContext2D.prototype.fill = function() {}; +CanvasRenderingContext2D.prototype.stroke = function() {}; +CanvasRenderingContext2D.prototype.clip = function() {}; +/** +@param {Number} x +@param {Number} y +@return {boolean} +*/ +CanvasRenderingContext2D.prototype.isPointInPath = function(x,y) {}; +/** +@param {Element} element +@param {Number} xCaret +@param {Number} yCaret +@param {boolean} [canDrawCustom] +*/ +CanvasRenderingContext2D.prototype.drawFocusRing = function(element,xCaret,yCaret,canDrawCustom) {}; +/** +@param {string} text +@param {Number} x +@param {Number} y +@param {Number} [maxWidth] +*/ +CanvasRenderingContext2D.prototype.fillText = function(text,x,y,maxWidth) {}; +/** +@param {string} text +@param {Number} x +@param {Number} y +@param {Number} [maxWidth] +*/ +CanvasRenderingContext2D.prototype.strokeText = function(text,x,y,maxWidth) {}; +/** +@param {string} text +@return {TextMetrics} +*/ +CanvasRenderingContext2D.prototype.measureText = function(text) {}; +/** +@param {Element} img_elem +@param {Number} dx_or_sx +@param {Number} dy_or_sy +@param {Number} [dw_or_sw] +@param {Number} [dh_or_sh] +@param {Number} [dx] +@param {Number} [dy] +@param {Number} [dw] +@param {Number} [dh] +*/ +CanvasRenderingContext2D.prototype.drawImage = function(img_elem,dx_or_sx,dy_or_sy,dw_or_sw,dh_or_sh,dx,dy,dw,dh) {}; +/** +@param {ImageData|Number} imagedata_or_sw +@param {Number} [sh] +@return {ImageData} +*/ +CanvasRenderingContext2D.prototype.createImageData = function(imagedata_or_sw,sh) {}; +/** +@param {Number} sx +@param {Number} sy +@param {Number} sw +@param {Number} sh +@return {ImageData} +*/ +CanvasRenderingContext2D.prototype.getImageData = function(sx,sy,sw,sh) {}; +/** +@param {ImageData} image_data +@param {Number} dx +@param {Number} dy +@param {Number} [dirtyX] +@param {Number} [dirtyY] +@param {Number} [dirtyWidth] +@param {Number} [dirtyHeight] +*/ +CanvasRenderingContext2D.prototype.putImageData = function(image_data,dx,dy,dirtyX,dirtyY,dirtyWidth,dirtyHeight) {}; +CanvasRenderingContext2D = {}; + +/** +@param {Number} offset +@param {string} color +*/ +CanvasGradient.prototype.addColorStop = function(offset,color) {}; +CanvasGradient = {}; + +/** +@type {CanvasPixelArray} +@const +*/ +ImageData.prototype.data = 0; +/** +@type {Number} +@const +*/ +ImageData.prototype.width = 0; +/** +@type {Number} +@const +*/ +ImageData.prototype.height = 0; +ImageData = {}; + +/** +@type {Number} +@const +*/ +CanvasPixelArray.prototype.length = 0; +CanvasPixelArray = {}; + +/** +@type {Number} +@const +*/ +TextMetrics.prototype.width = 0; +TextMetrics = {}; + +/** +@type {WorkerNavigator} +@const +*/ +window.navigator = 0; +/** +@type {Storage} +@const +*/ +window.localStorage = 0; +/** +@type {Storage} +@const +*/ +window.sessionStorage = 0; +/** +@param {Function} callback +@param {Element} element +@return {Number} +*/ +window.webkitRequestAnimationFrame = function(callback,element) {}; +/** +@param {Function} callback +@return {void} +*/ +window.webkitCancelRequestAnimationFrame = function(callback) {}; +/** +@param {Function} callback +@return {Number} +*/ +window.msRequestAnimationFrame = function(callback) {}; +/** +@param {Function} callback +@return {void} +*/ +window.msCancelRequestAnimationFrame = function(callback) {}; +/** +@param {Function} callback +@return {Number} +*/ +window.oRequestAnimationFrame = function(callback) {}; +/** +@param {Function} callback +@return {void} +*/ +window.oCancelRequestAnimationFrame = function(callback) {}; +/** +@param {Function} callback +@return {Number} +*/ +window.mozRequestAnimationFrame = function(callback) {}; +/** +@param {Function} callback +@return {void} +*/ +window.mozCancelRequestAnimationFrame = function(callback) {}; +/** +@param {Function} callback +@param {Element} element +@return {Number} +*/ +window.requestAnimationFrame = function(callback,element) {}; +/** +@param {Function} callback +@return {void} +*/ +window.cancelRequestAnimationFrame = function(callback) {}; +/** +@param {...string} [urls] +@return {void} +*/ +window.importScripts = function(urls) {}; +/** +@param {string} name +@param {string} version +@param {string} displayName +@param {Number} estimatedSize +@param {DatabaseCallback|Function} [creationCallback] +@return {Database} +*/ +window.openDatabase = function(name,version,displayName,estimatedSize,creationCallback) {}; +/** +@param {string} name +@param {string} version +@param {string} displayName +@param {Number} estimatedSize +@param {DatabaseCallback|Function} [creationCallback] +@return {Database} +*/ +window.openDatabaseSync = function(name,version,displayName,estimatedSize,creationCallback) {}; +window = {}; + +WorkerNavigator = {}; + +/** +@type {Function} +*/ +AbstractWorker.prototype.onerror = 0; +AbstractWorker = {}; + +/** + * @interface + */ +function Transferable() {} + +/** +@type {function({data: Object})} +*/ +Worker.prototype.onmessage = 0; +/** +@param {string} scriptURL +@constructor +*/ +function Worker(scriptURL) {} +Worker.prototype.terminate = function() {}; +/** +@param {*} message +@param {Transferable[]} [transferList] +*/ +Worker.prototype.postMessage = function(message,transferList) {}; +Worker.prototype = new AbstractWorker(); + +/** +@type {Function} +@const +*/ +SharedWorker.prototype.port = 0; +SharedWorker.prototype = new AbstractWorker(); +SharedWorker = {}; + +/** + * @interface + */ +function Storage() {} +/** +@type {number} +@const +*/ +Storage.prototype.length = 0; +/** +@param {number} index +@return {string} +*/ +Storage.prototype.key = function(index) {}; +/** +@param {string} key +*/ +Storage.prototype.getItem = function(key) {}; +/** +@param {string} key +@param {String|*} data +*/ +Storage.prototype.setItem = function(key,data) {}; +/** +@param {string} key +*/ +Storage.prototype.removeItem = function(key) {}; +Storage.prototype.clear = function() {}; + +/** +@static +@type {number} +@const +*/ +WebSocket.CONNECTING = 0; +/** +@static +@type {number} +@const +*/ +WebSocket.OPEN = 1; +/** +@static +@type {number} +@const +*/ +WebSocket.CLOSING = 2; +/** +@static +@type {number} +@const +*/ +WebSocket.CLOSED = 3; +/** +@type {string} +*/ +WebSocket.prototype.url = 0; +/** +@type {number} +@const +*/ +WebSocket.prototype.readyState = 0; +/** +@type {number} +@const +*/ +WebSocket.prototype.bufferedAmount = 0; +/** +@type {string} +@const +*/ +WebSocket.prototype.extensions = 0; +/** +@type {string} +@const +*/ +WebSocket.prototype.protocol = 0; +/** +@type {function(Event)} +*/ +WebSocket.prototype.onopen = 0; +/** +@type {function({data: (String|Blob|ArrayBuffer)})} +*/ +WebSocket.prototype.onmessage = 0; +/** +@type {function(Event)} +*/ +WebSocket.prototype.onerror = 0; +/** +@type {function({code: Number, reason: String, wasClean: Boolean})} +*/ +WebSocket.prototype.onclose = 0; +/** +@param {string} url +@param {...string} protocols +@constructor +*/ +function WebSocket(url,protocols) {} +/** +@param {String|ArrayBuffer|ArrayBufferView|Blob} data +*/ +WebSocket.prototype.send = function(data) {}; +/** +@param {number} [code] +@param {string} [reason] +*/ +WebSocket.prototype.close = function(code,reason) {}; + +/** +@type {number} +*/ +ArrayBuffer.prototype.byteLength = 0; +/** +@param {number} length +@constructor +*/ +function ArrayBuffer(length) {} + +/** +@type {ArrayBuffer} +@const +*/ +DataView.prototype.buffer = 0; +/** +@type {number} +@const +*/ +DataView.prototype.byteOffset = 0; +/** +@type {number} +@const +*/ +DataView.prototype.byteLength = 0; +/** +@param bufferOrArrayOrLength +@param {number} [byteOffset] +@param {number} [length] +@constructor +*/ +function DataView(bufferOrArrayOrLength,byteOffset,length) {} +/** +@param {number} [byteOffset] +@return {number} +*/ +DataView.prototype.getInt8 = function(byteOffset) {}; + +/** +@type {ArrayBuffer} +@const +*/ +ArrayBufferView.prototype.buffer = 0; +/** +@type {number} +@const +*/ +ArrayBufferView.prototype.byteOffset = 0; +/** +@type {number} +@const +*/ +ArrayBufferView.prototype.byteLength = 0; +/** +@constructor +*/ +function ArrayBufferView() {} + +/** +@static +@type {number} +@const +*/ +Int8Array.BYTES_PER_ELEMENT = 8; +Int8Array.prototype.length = 0; +/** +@param bufferOrArrayOrLength +@param {number} [byteOffset] +@param {number} [length] +@constructor +*/ +function Int8Array(bufferOrArrayOrLength,byteOffset,length) {} +/** +@param {Int8Array} array +@param {number} [offset] +@return {void} +*/ +Int8Array.prototype.set = function(array,offset) {}; +/** +@param {number} begin +@param {number} [end] +@return {Int8Array} +*/ +Int8Array.prototype.subarray = function(begin,end) {}; +Int8Array.prototype = new ArrayBufferView(); + +/** +@static +@type {number} +@const +*/ +Uint8Array.BYTES_PER_ELEMENT = 8; +/** +@type {number} +@const +*/ +Uint8Array.prototype.length = 0; +/** +@param bufferOrArrayOrLength +@param {number} [byteOffset] +@param {number} [length] +@constructor +*/ +function Uint8Array(bufferOrArrayOrLength,byteOffset,length) {} +/** +@param {Uint8Array} array +@param {number} [offset] +@return {void} +*/ +Uint8Array.prototype.set = function(array,offset) {}; +/** +@param {number} begin +@param {number} [end] +@return {Uint8Array} +*/ +Uint8Array.prototype.subarray = function(begin,end) {}; +Uint8Array.prototype = new ArrayBufferView(); + +/** +@static +@type {number} +@const +*/ +Int16Array.BYTES_PER_ELEMENT = 16; +/** +@type {number} +@const +*/ +Int16Array.prototype.length = 0; +/** +@param bufferOrArrayOrLength +@param {number} [byteOffset] +@param {number} [length] +@constructor +*/ +function Int16Array(bufferOrArrayOrLength,byteOffset,length) {} +/** +@param {Int16Array} array +@param {number} [offset] +@return {void} +*/ +Int16Array.prototype.set = function(array,offset) {}; +/** +@param {number} begin +@param {number} [end] +@return {Int16Array} +*/ +Int16Array.prototype.subarray = function(begin,end) {}; +Int16Array.prototype = new ArrayBufferView(); + +/** +@static +@type {number} +@const +*/ +Uint16Array.BYTES_PER_ELEMENT = 16; +/** +@type {number} +@const +*/ +Uint16Array.prototype.length = 0; +/** +@param bufferOrArrayOrLength +@param {number} [byteOffset] +@param {number} [length] +@constructor +*/ +function Uint16Array(bufferOrArrayOrLength,byteOffset,length) {} +/** +@param {Uint16Array} array +@param {number} [offset] +@return {void} +*/ +Uint16Array.prototype.set = function(array,offset) {}; +/** +@param {number} begin +@param {number} [end] +@return {Uint16Array} +*/ +Uint16Array.prototype.subarray = function(begin,end) {}; +Uint16Array.prototype = new ArrayBufferView(); + +/** +@static +@type {number} +@const +*/ +Int32Array.BYTES_PER_ELEMENT = 32; +/** +@type {number} +@const +*/ +Int32Array.prototype.length = 0; +/** +@param bufferOrArrayOrLength +@param {number} [byteOffset] +@param {number} [length] +@constructor +*/ +function Int32Array(bufferOrArrayOrLength,byteOffset,length) {} +/** +@param {Int32Array} array +@param {number} [offset] +@return {void} +*/ +Int32Array.prototype.set = function(array,offset) {}; +/** +@param {number} begin +@param {number} [end] +@return {Int32Array} +*/ +Int32Array.prototype.subarray = function(begin,end) {}; +Int32Array.prototype = new ArrayBufferView(); + +/** +@static +@type {number} +@const +*/ +Uint32Array.BYTES_PER_ELEMENT = 32; +/** +@type {number} +@const +*/ +Uint32Array.prototype.length = 0; +/** +@param bufferOrArrayOrLength +@param {Number} [byteOffset] +@param {Number} [length] +@constructor +*/ +function Uint32Array(bufferOrArrayOrLength,byteOffset,length) {} +/** +@param {Uint32Array} array +@param {Number} [offset] +@return {void} +*/ +Uint32Array.prototype.set = function(array,offset) {}; +/** +@param {Number} begin +@param {Number} [end] +@return {Uint32Array} +*/ +Uint32Array.prototype.subarray = function(begin,end) {}; +Uint32Array.prototype = new ArrayBufferView(); + +/** +@static +@type {number} +@const +*/ +Float32Array.BYTES_PER_ELEMENT = 32; +/** +@type {number} +@const +*/ +Float32Array.prototype.length = 0; +/** +@param bufferOrArrayOrLength +@param {number} [byteOffset] +@param {number} [length] +@constructor +*/ +function Float32Array(bufferOrArrayOrLength,byteOffset,length) {} +/** +@param {Float32Array} array +@param {number} [offset] +@return {void} +*/ +Float32Array.prototype.set = function(array,offset) {}; +/** +@param {number} begin +@param {number} [end] +@return {Float32Array} +*/ +Float32Array.prototype.subarray = function(begin,end) {}; +Float32Array.prototype = new ArrayBufferView(); + +/** +@static +@type {number} +@const +*/ +Float64Array.BYTES_PER_ELEMENT = 64; +/** +@type {number} +@const +*/ +Float64Array.prototype.length = 0; +/** +@param {number} bufferOrArrayOrLength +@param {number} [byteOffset] +@param {number} [length] +@constructor +*/ +function Float64Array(bufferOrArrayOrLength,byteOffset,length) {} +/** +@param {Float64Array} array +@param {number} [offset] +@return {void} +*/ +Float64Array.prototype.set = function(array,offset) {}; +/** +@param {number} begin +@param {number} [end] +@return {Float64Array} +*/ +Float64Array.prototype.subarray = function(begin,end) {}; +Float64Array.prototype = new ArrayBufferView(); + +/** +@param {Function} successCallback +@param {Function} [errorCallback] +@param {Object} [options] +@return {void} +*/ +Geolocation.prototype.getCurrentPosition = function(successCallback,errorCallback,options) {}; +/** +@param {Function} successCallback +@param {Function} [errorCallback] +@param {Object} [options] +@return {Number} +*/ +Geolocation.prototype.watchPosition = function(successCallback,errorCallback,options) {}; +/** +@param {Number} [watchId] +*/ +Geolocation.prototype.clearWatch = function(watchId) {}; +Geolocation = {}; + +/** +@type {Geolocation} +@const +*/ +Navigator.prototype.geolocation = 0; +Navigator = {}; + +/** +@type {boolean} +*/ +PositionOptions.prototype.enableHighAccuracy = 0; +/** +@type {Number} +*/ +PositionOptions.prototype.timeout = 0; +/** +@type {Number} +*/ +PositionOptions.prototype.maximumAge = 0; +PositionOptions = {}; + +/** +@type {Coordinates} +*/ +Position.prototype.coords = 0; +/** +@type {Number} +*/ +Position.prototype.timestamp = 0; +Position = {}; + +/** +@type {Number} +@const +*/ +Coordinates.prototype.latitude = 0; +/** +@type {Number} +@const +*/ +Coordinates.prototype.longitude = 0; +/** +@type {Number} +@const +*/ +Coordinates.prototype.altitude = 0; +/** +@type {Number} +@const +*/ +Coordinates.prototype.accuracy = 0; +/** +@type {Number} +@const +*/ +Coordinates.prototype.altitudeAccuracy = 0; +/** +@type {Number} +@const +*/ +Coordinates.prototype.heading = 0; +/** +@type {Number} +@const +*/ +Coordinates.prototype.speed = 0; +Coordinates = {}; + +/** +@static +@type {number} +@const +*/ +PositionError.PERMISSION_DENIED = 1; +/** +@static +@type {number} +@const +*/ +PositionError.POSITION_UNAVAILABLE = 2; +/** +@static +@type {number} +@const +*/ +PositionError.TIMEOUT = 3; +/** +@type {number} +@const +*/ +PositionError.prototype.code = 0; +/** +@type {string} +@const +*/ +PositionError.prototype.message = 0; +PositionError = {}; + +/** + * @interface + */ +function XMLHttpRequestEventTarget() {} +/** +@type {function(Event)} +*/ +XMLHttpRequestEventTarget.prototype.onloadstart = 0; +/** +@type {function(Event)} +*/ +XMLHttpRequestEventTarget.prototype.onprogress = 0; +/** +@type {function(Event)} +*/ +XMLHttpRequestEventTarget.prototype.onabort = 0; +/** +@type {function(Event)} +*/ +XMLHttpRequestEventTarget.prototype.onerror = 0; +/** +@type {function(Event)} +*/ +XMLHttpRequestEventTarget.prototype.onload = 0; +/** +@type {function(Event)} +*/ +XMLHttpRequestEventTarget.prototype.ontimeout = 0; +/** +@type {function(Event)} +*/ +XMLHttpRequestEventTarget.prototype.onloadend = 0; +XMLHttpRequestEventTarget.prototype = new EventTarget(); + +/** + * @interface + */ +function XMLHttpRequestUpload() {} +XMLHttpRequestUpload.prototype = new XMLHttpRequestEventTarget(); + +/** +@param {string} name +@param {Object} value +@return {void} +*/ +FormData.prototype.append = function(name,value) {}; +FormData = {}; + +/** +@type {boolean} +*/ +HTMLSelectElement.prototype.autofocus = 0; +/** +@type {boolean} +*/ +HTMLSelectElement.prototype.required = 0; +/** +@type {HTMLCollection} +*/ +HTMLSelectElement.prototype.selectedOptions = 0; +/** +@type {string} +*/ +HTMLSelectElement.prototype.validationMessage = 0; +/** +@type {ValidityState} +*/ +HTMLSelectElement.prototype.validity = 0; +/** +@type {boolean} +@const +*/ +HTMLSelectElement.prototype.willValidate = 0; +/** +@return {boolean} +*/ +HTMLSelectElement.prototype.checkValidity = function() {}; +/** +@param {Number} index +@return {Element} +*/ +HTMLSelectElement.prototype.item = function(index) {}; +/** +@param {string} name +@return {Element} +*/ +HTMLSelectElement.prototype.namedItem = function(name) {}; +/** +@param {string} [error] +@return {void} +*/ +HTMLSelectElement.prototype.setCustomValidity = function(error) {}; +HTMLSelectElement = {}; + +/** + * @interface + */ +function ValidityState() {} +/** +@type {boolean} +@const +*/ +ValidityState.prototype.valueMissing = 0; +/** +@type {boolean} +@const +*/ +ValidityState.prototype.typeMismatch = 0; +/** +@type {boolean} +@const +*/ +ValidityState.prototype.patternMismatch = 0; +/** +@type {boolean} +@const +*/ +ValidityState.prototype.tooLong = 0; +/** +@type {boolean} +@const +*/ +ValidityState.prototype.rangeUnderflow = 0; +/** +@type {boolean} +@const +*/ +ValidityState.prototype.rangeOverflow = 0; +/** +@type {boolean} +@const +*/ +ValidityState.prototype.stepMismatch = 0; +/** +@type {boolean} +@const +*/ +ValidityState.prototype.badInput = 0; +/** +@type {boolean} +@const +*/ +ValidityState.prototype.customError = 0; +/** +@type {boolean} +@const +*/ +ValidityState.prototype.valid = 0; +/** +@type {string} +*/ +XMLHttpRequest.prototype.responseType = 0; +/** +@type {Object} +*/ +XMLHttpRequest.prototype.response = 0; +/** +@type {boolean} +*/ +XMLHttpRequest.prototype.withCredentials = 0; +/** +@type {XMLHttpRequestEventTarget} +@const +*/ +XMLHttpRequest.prototype.upload = 0; +/** +@param {string} mimeType +*/ +XMLHttpRequest.prototype.overrideMimeType = function(mimeType) {}; +/** +@type {string} +*/ +HTMLFormElement.prototype.autocomplete = 0; +/** +@type {boolean} +*/ +HTMLFormElement.prototype.noValidate = 0; diff --git a/JavaScriptDefinitions/js-xml/HTML5.xml b/JavaScriptDefinitions/js-xml/HTML5.xml new file mode 100644 index 0000000..353b3e1 --- /dev/null +++ b/JavaScriptDefinitions/js-xml/HTML5.xml @@ -0,0 +1,1063 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/JavaScriptDefinitions/js-xml/WebGL.js b/JavaScriptDefinitions/js-xml/WebGL.js new file mode 100644 index 0000000..3983007 --- /dev/null +++ b/JavaScriptDefinitions/js-xml/WebGL.js @@ -0,0 +1,2739 @@ +/** +@type {boolean} +*/ +WebGLContextAttributes.prototype.alpha = 0; +/** +@type {boolean} +*/ +WebGLContextAttributes.prototype.depth = 0; +/** +@type {boolean} +*/ +WebGLContextAttributes.prototype.stencil = 0; +/** +@type {boolean} +*/ +WebGLContextAttributes.prototype.antialias = 0; +/** +@type {boolean} +*/ +WebGLContextAttributes.prototype.premultipliedAlpha = 0; +/** +@type {boolean} +*/ +WebGLContextAttributes.prototype.preserveDrawingBuffer = 0; +WebGLContextAttributes = {}; + + +WebGLBuffer.prototype = new WebGLObject(); + +WebGLFramebuffer.prototype = new WebGLObject(); + +WebGLProgram.prototype = new WebGLObject(); + +WebGLRenderbuffer.prototype = new WebGLObject(); + +WebGLShader.prototype = new WebGLObject(); + +WebGLTexture.prototype = new WebGLObject(); + + +/** +@type {Number} +@const +*/ +WebGLActiveInfo.prototype.size = 0; +/** +@type {Number} +@const +*/ +WebGLActiveInfo.prototype.type = 0; +/** +@type {string} +@const +*/ +WebGLActiveInfo.prototype.name = 0; + +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.DEPTH_BUFFER_BIT = 0x00000100; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_BUFFER_BIT = 0x00000400; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.COLOR_BUFFER_BIT = 0x00004000; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.POINTS = 0x0000; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.LINES = 0x0001; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.LINE_LOOP = 0x0002; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.LINE_STRIP = 0x0003; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TRIANGLES = 0x0004; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TRIANGLE_STRIP = 0x0005; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TRIANGLE_FAN = 0x0006; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ZERO = 0; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ONE = 1; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.SRC_COLOR = 0x0300; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ONE_MINUS_SRC_COLOR = 0x0301; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.SRC_ALPHA = 0x0302; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ONE_MINUS_SRC_ALPHA = 0x0303; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.DST_ALPHA = 0x0304; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ONE_MINUS_DST_ALPHA = 0x0305; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.DST_COLOR = 0x0306; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ONE_MINUS_DST_COLOR = 0x0307; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.SRC_ALPHA_SATURATE = 0x0308; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FUNC_ADD = 0x8006; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.BLEND_EQUATION = 0x8009; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.BLEND_EQUATION_RGB = 0x8009; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.BLEND_EQUATION_ALPHA = 0x883D; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FUNC_SUBTRACT = 0x800A; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FUNC_REVERSE_SUBTRACT = 0x800B; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.BLEND_DST_RGB = 0x80C8; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.BLEND_SRC_RGB = 0x80C9; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.BLEND_DST_ALPHA = 0x80CA; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.BLEND_SRC_ALPHA = 0x80CB; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.CONSTANT_COLOR = 0x8001; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ONE_MINUS_CONSTANT_COLOR = 0x8002; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.CONSTANT_ALPHA = 0x8003; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ONE_MINUS_CONSTANT_ALPHA = 0x8004; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.BLEND_COLOR = 0x8005; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ARRAY_BUFFER = 0x8892; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ELEMENT_ARRAY_BUFFER = 0x8893; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ARRAY_BUFFER_BINDING = 0x8894; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STREAM_DRAW = 0x88E0; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STATIC_DRAW = 0x88E4; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.DYNAMIC_DRAW = 0x88E8; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.BUFFER_SIZE = 0x8764; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.BUFFER_USAGE = 0x8765; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.CURRENT_VERTEX_ATTRIB = 0x8626; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FRONT = 0x0404; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.BACK = 0x0405; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FRONT_AND_BACK = 0x0408; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.CULL_FACE = 0x0B44; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.BLEND = 0x0BE2; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.DITHER = 0x0BD0; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_TEST = 0x0B90; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.DEPTH_TEST = 0x0B71; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.SCISSOR_TEST = 0x0C11; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.POLYGON_OFFSET_FILL = 0x8037; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.SAMPLE_ALPHA_TO_COVERAGE = 0x809E; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.SAMPLE_COVERAGE = 0x80A0; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.NO_ERROR = 0; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.INVALID_ENUM = 0x0500; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.INVALID_VALUE = 0x0501; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.INVALID_OPERATION = 0x0502; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.OUT_OF_MEMORY = 0x0505; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.CW = 0x0900; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.CCW = 0x0901; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.LINE_WIDTH = 0x0B21; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ALIASED_POINT_SIZE_RANGE = 0x846D; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ALIASED_LINE_WIDTH_RANGE = 0x846E; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.CULL_FACE_MODE = 0x0B45; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FRONT_FACE = 0x0B46; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.DEPTH_RANGE = 0x0B70; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.DEPTH_WRITEMASK = 0x0B72; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.DEPTH_CLEAR_VALUE = 0x0B73; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.DEPTH_FUNC = 0x0B74; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_CLEAR_VALUE = 0x0B91; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_FUNC = 0x0B92; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_FAIL = 0x0B94; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_PASS_DEPTH_FAIL = 0x0B95; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_PASS_DEPTH_PASS = 0x0B96; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_REF = 0x0B97; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_VALUE_MASK = 0x0B93; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_WRITEMASK = 0x0B98; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_BACK_FUNC = 0x8800; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_BACK_FAIL = 0x8801; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_PASS = 0x8803; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_BACK_REF = 0x8CA3; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_BACK_VALUE_MASK = 0x8CA4; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_BACK_WRITEMASK = 0x8CA5; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.VIEWPORT = 0x0BA2; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.SCISSOR_BOX = 0x0C10; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.COLOR_CLEAR_VALUE = 0x0C22; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.COLOR_WRITEMASK = 0x0C23; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.UNPACK_ALIGNMENT = 0x0CF5; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.PACK_ALIGNMENT = 0x0D05; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.MAX_TEXTURE_SIZE = 0x0D33; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.MAX_VIEWPORT_DIMS = 0x0D3A; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.SUBPIXEL_BITS = 0x0D50; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.RED_BITS = 0x0D52; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.GREEN_BITS = 0x0D53; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.BLUE_BITS = 0x0D54; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ALPHA_BITS = 0x0D55; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.DEPTH_BITS = 0x0D56; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_BITS = 0x0D57; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.POLYGON_OFFSET_UNITS = 0x2A00; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.POLYGON_OFFSET_FACTOR = 0x8038; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE_BINDING_2D = 0x8069; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.SAMPLE_BUFFERS = 0x80A8; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.SAMPLES = 0x80A9; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.SAMPLE_COVERAGE_VALUE = 0x80AA; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.SAMPLE_COVERAGE_INVERT = 0x80AB; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.COMPRESSED_TEXTURE_FORMATS = 0x86A3; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.DONT_CARE = 0x1100; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FASTEST = 0x1101; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.NICEST = 0x1102; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.GENERATE_MIPMAP_HINT = 0x8192; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.BYTE = 0x1400; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.UNSIGNED_BYTE = 0x1401; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.SHORT = 0x1402; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.UNSIGNED_SHORT = 0x1403; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.INT = 0x1404; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.UNSIGNED_INT = 0x1405; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FLOAT = 0x1406; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.DEPTH_COMPONENT = 0x1902; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ALPHA = 0x1906; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.RGB = 0x1907; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.RGBA = 0x1908; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.LUMINANCE = 0x1909; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.LUMINANCE_ALPHA = 0x190A; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.UNSIGNED_SHORT_4_4_4_4 = 0x8033; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.UNSIGNED_SHORT_5_5_5_1 = 0x8034; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.UNSIGNED_SHORT_5_6_5 = 0x8363; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FRAGMENT_SHADER = 0x8B30; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.VERTEX_SHADER = 0x8B31; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.MAX_VERTEX_ATTRIBS = 0x8869; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.MAX_VARYING_VECTORS = 0x8DFC; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.MAX_TEXTURE_IMAGE_UNITS = 0x8872; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.SHADER_TYPE = 0x8B4F; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.DELETE_STATUS = 0x8B80; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.LINK_STATUS = 0x8B82; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.VALIDATE_STATUS = 0x8B83; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ATTACHED_SHADERS = 0x8B85; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ACTIVE_UNIFORMS = 0x8B86; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ACTIVE_ATTRIBUTES = 0x8B89; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.SHADING_LANGUAGE_VERSION = 0x8B8C; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.CURRENT_PROGRAM = 0x8B8D; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.NEVER = 0x0200; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.LESS = 0x0201; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.EQUAL = 0x0202; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.LEQUAL = 0x0203; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.GREATER = 0x0204; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.NOTEQUAL = 0x0205; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.GEQUAL = 0x0206; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ALWAYS = 0x0207; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.KEEP = 0x1E00; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.REPLACE = 0x1E01; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.INCR = 0x1E02; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.DECR = 0x1E03; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.INVERT = 0x150A; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.INCR_WRAP = 0x8507; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.DECR_WRAP = 0x8508; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.VENDOR = 0x1F00; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.RENDERER = 0x1F01; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.VERSION = 0x1F02; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.NEAREST = 0x2600; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.LINEAR = 0x2601; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.NEAREST_MIPMAP_NEAREST = 0x2700; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.LINEAR_MIPMAP_NEAREST = 0x2701; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.NEAREST_MIPMAP_LINEAR = 0x2702; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.LINEAR_MIPMAP_LINEAR = 0x2703; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE_MAG_FILTER = 0x2800; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE_MIN_FILTER = 0x2801; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE_WRAP_S = 0x2802; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE_WRAP_T = 0x2803; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE_2D = 0x0DE1; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE = 0x1702; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE_CUBE_MAP = 0x8513; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE_BINDING_CUBE_MAP = 0x8514; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE0 = 0x84C0; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE1 = 0x84C1; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE2 = 0x84C2; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE3 = 0x84C3; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE4 = 0x84C4; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE5 = 0x84C5; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE6 = 0x84C6; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE7 = 0x84C7; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE8 = 0x84C8; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE9 = 0x84C9; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE10 = 0x84CA; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE11 = 0x84CB; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE12 = 0x84CC; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE13 = 0x84CD; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE14 = 0x84CE; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE15 = 0x84CF; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE16 = 0x84D0; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE17 = 0x84D1; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE18 = 0x84D2; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE19 = 0x84D3; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE20 = 0x84D4; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE21 = 0x84D5; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE22 = 0x84D6; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE23 = 0x84D7; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE24 = 0x84D8; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE25 = 0x84D9; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE26 = 0x84DA; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE27 = 0x84DB; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE28 = 0x84DC; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE29 = 0x84DD; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE30 = 0x84DE; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.TEXTURE31 = 0x84DF; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.ACTIVE_TEXTURE = 0x84E0; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.REPEAT = 0x2901; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.CLAMP_TO_EDGE = 0x812F; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.MIRRORED_REPEAT = 0x8370; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FLOAT_VEC2 = 0x8B50; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FLOAT_VEC3 = 0x8B51; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FLOAT_VEC4 = 0x8B52; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.INT_VEC2 = 0x8B53; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.INT_VEC3 = 0x8B54; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.INT_VEC4 = 0x8B55; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.BOOL = 0x8B56; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.BOOL_VEC2 = 0x8B57; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.BOOL_VEC3 = 0x8B58; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.BOOL_VEC4 = 0x8B59; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FLOAT_MAT2 = 0x8B5A; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FLOAT_MAT3 = 0x8B5B; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FLOAT_MAT4 = 0x8B5C; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.SAMPLER_2D = 0x8B5E; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.SAMPLER_CUBE = 0x8B60; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_POINTER = 0x8645; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.COMPILE_STATUS = 0x8B81; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.LOW_FLOAT = 0x8DF0; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.MEDIUM_FLOAT = 0x8DF1; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.HIGH_FLOAT = 0x8DF2; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.LOW_INT = 0x8DF3; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.MEDIUM_INT = 0x8DF4; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.HIGH_INT = 0x8DF5; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FRAMEBUFFER = 0x8D40; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.RENDERBUFFER = 0x8D41; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.RGBA4 = 0x8056; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.RGB5_A1 = 0x8057; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.RGB565 = 0x8D62; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.DEPTH_COMPONENT16 = 0x81A5; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_INDEX = 0x1901; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_INDEX8 = 0x8D48; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.DEPTH_STENCIL = 0x84F9; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.RENDERBUFFER_WIDTH = 0x8D42; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.RENDERBUFFER_HEIGHT = 0x8D43; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.RENDERBUFFER_INTERNAL_FORMAT = 0x8D44; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.RENDERBUFFER_RED_SIZE = 0x8D50; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.RENDERBUFFER_GREEN_SIZE = 0x8D51; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.RENDERBUFFER_BLUE_SIZE = 0x8D52; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.RENDERBUFFER_ALPHA_SIZE = 0x8D53; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.RENDERBUFFER_DEPTH_SIZE = 0x8D54; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.RENDERBUFFER_STENCIL_SIZE = 0x8D55; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.COLOR_ATTACHMENT0 = 0x8CE0; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.DEPTH_ATTACHMENT = 0x8D00; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.STENCIL_ATTACHMENT = 0x8D20; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.DEPTH_STENCIL_ATTACHMENT = 0x821A; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.NONE = 0; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FRAMEBUFFER_COMPLETE = 0x8CD5; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FRAMEBUFFER_UNSUPPORTED = 0x8CDD; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.FRAMEBUFFER_BINDING = 0x8CA6; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.RENDERBUFFER_BINDING = 0x8CA7; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.MAX_RENDERBUFFER_SIZE = 0x84E8; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.INVALID_FRAMEBUFFER_OPERATION = 0x0506; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.UNPACK_FLIP_Y_WEBGL = 0x9240; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.CONTEXT_LOST_WEBGL = 0x9242; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; +/** +@static +@type {number} +@const +*/ +WebGLRenderingContext.BROWSER_DEFAULT_WEBGL = 0x9244; +/** +@type {HTMLCanvasElement} +@const +*/ +WebGLRenderingContext.prototype.canvas = 0; +/** +@type {Number} +@const +*/ +WebGLRenderingContext.prototype.drawingBufferWidth = 0; +/** +@type {Number} +@const +*/ +WebGLRenderingContext.prototype.drawingBufferHeight = 0; +/** +@type {Array[WebGLShader} +@const +*/ +WebGLRenderingContext.prototype.getAttachedShaders = WebGLProgram; +/** +@return {WebGLContextAttributes} +*/ +WebGLRenderingContext.prototype.getContextAttributes = function() {}; +/** +@return {boolean} +*/ +WebGLRenderingContext.prototype.isContextLost = function() {}; +/** +@return {Array[String} +*/ +WebGLRenderingContext.prototype.getSupportedExtensions = function() {}; +/** +@param {string} name +@return {*} +*/ +WebGLRenderingContext.prototype.getExtension = function(name) {}; +/** +@param {Number} texture +@return {void} +*/ +WebGLRenderingContext.prototype.activeTexture = function(texture) {}; +/** +@param {WebGLProgram} program +@param {WebGLShader} shader +@return {void} +*/ +WebGLRenderingContext.prototype.attachShader = function(program,shader) {}; +/** +@param {WebGLProgram} program +@param {Number} index +@param {string} name +@return {void} +*/ +WebGLRenderingContext.prototype.bindAttribLocation = function(program,index,name) {}; +/** +@param {Number} target +@param {WebGLBuffer} buffer +@return {void} +*/ +WebGLRenderingContext.prototype.bindBuffer = function(target,buffer) {}; +/** +@param {Number} target +@param {WebGLFramebuffer} framebuffer +@return {void} +*/ +WebGLRenderingContext.prototype.bindFramebuffer = function(target,framebuffer) {}; +/** +@param {Number} target +@param {WebGLRenderbuffer} renderbuffer +@return {void} +*/ +WebGLRenderingContext.prototype.bindRenderbuffer = function(target,renderbuffer) {}; +/** +@param {Number} target +@param {WebGLTexture} texture +@return {void} +*/ +WebGLRenderingContext.prototype.bindTexture = function(target,texture) {}; +/** +@param {Number} red +@param {Number} green +@param {Number} blue +@param {Number} alpha +@return {void} +*/ +WebGLRenderingContext.prototype.blendColor = function(red,green,blue,alpha) {}; +/** +@param {Number} mode +@return {void} +*/ +WebGLRenderingContext.prototype.blendEquation = function(mode) {}; +/** +@param {Number} modeRGB +@param {Number} modeAlpha +*/ +WebGLRenderingContext.prototype.blendEquationSeparate = function(modeRGB,modeAlpha) {}; +/** +@param {Number} sfactor +@param {Number} dfactor +*/ +WebGLRenderingContext.prototype.blendFunc = function(sfactor,dfactor) {}; +/** +@param {Number} srcRGB +@param {Number} dstRGB +@param {Number} srcAlpha +@param {Number} dstAlpha +@return {void} +*/ +WebGLRenderingContext.prototype.blendFuncSeparate = function(srcRGB,dstRGB,srcAlpha,dstAlpha) {}; +/** +@param {Number} target +@param {Number} size +@param {Number} usage +*/ +WebGLRenderingContext.prototype.bufferData = function(target,size,usage) {}; +/** +@param {Number} target +@param {ArrayBufferView} data +@param {Number} usage +*/ +WebGLRenderingContext.prototype.bufferData = function(target,data,usage) {}; +/** +@param {Number} target +@param {ArrayBuffer} data +@param {Number} usage +*/ +WebGLRenderingContext.prototype.bufferData = function(target,data,usage) {}; +/** +@param {Number} target +@param {Number} offset +@param {ArrayBufferView} data +*/ +WebGLRenderingContext.prototype.bufferSubData = function(target,offset,data) {}; +/** +@param {Number} target +@param {Number} offset +@param {ArrayBuffer} data +*/ +WebGLRenderingContext.prototype.bufferSubData = function(target,offset,data) {}; +/** +@param {Number} target +@return {Number} +*/ +WebGLRenderingContext.prototype.checkFramebufferStatus = function(target) {}; +/** +@param {GLbitfield} mask +@return {void} +*/ +WebGLRenderingContext.prototype.clear = function(mask) {}; +/** +@param {Number} red +@param {Number} green +@param {Number} blue +@param {Number} alpha +@return {void} +*/ +WebGLRenderingContext.prototype.clearColor = function(red,green,blue,alpha) {}; +/** +@param {Number} depth +@return {void} +*/ +WebGLRenderingContext.prototype.clearDepth = function(depth) {}; +/** +@param {Number} s +@return {void} +*/ +WebGLRenderingContext.prototype.clearStencil = function(s) {}; +/** +@param {boolean} red +@param {boolean} green +@param {boolean} blue +@param {boolean} alpha +@return {void} +*/ +WebGLRenderingContext.prototype.colorMask = function(red,green,blue,alpha) {}; +/** +@param {WebGLShader} [shader] +@return {void} +*/ +WebGLRenderingContext.prototype.compileShader = function(shader) {}; +/** +@param {Number} target +@param {Number} level +@param {Number} internalformat +@param {Number} x +@param {Number} y +@param {Number} width +@param {Number} height +@param {Number} border +@return {void} +*/ +WebGLRenderingContext.prototype.copyTexImage2D = function(target,level,internalformat,x,y,width,height,border) {}; +/** +@param {Number} target +@param {Number} level +@param {Number} xoffset +@param {Number} yoffset +@param {Number} x +@param {Number} y +@param {Number} width +@param {Number} height +@return {void} +*/ +WebGLRenderingContext.prototype.copyTexSubImage2D = function(target,level,xoffset,yoffset,x,y,width,height) {}; +/** +@return {WebGLBuffer} +*/ +WebGLRenderingContext.prototype.createBuffer = function() {}; +/** +@return {WebGLFramebuffer} +*/ +WebGLRenderingContext.prototype.createFramebuffer = function() {}; +/** +@return {WebGLProgram} +*/ +WebGLRenderingContext.prototype.createProgram = function() {}; +/** +@return {WebGLRenderbuffer} +*/ +WebGLRenderingContext.prototype.createRenderbuffer = function() {}; +/** +@param {Number} type +@return {WebGLShader} +*/ +WebGLRenderingContext.prototype.createShader = function(type) {}; +/** +@return {WebGLTexture} +*/ +WebGLRenderingContext.prototype.createTexture = function() {}; +/** +@param {Number} mode +@return {void} +*/ +WebGLRenderingContext.prototype.cullFace = function(mode) {}; +/** +@param {WebGLBuffer} buffer +@return {void} +*/ +WebGLRenderingContext.prototype.deleteBuffer = function(buffer) {}; +/** +@param {WebGLRenderbuffer} framebuffer +@return {void} +*/ +WebGLRenderingContext.prototype.deleteFramebuffer = function(framebuffer) {}; +/** +@param {WebGLProgram} program +@return {void} +*/ +WebGLRenderingContext.prototype.deleteProgram = function(program) {}; +/** +@param {WebGLRenderbuffer} renderbuffer +@return {void} +*/ +WebGLRenderingContext.prototype.deleteRenderbuffer = function(renderbuffer) {}; +/** +@param {WebGLShader} shader +@return {void} +*/ +WebGLRenderingContext.prototype.deleteShader = function(shader) {}; +/** +@param {WebGLTexture} texture +@return {void} +*/ +WebGLRenderingContext.prototype.deleteTexture = function(texture) {}; +/** +@param {Number} func +@return {void} +*/ +WebGLRenderingContext.prototype.depthFunc = function(func) {}; +/** +@param {boolean} flag +@return {void} +*/ +WebGLRenderingContext.prototype.depthMask = function(flag) {}; +/** +@param {Number} zNear +@param {Number} zFar +*/ +WebGLRenderingContext.prototype.depthRange = function(zNear,zFar) {}; +/** +@param {WebGLProgram} program +@param {WebGLShader} shader +*/ +WebGLRenderingContext.prototype.detachShader = function(program,shader) {}; +/** +@param {Number} cap +@return {void} +*/ +WebGLRenderingContext.prototype.disable = function(cap) {}; +/** +@param {Number} index +@return {void} +*/ +WebGLRenderingContext.prototype.disableVertexAttribArray = function(index) {}; +/** +@param {Number} mode +@param {Number} first +@param {Number} count +*/ +WebGLRenderingContext.prototype.drawArrays = function(mode,first,count) {}; +/** +@param {Number} mode +@param {Number} count +@param {Number} type +@param {Number} offset +@return {void} +*/ +WebGLRenderingContext.prototype.drawElements = function(mode,count,type,offset) {}; +/** +@param {Number} cap +@return {void} +*/ +WebGLRenderingContext.prototype.enable = function(cap) {}; +/** +@param {Number} index +@return {void} +*/ +WebGLRenderingContext.prototype.enableVertexAttribArray = function(index) {}; +/** +@return {void} +*/ +WebGLRenderingContext.prototype.finish = function() {}; +/** +@return {void} +*/ +WebGLRenderingContext.prototype.flush = function() {}; +/** +@param {Number} target +@param {Number} attachment +@param {Number} renderbuffertarget +@param {WebGLRenderbuffer} renderbuffer +@return {void} +*/ +WebGLRenderingContext.prototype.framebufferRenderbuffer = function(target,attachment,renderbuffertarget,renderbuffer) {}; +/** +@param {Number} target +@param {Number} attachment +@param {Number} textarget +@param {WebGLTexture} texture +@param {Number} level +@return {void} +*/ +WebGLRenderingContext.prototype.framebufferTexture2D = function(target,attachment,textarget,texture,level) {}; +/** +@param {Number} mode +@return {void} +*/ +WebGLRenderingContext.prototype.frontFace = function(mode) {}; +/** +@param {Number} target +@return {void} +*/ +WebGLRenderingContext.prototype.generateMipmap = function(target) {}; +/** +@param {WebGLProgram} program +@param {Number} index +*/ +WebGLRenderingContext.prototype.getActiveAttrib = function(program,index) {}; +/** +@param {WebGLProgram} program +@param {Number} index +*/ +WebGLRenderingContext.prototype.getActiveUniform = function(program,index) {}; +/** +@param {WebGLProgram} program +@param {string} name +*/ +WebGLRenderingContext.prototype.getAttribLocation = function(program,name) {}; +/** +@param {Number} pname +@return {*} +*/ +WebGLRenderingContext.prototype.getParameter = function(pname) {}; +/** +@param {Number} target +@param {Number} pname +*/ +WebGLRenderingContext.prototype.getBufferParameter = function(target,pname) {}; +/** +@return {Number} +*/ +WebGLRenderingContext.prototype.getError = function() {}; +/** +@param {Number} target +@param {Number} attachment +@param {Number} pname +*/ +WebGLRenderingContext.prototype.getFramebufferAttachmentParameter = function(target,attachment,pname) {}; +/** +@param {WebGLProgram} program +@param {Number} pname +*/ +WebGLRenderingContext.prototype.getProgramParameter = function(program,pname) {}; +/** +@param {WebGLProgram} program +@return {string} +*/ +WebGLRenderingContext.prototype.getProgramInfoLog = function(program) {}; +/** +@param {Number} target +@param {Number} pname +*/ +WebGLRenderingContext.prototype.getRenderbufferParameter = function(target,pname) {}; +/** +@param {WebGLShader} shader +@param {Number} pname +*/ +WebGLRenderingContext.prototype.getShaderParameter = function(shader,pname) {}; +/** +@param {WebGLShader} shader +@return {string} +*/ +WebGLRenderingContext.prototype.getShaderInfoLog = function(shader) {}; +/** +@param {WebGLShader} shader +@return {string} +*/ +WebGLRenderingContext.prototype.getShaderSource = function(shader) {}; +/** +@param {Number} target +@param {Number} pname +*/ +WebGLRenderingContext.prototype.getTexParameter = function(target,pname) {}; +/** +@param {WebGLProgram} program +@param {WebGLUniformLocation} location +*/ +WebGLRenderingContext.prototype.getUniform = function(program,location) {}; +/** +@param {WebGLProgram} program +@param {string} name +*/ +WebGLRenderingContext.prototype.getUniformLocation = function(program,name) {}; +/** +@param {Number} index +@param {Number} pname +*/ +WebGLRenderingContext.prototype.getVertexAttrib = function(index,pname) {}; +/** +@param {Number} index +@param {Number} pname +*/ +WebGLRenderingContext.prototype.getVertexAttribOffset = function(index,pname) {}; +/** +@param {Number} target +@param {Number} mode +*/ +WebGLRenderingContext.prototype.hint = function(target,mode) {}; +/** +@param {WebGLBuffer} buffer +@return {boolean} +*/ +WebGLRenderingContext.prototype.isBuffer = function(buffer) {}; +/** +@param {Number} cap +@return {boolean} +*/ +WebGLRenderingContext.prototype.isEnabled = function(cap) {}; +/** +@param {WebGLFramebuffer} framebuffer +@return {boolean} +*/ +WebGLRenderingContext.prototype.isFramebuffer = function(framebuffer) {}; +/** +@param {WebGLProgram} program +@return {boolean} +*/ +WebGLRenderingContext.prototype.isProgram = function(program) {}; +/** +@param {WebGLRenderbuffer} renderbuffer +@return {boolean} +*/ +WebGLRenderingContext.prototype.isRenderbuffer = function(renderbuffer) {}; +/** +@param {WebGLShader} shader +@return {boolean} +*/ +WebGLRenderingContext.prototype.isShader = function(shader) {}; +/** +@param {WebGLTexture} texture +@return {boolean} +*/ +WebGLRenderingContext.prototype.isTexture = function(texture) {}; +/** +@param {Number} width +@return {void} +*/ +WebGLRenderingContext.prototype.lineWidth = function(width) {}; +/** +@param {WebGLProgram} program +@return {void} +*/ +WebGLRenderingContext.prototype.linkProgram = function(program) {}; +/** +@param {Number} pname +@param {Number} param +*/ +WebGLRenderingContext.prototype.pixelStorei = function(pname,param) {}; +/** +@param {Number} factor +@param {Number} units +*/ +WebGLRenderingContext.prototype.polygonOffset = function(factor,units) {}; +/** +@param {Number} x +@param {Number} y +@param {Number} width +@param {Number} height +@param {Number} format +@param {Number} type +@param {ArrayBufferView} pixels +*/ +WebGLRenderingContext.prototype.readPixels = function(x,y,width,height,format,type,pixels) {}; +/** +@param {Number} target +@param {Number} internalformat +@param {Number} width +@param {Number} height +*/ +WebGLRenderingContext.prototype.renderbufferStorage = function(target,internalformat,width,height) {}; +/** +@param {Number} [value] +@param {boolean} invert +*/ +WebGLRenderingContext.prototype.sampleCoverage = function(value,invert) {}; +/** +@param {Number} x +@param {Number} y +@param {Number} width +@param {Number} height +*/ +WebGLRenderingContext.prototype.scissor = function(x,y,width,height) {}; +/** +@param {WebGLShader} shader +@param {string} source +*/ +WebGLRenderingContext.prototype.shaderSource = function(shader,source) {}; +/** +@param {Number} func +@param {Number} ref +@param {Number} mask +*/ +WebGLRenderingContext.prototype.stencilFunc = function(func,ref,mask) {}; +/** +@param {Number} face +@param {Number} func +@param {Number} ref +@param {Number} mask +*/ +WebGLRenderingContext.prototype.stencilFuncSeparate = function(face,func,ref,mask) {}; +/** +@param {Number} mask +@return {void} +*/ +WebGLRenderingContext.prototype.stencilMask = function(mask) {}; +/** +@param {Number} face +@param {Number} mask +*/ +WebGLRenderingContext.prototype.stencilMaskSeparate = function(face,mask) {}; +/** +@param {Number} fail +@param {Number} zfail +@param {Number} zpass +*/ +WebGLRenderingContext.prototype.stencilOp = function(fail,zfail,zpass) {}; +/** +@param {Number} face +@param {Number} fail +@param {Number} zfail +@param {Number} zpass +*/ +WebGLRenderingContext.prototype.stencilOpSeparate = function(face,fail,zfail,zpass) {}; +/** +@param {Number} target +@param {Number} level +@param {Number} internalformat +@param {Number} width +@param {Number} height +@param {Number} border +@param {Number} format +@param {Number} type +@param {ArrayBufferView} pixels +*/ +WebGLRenderingContext.prototype.texImage2D = function(target,level,internalformat,width,height,border,format,type,pixels) {}; +/** +@param {Number} target +@param {Number} level +@param {Number} internalformat +@param {Number} format +@param {Number} type +@param {ImageData|HTMLImageElement|HTMLCanvasElement|HTMLVideoElement} pixelsImageCanvasOrVideo +*/ +WebGLRenderingContext.prototype.texImage2D = function(target,level,internalformat,format,type,pixelsImageCanvasOrVideo) {}; +/** +@param {Number} target +@param {Number} pname +@param {Number} param +*/ +WebGLRenderingContext.prototype.texParameterf = function(target,pname,param) {}; +/** +@param {Number} target +@param {Number} pname +@param {Number} param +*/ +WebGLRenderingContext.prototype.texParameteri = function(target,pname,param) {}; +/** +@param {Number} target +@param {Number} level +@param {Number} xoffset +@param {Number} yoffset +@param {Number} width +@param {Number} height +@param {Number} format +@param {Number} type +@param {ArrayBufferView} pixels +*/ +WebGLRenderingContext.prototype.texSubImage2D = function(target,level,xoffset,yoffset,width,height,format,type,pixels) {}; +/** +@param {Number} target +@param {Number} level +@param {Number} xoffset +@param {Number} yoffset +@param {Number} format +@param {Number} type +@param {ImageData|HTMLImageElement|HTMLCanvasElement|HTMLVideoElement} pixelsImageCanvasOrVideo +*/ +WebGLRenderingContext.prototype.texSubImage2D = function(target,level,xoffset,yoffset,format,type,pixelsImageCanvasOrVideo) {}; +/** +@param {WebGLUniformLocation} location +@param {Number} x +*/ +WebGLRenderingContext.prototype.uniform1f = function(location,x) {}; +/** +@param {WebGLUniformLocation} location +@param {Float32Array} v +*/ +WebGLRenderingContext.prototype.uniform1fv = function(location,v) {}; +/** +@param {WebGLUniformLocation} location +@param {Array[Number} [v] +*/ +WebGLRenderingContext.prototype.uniform1fv = function(location,v) {}; +/** +@param {WebGLUniformLocation} location +@param {Number} x +*/ +WebGLRenderingContext.prototype.uniform1i = function(location,x) {}; +/** +@param {WebGLUniformLocation} location +@param {Int32Array} v +*/ +WebGLRenderingContext.prototype.uniform1iv = function(location,v) {}; +/** +@param {WebGLUniformLocation} location +@param {Array[Number} [v] +*/ +WebGLRenderingContext.prototype.uniform1iv = function(location,v) {}; +/** +@param {WebGLUniformLocation} location +@param {Number} x +@param {Number} y +*/ +WebGLRenderingContext.prototype.uniform2f = function(location,x,y) {}; +/** +@param {WebGLUniformLocation} location +@param {Float32Array} v +*/ +WebGLRenderingContext.prototype.uniform2fv = function(location,v) {}; +/** +@param {WebGLUniformLocation} location +@param {Array[Number} [v] +*/ +WebGLRenderingContext.prototype.uniform2fv = function(location,v) {}; +/** +@param {WebGLUniformLocation} location +@param {Number} x +@param {Number} y +*/ +WebGLRenderingContext.prototype.uniform2i = function(location,x,y) {}; +/** +@param {WebGLUniformLocation} location +@param {Int32Array} v +*/ +WebGLRenderingContext.prototype.uniform2iv = function(location,v) {}; +/** +@param {WebGLUniformLocation} location +@param {Array[Number} v +*/ +WebGLRenderingContext.prototype.uniform2iv = function(location,v) {}; +/** +@param {WebGLUniformLocation} location +@param {Number} x +@param {Number} y +@param {Number} z +*/ +WebGLRenderingContext.prototype.uniform3f = function(location,x,y,z) {}; +/** +@param {WebGLUniformLocation} location +@param {Float32Array} v +*/ +WebGLRenderingContext.prototype.uniform3fv = function(location,v) {}; +/** +@param {WebGLUniformLocation} location +@param {Array[Number} v +*/ +WebGLRenderingContext.prototype.uniform3fv = function(location,v) {}; +/** +@param {WebGLUniformLocation} location +@param {Number} x +@param {Number} y +@param {Number} z +*/ +WebGLRenderingContext.prototype.uniform3i = function(location,x,y,z) {}; +/** +@param {WebGLUniformLocation} location +@param {Int32Array} v +*/ +WebGLRenderingContext.prototype.uniform3iv = function(location,v) {}; +/** +@param {WebGLUniformLocation} location +@param {Array[Number} v +*/ +WebGLRenderingContext.prototype.uniform3iv = function(location,v) {}; +/** +@param {WebGLUniformLocation} location +@param {Number} x +@param {Number} y +@param {Number} z +@param {Number} w +*/ +WebGLRenderingContext.prototype.uniform4f = function(location,x,y,z,w) {}; +/** +@param {WebGLUniformLocation} location +@param {Float32Array} v +*/ +WebGLRenderingContext.prototype.uniform4fv = function(location,v) {}; +/** +@param {WebGLUniformLocation} location +@param {Array[Number} v +*/ +WebGLRenderingContext.prototype.uniform4fv = function(location,v) {}; +/** +@param {WebGLUniformLocation} location +@param {Number} x +@param {Number} y +@param {Number} z +@param {Number} w +*/ +WebGLRenderingContext.prototype.uniform4i = function(location,x,y,z,w) {}; +/** +@param {WebGLUniformLocation} location +@param {Int32Array} v +*/ +WebGLRenderingContext.prototype.uniform4iv = function(location,v) {}; +/** +@param {WebGLUniformLocation} location +@param {Array[Number} v +*/ +WebGLRenderingContext.prototype.uniform4iv = function(location,v) {}; +/** +@param {WebGLUniformLocation} location +@param {boolean} transpose +@param {Float32Array} value +*/ +WebGLRenderingContext.prototype.uniformMatrix2fv = function(location,transpose,value) {}; +/** +@param {WebGLUniformLocation} location +@param {boolean} transpose +@param {Array[Number} value +*/ +WebGLRenderingContext.prototype.uniformMatrix2fv = function(location,transpose,value) {}; +/** +@param {WebGLUniformLocation} location +@param {boolean} transpose +@param {Float32Array} value +*/ +WebGLRenderingContext.prototype.uniformMatrix3fv = function(location,transpose,value) {}; +/** +@param {WebGLUniformLocation} location +@param {boolean} transpose +@param {Array[Number} value +*/ +WebGLRenderingContext.prototype.uniformMatrix3fv = function(location,transpose,value) {}; +/** +@param {WebGLUniformLocation} location +@param {boolean} transpose +@param {Float32Array} value +*/ +WebGLRenderingContext.prototype.uniformMatrix4fv = function(location,transpose,value) {}; +/** +@param {WebGLUniformLocation} location +@param {boolean} transpose +@param {Array[Number} value +*/ +WebGLRenderingContext.prototype.uniformMatrix4fv = function(location,transpose,value) {}; +/** +@param {WebGLProgram} program +@return {void} +*/ +WebGLRenderingContext.prototype.useProgram = function(program) {}; +/** +@param {WebGLProgram} program +@return {void} +*/ +WebGLRenderingContext.prototype.validateProgram = function(program) {}; +/** +@param {Number} indx +@param {Number} x +*/ +WebGLRenderingContext.prototype.vertexAttrib1f = function(indx,x) {}; +/** +@param {Number} indx +@param {Float32Array} values +*/ +WebGLRenderingContext.prototype.vertexAttrib1fv = function(indx,values) {}; +/** +@param {Number} indx +@param {Array[Number} values +*/ +WebGLRenderingContext.prototype.vertexAttrib1fv = function(indx,values) {}; +/** +@param {Number} indx +@param {Number} x +@param {Number} y +*/ +WebGLRenderingContext.prototype.vertexAttrib2f = function(indx,x,y) {}; +/** +@param {Number} indx +@param {Float32Array} values +*/ +WebGLRenderingContext.prototype.vertexAttrib2fv = function(indx,values) {}; +/** +@param {Number} indx +@param {Array[Number} values +*/ +WebGLRenderingContext.prototype.vertexAttrib2fv = function(indx,values) {}; +/** +@param {Number} indx +@param {Number} x +@param {Number} y +@param {Number} z +*/ +WebGLRenderingContext.prototype.vertexAttrib3f = function(indx,x,y,z) {}; +/** +@param {Number} indx +@param {Float32Array} values +*/ +WebGLRenderingContext.prototype.vertexAttrib3fv = function(indx,values) {}; +/** +@param {Number} indx +@param {Array[Number} values +*/ +WebGLRenderingContext.prototype.vertexAttrib3fv = function(indx,values) {}; +/** +@param {Number} indx +@param {Number} x +@param {Number} y +@param {Number} z +@param {Number} w +*/ +WebGLRenderingContext.prototype.vertexAttrib4f = function(indx,x,y,z,w) {}; +/** +@param {Number} indx +@param {Float32Array} values +*/ +WebGLRenderingContext.prototype.vertexAttrib4fv = function(indx,values) {}; +/** +@param {Number} indx +@param {Array[Number} values +*/ +WebGLRenderingContext.prototype.vertexAttrib4fv = function(indx,values) {}; +/** +@param {Number} indx +@param {Number} size +@param {Number} type +@param {boolean} normalized +@param {Number} stride +@param {Number} offset +*/ +WebGLRenderingContext.prototype.vertexAttribPointer = function(indx,size,type,normalized,stride,offset) {}; +/** +@param {Number} x +@param {Number} y +@param {Number} width +@param {Number} height +@return {void} +*/ +WebGLRenderingContext.prototype.viewport = function(x,y,width,height) {}; +WebGLRenderingContext = {}; + +/** +@type {string} +@const +*/ +WebGLContextEvent.prototype.statusMessage = 0; +/** +@param {string} typeArg +@param {boolean} canBubbleArg +@param {boolean} cancelableArg +@param {string} statusMessageArg +@return {void} +*/ +WebGLContextEvent.prototype.initWebGLContextEvent = function(typeArg,canBubbleArg,cancelableArg,statusMessageArg) {}; +WebGLContextEvent.prototype = new Event(); +WebGLContextEvent = {}; diff --git a/JavaScriptDefinitions/js-xml/WebGL.xml b/JavaScriptDefinitions/js-xml/WebGL.xml new file mode 100644 index 0000000..9c358be --- /dev/null +++ b/JavaScriptDefinitions/js-xml/WebGL.xml @@ -0,0 +1,1173 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/JavaScriptDefinitions/js-xml/lib.d.ts b/JavaScriptDefinitions/js-xml/lib.d.ts new file mode 100644 index 0000000..d4adc84 --- /dev/null +++ b/JavaScriptDefinitions/js-xml/lib.d.ts @@ -0,0 +1,9181 @@ +/* ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + +/// + +///////////////////////////// +/// ECMAScript APIs +///////////////////////////// + +declare var NaN: number; +declare var Infinity: number; + +declare function eval(x: string): any; +declare function parseInt(s: string, radix?: number): number; +declare function parseFloat(string: string): number; +declare function isNaN(number: number): boolean; +declare function isFinite(number: number): boolean; +declare function decodeURI(encodedURI: string): string; +declare function decodeURIComponent(encodedURIComponent: string): string; +declare function encodeURI(uri: string): string; +declare function encodeURIComponent(uriComponent: string): string; + +interface PropertyDescriptor { + configurable?: boolean; + enumerable?: boolean; + value?: any; + writable?: boolean; + get? (): any; + set? (v: any): void; +} + +interface PropertyDescriptorMap { + [s: string]: PropertyDescriptor; +} + +interface Object { + toString(): string; + toLocaleString(): string; + valueOf(): Object; + hasOwnProperty(v: string): boolean; + isPrototypeOf(v: Object): boolean; + propertyIsEnumerable(v: string): boolean; + + [s: string]: any; +} + +declare var Object: { + new (value?: any): Object; + (): any; + (value: any): any; + + prototype: Object; + + getPrototypeOf(o: any): any; + getOwnPropertyDescriptor(o: any, p: string): PropertyDescriptor; + getOwnPropertyNames(o: any): string[]; + create(o: any, properties?: PropertyDescriptorMap): any; + defineProperty(o: any, p: string, attributes: PropertyDescriptor): any; + defineProperties(o: any, properties: PropertyDescriptorMap): any; + seal(o: any): any; + freeze(o: any): any; + preventExtensions(o: any): any; + isSealed(o: any): boolean; + isFrozen(o: any): boolean; + isExtensible(o: any): boolean; + keys(o: any): string[]; +} + +interface Function { + apply(thisArg: any, argArray?: any): any; + call(thisArg: any, ...argArray: any[]): any; + bind(thisArg: any, ...argArray: any[]): any; + + prototype: any; + length: number; + + // Non-standard extensions + arguments: any; + caller: Function; +} + +declare var Function: { + new (...args: string[]): Function; + (...args: string[]): Function; + prototype: Function; +} + +interface IArguments { + [index: number]: any; + length: number; + callee: Function; +} + +interface String { + toString(): string; + charAt(pos: number): string; + charCodeAt(index: number): number; + concat(...strings: string[]): string; + indexOf(searchString: string, position?: number): number; + lastIndexOf(searchString: string, position?: number): number; + localeCompare(that: string): number; + match(regexp: string): string[]; + match(regexp: RegExp): string[]; + replace(searchValue: string, replaceValue: string): string; + replace(searchValue: string, replaceValue: (substring: string, ...args: any[]) => string): string; + replace(searchValue: RegExp, replaceValue: string): string; + replace(searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): string; + search(regexp: string): number; + search(regexp: RegExp): number; + slice(start: number, end?: number): string; + split(separator: string, limit?: number): string[]; + split(separator: RegExp, limit?: number): string[]; + substring(start: number, end?: number): string; + toLowerCase(): string; + toLocaleLowerCase(): string; + toUpperCase(): string; + toLocaleUpperCase(): string; + trim(): string; + + length: number; + + substr(from: number, length?: number): string; +} + +declare var String: { + new (value?: any): String; + (value?: any): string; + prototype: String; + fromCharCode(...codes: number[]): string; +} + +interface Boolean { +} +declare var Boolean: { + new (value?: any): Boolean; + (value?: any): boolean; + prototype: Boolean; +} + +interface Number { + toString(radix?: number): string; + toFixed(fractionDigits?: number): string; + toExponential(fractionDigits?: number): string; + toPrecision(precision: number): string; +} + +declare var Number: { + new (value?: any): Number; + (value?: any): number; + prototype: Number; + MAX_VALUE: number; + MIN_VALUE: number; + NaN: number; + NEGATIVE_INFINITY: number; + POSITIVE_INFINITY: number; +} + +interface Math { + E: number; + LN10: number; + LN2: number; + LOG2E: number; + LOG10E: number; + PI: number; + SQRT1_2: number; + SQRT2: number; + abs(x: number): number; + acos(x: number): number; + asin(x: number): number; + atan(x: number): number; + atan2(y: number, x: number): number; + ceil(x: number): number; + cos(x: number): number; + exp(x: number): number; + floor(x: number): number; + log(x: number): number; + max(...values: number[]): number; + min(...values: number[]): number; + pow(x: number, y: number): number; + random(): number; + round(x: number): number; + sin(x: number): number; + sqrt(x: number): number; + tan(x: number): number; +} + +declare var Math: Math; + +interface Date { + toString(): string; + toDateString(): string; + toTimeString(): string; + toLocaleString(): string; + toLocaleDateString(): string; + toLocaleTimeString(): string; + valueOf(): number; + getTime(): number; + getFullYear(): number; + getUTCFullYear(): number; + getMonth(): number; + getUTCMonth(): number; + getDate(): number; + getUTCDate(): number; + getDay(): number; + getUTCDay(): number; + getHours(): number; + getUTCHours(): number; + getMinutes(): number; + getUTCMinutes(): number; + getSeconds(): number; + getUTCSeconds(): number; + getMilliseconds(): number; + getUTCMilliseconds(): number; + getTimezoneOffset(): number; + setTime(time: number): void; + setMilliseconds(ms: number): void; + setUTCMilliseconds(ms: number): void; + setSeconds(sec: number, ms?: number): void; + setUTCSeconds(sec: number, ms?: number): void; + setMinutes(min: number, sec?: number, ms?: number): void; + setUTCMinutes(min: number, sec?: number, ms?: number): void; + setHours(hours: number, min?: number, sec?: number, ms?: number): void; + setUTCHours(hours: number, min?: number, sec?: number, ms?: number): void; + setDate(date: number): void; + setUTCDate(date: number): void; + setMonth(month: number, date?: number): void; + setUTCMonth(month: number, date?: number): void; + setFullYear(year: number, month?: number, date?: number): void; + setUTCFullYear(year: number, month?: number, date?: number): void; + toUTCString(): string; + toISOString(): string; + toJSON(key?: any): string; +} + +declare var Date: { + new (): Date; + new (value: number): Date; + new (value: string): Date; + new (year: number, month: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): Date; + (): string; + prototype: Date; + parse(s: string): number; + UTC(year: number, month: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): number; + now(): number; +} + +interface RegExpExecArray { + [index: number]: string; + length: number; + + index: number; + input: string; + + toString(): string; + toLocaleString(): string; + concat(...items: string[][]): string[]; + join(separator?: string): string; + pop(): string; + push(...items: string[]): number; + reverse(): string[]; + shift(): string; + slice(start: number, end?: number): string[]; + sort(compareFn?: (a: string, b: string) => number): string[]; + splice(start: number): string[]; + splice(start: number, deleteCount: number, ...items: string[]): string[]; + unshift(...items: string[]): number; + + indexOf(searchElement: string, fromIndex?: number): number; + lastIndexOf(searchElement: string, fromIndex?: number): number; + every(callbackfn: (value: string, index: number, array: string[]) => boolean, thisArg?: any): boolean; + some(callbackfn: (value: string, index: number, array: string[]) => boolean, thisArg?: any): boolean; + forEach(callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any): void; + map(callbackfn: (value: string, index: number, array: string[]) => any, thisArg?: any): any[]; + filter(callbackfn: (value: string, index: number, array: string[]) => boolean, thisArg?: any): string[]; + reduce(callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: string[]) => any, initialValue?: any): any; + reduceRight(callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: string[]) => any, initialValue?: any): any; +} + + +interface RegExp { + exec(string: string): RegExpExecArray; + test(string: string): boolean; + source: string; + global: boolean; + ignoreCase: boolean; + multiline: boolean; + + lastIndex: number; + + // Non-standard extensions + compile(): RegExp; +} +declare var RegExp: { + new (pattern: string, flags?: string): RegExp; + (pattern: string, flags?: string): RegExp; + + // Non-standard extensions + $1: string; + $2: string; + $3: string; + $4: string; + $5: string; + $6: string; + $7: string; + $8: string; + $9: string; + lastMatch: string; +} + +interface Error { + name: string; + message: string; +} +declare var Error: { + new (message?: string): Error; + (message?: string): Error; + prototype: Error; +} + +interface EvalError extends Error { +} +declare var EvalError: { + new (message?: string): EvalError; + (message?: string): EvalError; + prototype: EvalError; +} + +interface RangeError extends Error { +} +declare var RangeError: { + new (message?: string): RangeError; + (message?: string): RangeError; + prototype: RangeError; +} + +interface ReferenceError extends Error { +} +declare var ReferenceError: { + new (message?: string): ReferenceError; + (message?: string): ReferenceError; + prototype: ReferenceError; +} + +interface SyntaxError extends Error { +} +declare var SyntaxError: { + new (message?: string): SyntaxError; + (message?: string): SyntaxError; + prototype: SyntaxError; +} + +interface TypeError extends Error { +} +declare var TypeError: { + new (message?: string): TypeError; + (message?: string): TypeError; + prototype: TypeError; +} + +interface URIError extends Error { +} +declare var URIError: { + new (message?: string): URIError; + (message?: string): URIError; + prototype: URIError; +} + +interface JSON { + parse(text: string, reviver?: (key: any, value: any) => any): any; + stringify(value: any): string; + stringify(value: any, replacer: (key: string, value: any) => any): string; + stringify(value: any, replacer: any[]): string; + stringify(value: any, replacer: (key: string, value: any) => any, space: any): string; + stringify(value: any, replacer: any[], space: any): string; +} +declare var JSON: JSON; + +///////////////////////////// +/// ECMAScript Array API (specially handled by compiler) +///////////////////////////// + +interface Array { + toString(): string; + toLocaleString(): string; + concat(...items: U[]): T[]; + concat(...items: T[]): T[]; + join(separator?: string): string; + pop(): T; + push(...items: T[]): number; + reverse(): T[]; + shift(): T; + slice(start: number, end?: number): T[]; + sort(compareFn?: (a: T, b: T) => number): T[]; + splice(start: number): T[]; + splice(start: number, deleteCount: number, ...items: T[]): T[]; + unshift(...items: T[]): number; + + indexOf(searchElement: T, fromIndex?: number): number; + lastIndexOf(searchElement: T, fromIndex?: number): number; + every(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean; + some(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean; + forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void; + map(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[]; + filter(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): T[]; + reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; + reduce(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; + reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; + reduceRight(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; + + length: number; + + [n: number]: T; +} +declare var Array: { + new (arrayLength: number): T[]; + new (...items: T[]): T[]; + (arrayLength: number): T[]; + (...items: T[]): T[]; + isArray(arg: any): boolean; + prototype: Array; +} + + +///////////////////////////// +/// IE10 ECMAScript Extensions +///////////////////////////// + +interface ArrayBuffer { + byteLength: number; +} +declare var ArrayBuffer: { + prototype: ArrayBuffer; + new (byteLength: number): ArrayBuffer; +} + +interface ArrayBufferView { + buffer: ArrayBuffer; + byteOffset: number; + byteLength: number; +} + +interface Int8Array extends ArrayBufferView { + BYTES_PER_ELEMENT: number; + length: number; + [index: number]: number; + get(index: number): number; + set(index: number, value: number): void; + set(array: Int8Array, offset?: number): void; + set(array: number[], offset?: number): void; + subarray(begin: number, end?: number): Int8Array; +} +declare var Int8Array: { + prototype: Int8Array; + new (length: number): Int8Array; + new (array: Int8Array): Int8Array; + new (array: number[]): Int8Array; + new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Int8Array; + BYTES_PER_ELEMENT: number; +} + +interface Uint8Array extends ArrayBufferView { + BYTES_PER_ELEMENT: number; + length: number; + [index: number]: number; + get(index: number): number; + set(index: number, value: number): void; + set(array: Uint8Array, offset?: number): void; + set(array: number[], offset?: number): void; + subarray(begin: number, end?: number): Uint8Array; +} +declare var Uint8Array: { + prototype: Uint8Array; + new (length: number): Uint8Array; + new (array: Uint8Array): Uint8Array; + new (array: number[]): Uint8Array; + new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Uint8Array; + BYTES_PER_ELEMENT: number; +} + +interface Int16Array extends ArrayBufferView { + BYTES_PER_ELEMENT: number; + length: number; + [index: number]: number; + get(index: number): number; + set(index: number, value: number): void; + set(array: Int16Array, offset?: number): void; + set(array: number[], offset?: number): void; + subarray(begin: number, end?: number): Int16Array; +} +declare var Int16Array: { + prototype: Int16Array; + new (length: number): Int16Array; + new (array: Int16Array): Int16Array; + new (array: number[]): Int16Array; + new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Int16Array; + BYTES_PER_ELEMENT: number; +} + +interface Uint16Array extends ArrayBufferView { + BYTES_PER_ELEMENT: number; + length: number; + [index: number]: number; + get(index: number): number; + set(index: number, value: number): void; + set(array: Uint16Array, offset?: number): void; + set(array: number[], offset?: number): void; + subarray(begin: number, end?: number): Uint16Array; +} +declare var Uint16Array: { + prototype: Uint16Array; + new (length: number): Uint16Array; + new (array: Uint16Array): Uint16Array; + new (array: number[]): Uint16Array; + new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Uint16Array; + BYTES_PER_ELEMENT: number; +} + +interface Int32Array extends ArrayBufferView { + BYTES_PER_ELEMENT: number; + length: number; + [index: number]: number; + get(index: number): number; + set(index: number, value: number): void; + set(array: Int32Array, offset?: number): void; + set(array: number[], offset?: number): void; + subarray(begin: number, end?: number): Int32Array; +} +declare var Int32Array: { + prototype: Int32Array; + new (length: number): Int32Array; + new (array: Int32Array): Int32Array; + new (array: number[]): Int32Array; + new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Int32Array; + BYTES_PER_ELEMENT: number; +} + +interface Uint32Array extends ArrayBufferView { + BYTES_PER_ELEMENT: number; + length: number; + [index: number]: number; + get(index: number): number; + set(index: number, value: number): void; + set(array: Uint32Array, offset?: number): void; + set(array: number[], offset?: number): void; + subarray(begin: number, end?: number): Uint32Array; +} +declare var Uint32Array: { + prototype: Uint32Array; + new (length: number): Uint32Array; + new (array: Uint32Array): Uint32Array; + new (array: number[]): Uint32Array; + new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Uint32Array; + BYTES_PER_ELEMENT: number; +} + +interface Float32Array extends ArrayBufferView { + BYTES_PER_ELEMENT: number; + length: number; + [index: number]: number; + get(index: number): number; + set(index: number, value: number): void; + set(array: Float32Array, offset?: number): void; + set(array: number[], offset?: number): void; + subarray(begin: number, end?: number): Float32Array; +} +declare var Float32Array: { + prototype: Float32Array; + new (length: number): Float32Array; + new (array: Float32Array): Float32Array; + new (array: number[]): Float32Array; + new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Float32Array; + BYTES_PER_ELEMENT: number; +} + +interface Float64Array extends ArrayBufferView { + BYTES_PER_ELEMENT: number; + length: number; + [index: number]: number; + get(index: number): number; + set(index: number, value: number): void; + set(array: Float64Array, offset?: number): void; + set(array: number[], offset?: number): void; + subarray(begin: number, end?: number): Float64Array; +} +declare var Float64Array: { + prototype: Float64Array; + new (length: number): Float64Array; + new (array: Float64Array): Float64Array; + new (array: number[]): Float64Array; + new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Float64Array; + BYTES_PER_ELEMENT: number; +} + +interface DataView extends ArrayBufferView { + getInt8(byteOffset: number): number; + getUint8(byteOffset: number): number; + getInt16(byteOffset: number, littleEndian?: boolean): number; + getUint16(byteOffset: number, littleEndian?: boolean): number; + getInt32(byteOffset: number, littleEndian?: boolean): number; + getUint32(byteOffset: number, littleEndian?: boolean): number; + getFloat32(byteOffset: number, littleEndian?: boolean): number; + getFloat64(byteOffset: number, littleEndian?: boolean): number; + + setInt8(byteOffset: number, value: number): void; + setUint8(byteOffset: number, value: number): void; + setInt16(byteOffset: number, value: number, littleEndian?: boolean): void; + setUint16(byteOffset: number, value: number, littleEndian?: boolean): void; + setInt32(byteOffset: number, value: number, littleEndian?: boolean): void; + setUint32(byteOffset: number, value: number, littleEndian?: boolean): void; + setFloat32(byteOffset: number, value: number, littleEndian?: boolean): void; + setFloat64(byteOffset: number, value: number, littleEndian?: boolean): void; +} +declare var DataView: { + prototype: DataView; + new (buffer: ArrayBuffer, byteOffset?: number, length?: number): DataView; +} + +///////////////////////////// +/// IE11 ECMAScript Extensions +///////////////////////////// + +interface Map { + clear(): void; + delete(key: K): boolean; + forEach(callbackfn: (value: V, index: K, map: Map) => void, thisArg?: any): void; + get(key: K): V; + has(key: K): boolean; + set(key: K, value: V): Map; + size: number; +} +declare var Map: { + new (): Map; +} + +interface WeakMap { + clear(): void; + delete(key: K): boolean; + get(key: K): V; + has(key: K): boolean; + set(key: K, value: V): WeakMap; +} +declare var WeakMap: { + new (): WeakMap; +} + +interface Set { + add(value: T): Set; + clear(): void; + delete(value: T): boolean; + forEach(callbackfn: (value: T, index: T, set: Set) => void, thisArg?: any): void; + has(value: T): boolean; + size: number; +} +declare var Set: { + new (): Set; +} + +declare module Intl { + + interface CollatorOptions { + usage?: string; + localeMatcher?: string; + numeric?: boolean; + caseFirst?: string; + sensitivity?: string; + ignorePunctuation?: boolean; + } + + interface ResolvedCollatorOptions { + locale: string; + usage: string; + sensitivity: string; + ignorePunctuation: boolean; + collation: string; + caseFirst: string; + numeric: boolean; + } + + interface Collator { + compare(x: string, y: string): number; + resolvedOptions(): ResolvedCollatorOptions; + } + var Collator: { + new (locales?: string[], options?: CollatorOptions): Collator; + new (locale?: string, options?: CollatorOptions): Collator; + (locales?: string[], options?: CollatorOptions): Collator; + (locale?: string, options?: CollatorOptions): Collator; + supportedLocalesOf(locales: string[], options?: CollatorOptions): string[]; + supportedLocalesOf(locale: string, options?: CollatorOptions): string[]; + } + + interface NumberFormatOptions { + localeMatcher?: string; + style?: string; + currency?: string; + currencyDisplay?: string; + useGrouping?: boolean; + } + + interface ResolvedNumberFormatOptions { + locale: string; + numberingSystem: string; + style: string; + currency?: string; + currencyDisplay?: string; + minimumintegerDigits: number; + minimumFractionDigits: number; + maximumFractionDigits: number; + minimumSignificantDigits?: number; + maximumSignificantDigits?: number; + useGrouping: boolean; + } + + interface NumberFormat { + format(value: number): string; + resolvedOptions(): ResolvedNumberFormatOptions; + } + var NumberFormat: { + new (locales?: string[], options?: NumberFormatOptions): Collator; + new (locale?: string, options?: NumberFormatOptions): Collator; + (locales?: string[], options?: NumberFormatOptions): Collator; + (locale?: string, options?: NumberFormatOptions): Collator; + supportedLocalesOf(locales: string[], options?: NumberFormatOptions): string[]; + supportedLocalesOf(locale: string, options?: NumberFormatOptions): string[]; + } + + interface DateTimeFormatOptions { + localeMatcher?: string; + weekday?: string; + era?: string; + year?: string; + month?: string; + day?: string; + hour?: string; + minute?: string; + second?: string; + timeZoneName?: string; + formatMatcher?: string; + hour12: boolean; + } + + interface ResolvedDateTimeFormatOptions { + locale: string; + calendar: string; + numberingSystem: string; + timeZone: string; + hour12?: boolean; + weekday?: string; + era?: string; + year?: string; + month?: string; + day?: string; + hour?: string; + minute?: string; + second?: string; + timeZoneName?: string; + } + + interface DateTimeFormat { + format(date: number): string; + resolvedOptions(): ResolvedDateTimeFormatOptions; + } + var DateTimeFormat: { + new (locales?: string[], options?: DateTimeFormatOptions): Collator; + new (locale?: string, options?: DateTimeFormatOptions): Collator; + (locales?: string[], options?: DateTimeFormatOptions): Collator; + (locale?: string, options?: DateTimeFormatOptions): Collator; + supportedLocalesOf(locales: string[], options?: DateTimeFormatOptions): string[]; + supportedLocalesOf(locale: string, options?: DateTimeFormatOptions): string[]; + } +} + +interface String { + localeCompare(that: string, locales: string[], options?: Intl.CollatorOptions): number; + localeCompare(that: string, locale: string, options?: Intl.CollatorOptions): number; +} + +interface Numer { + toLocaleString(locales: string[], options?: Intl.NumberFormatOptions): string; + toLocaleString(locale: string, options?: Intl.NumberFormatOptions): string; +} + +interface Date { + toLocaleString(locales: string[], options?: Intl.DateTimeFormatOptions): string; + toLocaleString(locale: string, options?: Intl.DateTimeFormatOptions): string; +} + + +///////////////////////////// +/// IE9 DOM APIs +///////////////////////////// + +interface PositionOptions { + enableHighAccuracy?: boolean; + timeout?: number; + maximumAge?: number; +} + +interface NavigatorID { + appVersion: string; + appName: string; + userAgent: string; + platform: string; +} + +interface HTMLTableElement extends HTMLElement, MSDataBindingTableExtensions, MSDataBindingExtensions, DOML2DeprecatedBackgroundStyle, DOML2DeprecatedBackgroundColorStyle { + width: string; + borderColorLight: any; + cellSpacing: string; + tFoot: HTMLTableSectionElement; + frame: string; + borderColor: any; + rows: HTMLCollection; + rules: string; + cols: number; + summary: string; + caption: HTMLTableCaptionElement; + tBodies: HTMLCollection; + tHead: HTMLTableSectionElement; + align: string; + cells: HTMLCollection; + height: any; + cellPadding: string; + border: string; + borderColorDark: any; + deleteRow(index?: number): void; + createTBody(): HTMLElement; + deleteCaption(): void; + insertRow(index?: number): HTMLElement; + deleteTFoot(): void; + createTHead(): HTMLElement; + deleteTHead(): void; + createCaption(): HTMLElement; + moveRow(indexFrom?: number, indexTo?: number): Object; + createTFoot(): HTMLElement; +} +declare var HTMLTableElement: { + prototype: HTMLTableElement; + new (): HTMLTableElement; +} + +interface TreeWalker { + whatToShow: number; + filter: NodeFilter; + root: Node; + currentNode: Node; + expandEntityReferences: boolean; + previousSibling(): Node; + lastChild(): Node; + nextSibling(): Node; + nextNode(): Node; + parentNode(): Node; + firstChild(): Node; + previousNode(): Node; +} +declare var TreeWalker: { + prototype: TreeWalker; + new (): TreeWalker; +} + +interface GetSVGDocument { + getSVGDocument(): Document; +} + +interface SVGPathSegCurvetoQuadraticRel extends SVGPathSeg { + y: number; + y1: number; + x: number; + x1: number; +} +declare var SVGPathSegCurvetoQuadraticRel: { + prototype: SVGPathSegCurvetoQuadraticRel; + new (): SVGPathSegCurvetoQuadraticRel; +} + +interface Performance { + navigation: PerformanceNavigation; + timing: PerformanceTiming; + getEntriesByType(entryType: string): any; + toJSON(): any; + getMeasures(measureName?: string): any; + clearMarks(markName?: string): void; + getMarks(markName?: string): any; + clearResourceTimings(): void; + mark(markName: string): void; + measure(measureName: string, startMarkName?: string, endMarkName?: string): void; + getEntriesByName(name: string, entryType?: string): any; + getEntries(): any; + clearMeasures(measureName?: string): void; + setResourceTimingBufferSize(maxSize: number): void; +} +declare var Performance: { + prototype: Performance; + new (): Performance; +} + +interface MSDataBindingTableExtensions { + dataPageSize: number; + nextPage(): void; + firstPage(): void; + refresh(): void; + previousPage(): void; + lastPage(): void; +} + +interface CompositionEvent extends UIEvent { + data: string; + locale: string; + initCompositionEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, dataArg: string, locale: string): void; +} +declare var CompositionEvent: { + prototype: CompositionEvent; + new (): CompositionEvent; +} + +interface WindowTimers { + clearTimeout(handle: number): void; + setTimeout(handler: any, timeout?: any, ...args: any[]): number; + clearInterval(handle: number): void; + setInterval(handler: any, timeout?: any, ...args: any[]): number; +} + +interface SVGMarkerElement extends SVGElement, SVGStylable, SVGLangSpace, SVGFitToViewBox, SVGExternalResourcesRequired { + orientType: SVGAnimatedEnumeration; + markerUnits: SVGAnimatedEnumeration; + markerWidth: SVGAnimatedLength; + markerHeight: SVGAnimatedLength; + orientAngle: SVGAnimatedAngle; + refY: SVGAnimatedLength; + refX: SVGAnimatedLength; + setOrientToAngle(angle: SVGAngle): void; + setOrientToAuto(): void; + SVG_MARKER_ORIENT_UNKNOWN: number; + SVG_MARKER_ORIENT_ANGLE: number; + SVG_MARKERUNITS_UNKNOWN: number; + SVG_MARKERUNITS_STROKEWIDTH: number; + SVG_MARKER_ORIENT_AUTO: number; + SVG_MARKERUNITS_USERSPACEONUSE: number; +} +declare var SVGMarkerElement: { + prototype: SVGMarkerElement; + new (): SVGMarkerElement; + SVG_MARKER_ORIENT_UNKNOWN: number; + SVG_MARKER_ORIENT_ANGLE: number; + SVG_MARKERUNITS_UNKNOWN: number; + SVG_MARKERUNITS_STROKEWIDTH: number; + SVG_MARKER_ORIENT_AUTO: number; + SVG_MARKERUNITS_USERSPACEONUSE: number; +} + +interface CSSStyleDeclaration { + backgroundAttachment: string; + visibility: string; + textAlignLast: string; + borderRightStyle: string; + counterIncrement: string; + orphans: string; + cssText: string; + borderStyle: string; + pointerEvents: string; + borderTopColor: string; + markerEnd: string; + textIndent: string; + listStyleImage: string; + cursor: string; + listStylePosition: string; + wordWrap: string; + borderTopStyle: string; + alignmentBaseline: string; + opacity: string; + direction: string; + strokeMiterlimit: string; + maxWidth: string; + color: string; + clip: string; + borderRightWidth: string; + verticalAlign: string; + overflow: string; + mask: string; + borderLeftStyle: string; + emptyCells: string; + stopOpacity: string; + paddingRight: string; + parentRule: CSSRule; + background: string; + boxSizing: string; + textJustify: string; + height: string; + paddingTop: string; + length: number; + right: string; + baselineShift: string; + borderLeft: string; + widows: string; + lineHeight: string; + left: string; + textUnderlinePosition: string; + glyphOrientationHorizontal: string; + display: string; + textAnchor: string; + cssFloat: string; + strokeDasharray: string; + rubyAlign: string; + fontSizeAdjust: string; + borderLeftColor: string; + backgroundImage: string; + listStyleType: string; + strokeWidth: string; + textOverflow: string; + fillRule: string; + borderBottomColor: string; + zIndex: string; + position: string; + listStyle: string; + msTransformOrigin: string; + dominantBaseline: string; + overflowY: string; + fill: string; + captionSide: string; + borderCollapse: string; + boxShadow: string; + quotes: string; + tableLayout: string; + unicodeBidi: string; + borderBottomWidth: string; + backgroundSize: string; + textDecoration: string; + strokeDashoffset: string; + fontSize: string; + border: string; + pageBreakBefore: string; + borderTopRightRadius: string; + msTransform: string; + borderBottomLeftRadius: string; + textTransform: string; + rubyPosition: string; + strokeLinejoin: string; + clipPath: string; + borderRightColor: string; + fontFamily: string; + clear: string; + content: string; + backgroundClip: string; + marginBottom: string; + counterReset: string; + outlineWidth: string; + marginRight: string; + paddingLeft: string; + borderBottom: string; + wordBreak: string; + marginTop: string; + top: string; + fontWeight: string; + borderRight: string; + width: string; + kerning: string; + pageBreakAfter: string; + borderBottomStyle: string; + fontStretch: string; + padding: string; + strokeOpacity: string; + markerStart: string; + bottom: string; + borderLeftWidth: string; + clipRule: string; + backgroundPosition: string; + backgroundColor: string; + pageBreakInside: string; + backgroundOrigin: string; + strokeLinecap: string; + borderTopWidth: string; + outlineStyle: string; + borderTop: string; + outlineColor: string; + paddingBottom: string; + marginLeft: string; + font: string; + outline: string; + wordSpacing: string; + maxHeight: string; + fillOpacity: string; + letterSpacing: string; + borderSpacing: string; + backgroundRepeat: string; + borderRadius: string; + borderWidth: string; + borderBottomRightRadius: string; + whiteSpace: string; + fontStyle: string; + minWidth: string; + stopColor: string; + borderTopLeftRadius: string; + borderColor: string; + marker: string; + glyphOrientationVertical: string; + markerMid: string; + fontVariant: string; + minHeight: string; + stroke: string; + rubyOverhang: string; + overflowX: string; + textAlign: string; + margin: string; + getPropertyPriority(propertyName: string): string; + getPropertyValue(propertyName: string): string; + removeProperty(propertyName: string): string; + item(index: number): string; + [index: number]: string; + setProperty(propertyName: string, value: string, priority?: string): void; +} +declare var CSSStyleDeclaration: { + prototype: CSSStyleDeclaration; + new (): CSSStyleDeclaration; +} + +interface SVGGElement extends SVGElement, SVGStylable, SVGTransformable, SVGLangSpace, SVGTests, SVGExternalResourcesRequired { +} +declare var SVGGElement: { + prototype: SVGGElement; + new (): SVGGElement; +} + +interface MSStyleCSSProperties extends MSCSSProperties { + pixelWidth: number; + posHeight: number; + posLeft: number; + pixelTop: number; + pixelBottom: number; + textDecorationNone: boolean; + pixelLeft: number; + posTop: number; + posBottom: number; + textDecorationOverline: boolean; + posWidth: number; + textDecorationLineThrough: boolean; + pixelHeight: number; + textDecorationBlink: boolean; + posRight: number; + pixelRight: number; + textDecorationUnderline: boolean; +} +declare var MSStyleCSSProperties: { + prototype: MSStyleCSSProperties; + new (): MSStyleCSSProperties; +} + +interface Navigator extends NavigatorID, NavigatorOnLine, NavigatorContentUtils, MSNavigatorExtensions, NavigatorGeolocation, MSNavigatorDoNotTrack, NavigatorStorageUtils { +} +declare var Navigator: { + prototype: Navigator; + new (): Navigator; +} + +interface SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg { + y: number; + x2: number; + x: number; + y2: number; +} +declare var SVGPathSegCurvetoCubicSmoothAbs: { + prototype: SVGPathSegCurvetoCubicSmoothAbs; + new (): SVGPathSegCurvetoCubicSmoothAbs; +} + +interface SVGZoomEvent extends UIEvent { + zoomRectScreen: SVGRect; + previousScale: number; + newScale: number; + previousTranslate: SVGPoint; + newTranslate: SVGPoint; +} +declare var SVGZoomEvent: { + prototype: SVGZoomEvent; + new (): SVGZoomEvent; +} + +interface NodeSelector { + querySelectorAll(selectors: string): NodeList; + querySelector(selectors: string): Element; +} + +interface HTMLTableDataCellElement extends HTMLTableCellElement { +} +declare var HTMLTableDataCellElement: { + prototype: HTMLTableDataCellElement; + new (): HTMLTableDataCellElement; +} + +interface HTMLBaseElement extends HTMLElement { + target: string; + href: string; +} +declare var HTMLBaseElement: { + prototype: HTMLBaseElement; + new (): HTMLBaseElement; +} + +interface ClientRect { + left: number; + width: number; + right: number; + top: number; + bottom: number; + height: number; +} +declare var ClientRect: { + prototype: ClientRect; + new (): ClientRect; +} + +interface PositionErrorCallback { + (error: PositionError): void; +} + +interface DOMImplementation { + createDocumentType(qualifiedName: string, publicId: string, systemId: string): DocumentType; + createDocument(namespaceURI: string, qualifiedName: string, doctype: DocumentType): Document; + hasFeature(feature: string, version?: string): boolean; + createHTMLDocument(title: string): Document; +} +declare var DOMImplementation: { + prototype: DOMImplementation; + new (): DOMImplementation; +} + +interface SVGUnitTypes { + SVG_UNIT_TYPE_UNKNOWN: number; + SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: number; + SVG_UNIT_TYPE_USERSPACEONUSE: number; +} +declare var SVGUnitTypes: { + prototype: SVGUnitTypes; + new (): SVGUnitTypes; + SVG_UNIT_TYPE_UNKNOWN: number; + SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: number; + SVG_UNIT_TYPE_USERSPACEONUSE: number; +} + +interface Element extends Node, NodeSelector, ElementTraversal { + scrollTop: number; + clientLeft: number; + scrollLeft: number; + tagName: string; + clientWidth: number; + scrollWidth: number; + clientHeight: number; + clientTop: number; + scrollHeight: number; + getAttribute(name?: string): string; + getElementsByTagNameNS(namespaceURI: string, localName: string): NodeList; + hasAttributeNS(namespaceURI: string, localName: string): boolean; + getBoundingClientRect(): ClientRect; + getAttributeNS(namespaceURI: string, localName: string): string; + getAttributeNodeNS(namespaceURI: string, localName: string): Attr; + setAttributeNodeNS(newAttr: Attr): Attr; + msMatchesSelector(selectors: string): boolean; + hasAttribute(name: string): boolean; + removeAttribute(name?: string): void; + setAttributeNS(namespaceURI: string, qualifiedName: string, value: string): void; + getAttributeNode(name: string): Attr; + fireEvent(eventName: string, eventObj?: any): boolean; + getElementsByTagName(name: string): NodeList; + getElementsByTagName(name: "a"): NodeListOf; + getElementsByTagName(name: "abbr"): NodeListOf; + getElementsByTagName(name: "address"): NodeListOf; + getElementsByTagName(name: "area"): NodeListOf; + getElementsByTagName(name: "article"): NodeListOf; + getElementsByTagName(name: "aside"): NodeListOf; + getElementsByTagName(name: "audio"): NodeListOf; + getElementsByTagName(name: "b"): NodeListOf; + getElementsByTagName(name: "base"): NodeListOf; + getElementsByTagName(name: "bdi"): NodeListOf; + getElementsByTagName(name: "bdo"): NodeListOf; + getElementsByTagName(name: "blockquote"): NodeListOf; + getElementsByTagName(name: "body"): NodeListOf; + getElementsByTagName(name: "br"): NodeListOf; + getElementsByTagName(name: "button"): NodeListOf; + getElementsByTagName(name: "canvas"): NodeListOf; + getElementsByTagName(name: "caption"): NodeListOf; + getElementsByTagName(name: "cite"): NodeListOf; + getElementsByTagName(name: "code"): NodeListOf; + getElementsByTagName(name: "col"): NodeListOf; + getElementsByTagName(name: "colgroup"): NodeListOf; + getElementsByTagName(name: "datalist"): NodeListOf; + getElementsByTagName(name: "dd"): NodeListOf; + getElementsByTagName(name: "del"): NodeListOf; + getElementsByTagName(name: "dfn"): NodeListOf; + getElementsByTagName(name: "div"): NodeListOf; + getElementsByTagName(name: "dl"): NodeListOf; + getElementsByTagName(name: "dt"): NodeListOf; + getElementsByTagName(name: "em"): NodeListOf; + getElementsByTagName(name: "embed"): NodeListOf; + getElementsByTagName(name: "fieldset"): NodeListOf; + getElementsByTagName(name: "figcaption"): NodeListOf; + getElementsByTagName(name: "figure"): NodeListOf; + getElementsByTagName(name: "footer"): NodeListOf; + getElementsByTagName(name: "form"): NodeListOf; + getElementsByTagName(name: "h1"): NodeListOf; + getElementsByTagName(name: "h2"): NodeListOf; + getElementsByTagName(name: "h3"): NodeListOf; + getElementsByTagName(name: "h4"): NodeListOf; + getElementsByTagName(name: "h5"): NodeListOf; + getElementsByTagName(name: "h6"): NodeListOf; + getElementsByTagName(name: "head"): NodeListOf; + getElementsByTagName(name: "header"): NodeListOf; + getElementsByTagName(name: "hgroup"): NodeListOf; + getElementsByTagName(name: "hr"): NodeListOf; + getElementsByTagName(name: "html"): NodeListOf; + getElementsByTagName(name: "i"): NodeListOf; + getElementsByTagName(name: "iframe"): NodeListOf; + getElementsByTagName(name: "img"): NodeListOf; + getElementsByTagName(name: "input"): NodeListOf; + getElementsByTagName(name: "ins"): NodeListOf; + getElementsByTagName(name: "kbd"): NodeListOf; + getElementsByTagName(name: "label"): NodeListOf; + getElementsByTagName(name: "legend"): NodeListOf; + getElementsByTagName(name: "li"): NodeListOf; + getElementsByTagName(name: "link"): NodeListOf; + getElementsByTagName(name: "main"): NodeListOf; + getElementsByTagName(name: "map"): NodeListOf; + getElementsByTagName(name: "mark"): NodeListOf; + getElementsByTagName(name: "menu"): NodeListOf; + getElementsByTagName(name: "meta"): NodeListOf; + getElementsByTagName(name: "nav"): NodeListOf; + getElementsByTagName(name: "noscript"): NodeListOf; + getElementsByTagName(name: "object"): NodeListOf; + getElementsByTagName(name: "ol"): NodeListOf; + getElementsByTagName(name: "optgroup"): NodeListOf; + getElementsByTagName(name: "option"): NodeListOf; + getElementsByTagName(name: "p"): NodeListOf; + getElementsByTagName(name: "param"): NodeListOf; + getElementsByTagName(name: "pre"): NodeListOf; + getElementsByTagName(name: "progress"): NodeListOf; + getElementsByTagName(name: "q"): NodeListOf; + getElementsByTagName(name: "rp"): NodeListOf; + getElementsByTagName(name: "rt"): NodeListOf; + getElementsByTagName(name: "ruby"): NodeListOf; + getElementsByTagName(name: "s"): NodeListOf; + getElementsByTagName(name: "samp"): NodeListOf; + getElementsByTagName(name: "script"): NodeListOf; + getElementsByTagName(name: "section"): NodeListOf; + getElementsByTagName(name: "select"): NodeListOf; + getElementsByTagName(name: "small"): NodeListOf; + getElementsByTagName(name: "source"): NodeListOf; + getElementsByTagName(name: "span"): NodeListOf; + getElementsByTagName(name: "strong"): NodeListOf; + getElementsByTagName(name: "style"): NodeListOf; + getElementsByTagName(name: "sub"): NodeListOf; + getElementsByTagName(name: "summary"): NodeListOf; + getElementsByTagName(name: "sup"): NodeListOf; + getElementsByTagName(name: "table"): NodeListOf; + getElementsByTagName(name: "tbody"): NodeListOf; + getElementsByTagName(name: "td"): NodeListOf; + getElementsByTagName(name: "textarea"): NodeListOf; + getElementsByTagName(name: "tfoot"): NodeListOf; + getElementsByTagName(name: "th"): NodeListOf; + getElementsByTagName(name: "thead"): NodeListOf; + getElementsByTagName(name: "title"): NodeListOf; + getElementsByTagName(name: "tr"): NodeListOf; + getElementsByTagName(name: "track"): NodeListOf; + getElementsByTagName(name: "u"): NodeListOf; + getElementsByTagName(name: "ul"): NodeListOf; + getElementsByTagName(name: "var"): NodeListOf; + getElementsByTagName(name: "video"): NodeListOf; + getElementsByTagName(name: "wbr"): NodeListOf; + getClientRects(): ClientRectList; + setAttributeNode(newAttr: Attr): Attr; + removeAttributeNode(oldAttr: Attr): Attr; + setAttribute(name?: string, value?: string): void; + removeAttributeNS(namespaceURI: string, localName: string): void; +} +declare var Element: { + prototype: Element; + new (): Element; +} + +interface HTMLNextIdElement extends HTMLElement { + n: string; +} +declare var HTMLNextIdElement: { + prototype: HTMLNextIdElement; + new (): HTMLNextIdElement; +} + +interface SVGPathSegMovetoRel extends SVGPathSeg { + y: number; + x: number; +} +declare var SVGPathSegMovetoRel: { + prototype: SVGPathSegMovetoRel; + new (): SVGPathSegMovetoRel; +} + +interface SVGLineElement extends SVGElement, SVGStylable, SVGTransformable, SVGLangSpace, SVGTests, SVGExternalResourcesRequired { + y1: SVGAnimatedLength; + x2: SVGAnimatedLength; + x1: SVGAnimatedLength; + y2: SVGAnimatedLength; +} +declare var SVGLineElement: { + prototype: SVGLineElement; + new (): SVGLineElement; +} + +interface HTMLParagraphElement extends HTMLElement, DOML2DeprecatedTextFlowControl { + align: string; +} +declare var HTMLParagraphElement: { + prototype: HTMLParagraphElement; + new (): HTMLParagraphElement; +} + +interface HTMLAreasCollection extends HTMLCollection { + remove(index?: number): void; + add(element: HTMLElement, before?: any): void; +} +declare var HTMLAreasCollection: { + prototype: HTMLAreasCollection; + new (): HTMLAreasCollection; +} + +interface SVGDescElement extends SVGElement, SVGStylable, SVGLangSpace { +} +declare var SVGDescElement: { + prototype: SVGDescElement; + new (): SVGDescElement; +} + +interface Node extends EventTarget { + nodeType: number; + previousSibling: Node; + localName: string; + namespaceURI: string; + textContent: string; + parentNode: Node; + nextSibling: Node; + nodeValue: string; + lastChild: Node; + childNodes: NodeList; + nodeName: string; + ownerDocument: Document; + attributes: NamedNodeMap; + firstChild: Node; + prefix: string; + removeChild(oldChild: Node): Node; + appendChild(newChild: Node): Node; + isSupported(feature: string, version: string): boolean; + isEqualNode(arg: Node): boolean; + lookupPrefix(namespaceURI: string): string; + isDefaultNamespace(namespaceURI: string): boolean; + compareDocumentPosition(other: Node): number; + normalize(): void; + isSameNode(other: Node): boolean; + hasAttributes(): boolean; + lookupNamespaceURI(prefix: string): string; + cloneNode(deep?: boolean): Node; + hasChildNodes(): boolean; + replaceChild(newChild: Node, oldChild: Node): Node; + insertBefore(newChild: Node, refChild?: Node): Node; + ENTITY_REFERENCE_NODE: number; + ATTRIBUTE_NODE: number; + DOCUMENT_FRAGMENT_NODE: number; + TEXT_NODE: number; + ELEMENT_NODE: number; + COMMENT_NODE: number; + DOCUMENT_POSITION_DISCONNECTED: number; + DOCUMENT_POSITION_CONTAINED_BY: number; + DOCUMENT_POSITION_CONTAINS: number; + DOCUMENT_TYPE_NODE: number; + DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number; + DOCUMENT_NODE: number; + ENTITY_NODE: number; + PROCESSING_INSTRUCTION_NODE: number; + CDATA_SECTION_NODE: number; + NOTATION_NODE: number; + DOCUMENT_POSITION_FOLLOWING: number; + DOCUMENT_POSITION_PRECEDING: number; +} +declare var Node: { + prototype: Node; + new (): Node; + ENTITY_REFERENCE_NODE: number; + ATTRIBUTE_NODE: number; + DOCUMENT_FRAGMENT_NODE: number; + TEXT_NODE: number; + ELEMENT_NODE: number; + COMMENT_NODE: number; + DOCUMENT_POSITION_DISCONNECTED: number; + DOCUMENT_POSITION_CONTAINED_BY: number; + DOCUMENT_POSITION_CONTAINS: number; + DOCUMENT_TYPE_NODE: number; + DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number; + DOCUMENT_NODE: number; + ENTITY_NODE: number; + PROCESSING_INSTRUCTION_NODE: number; + CDATA_SECTION_NODE: number; + NOTATION_NODE: number; + DOCUMENT_POSITION_FOLLOWING: number; + DOCUMENT_POSITION_PRECEDING: number; +} + +interface SVGPathSegCurvetoQuadraticSmoothRel extends SVGPathSeg { + y: number; + x: number; +} +declare var SVGPathSegCurvetoQuadraticSmoothRel: { + prototype: SVGPathSegCurvetoQuadraticSmoothRel; + new (): SVGPathSegCurvetoQuadraticSmoothRel; +} + +interface DOML2DeprecatedListSpaceReduction { + compact: boolean; +} + +interface MSScriptHost { +} +declare var MSScriptHost: { + prototype: MSScriptHost; + new (): MSScriptHost; +} + +interface SVGClipPathElement extends SVGElement, SVGUnitTypes, SVGStylable, SVGTransformable, SVGLangSpace, SVGTests, SVGExternalResourcesRequired { + clipPathUnits: SVGAnimatedEnumeration; +} +declare var SVGClipPathElement: { + prototype: SVGClipPathElement; + new (): SVGClipPathElement; +} + +interface MouseEvent extends UIEvent { + toElement: Element; + layerY: number; + fromElement: Element; + which: number; + pageX: number; + offsetY: number; + x: number; + y: number; + metaKey: boolean; + altKey: boolean; + ctrlKey: boolean; + offsetX: number; + screenX: number; + clientY: number; + shiftKey: boolean; + layerX: number; + screenY: number; + relatedTarget: EventTarget; + button: number; + pageY: number; + buttons: number; + clientX: number; + initMouseEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget): void; + getModifierState(keyArg: string): boolean; +} +declare var MouseEvent: { + prototype: MouseEvent; + new (): MouseEvent; +} + +interface RangeException { + code: number; + message: string; + toString(): string; + INVALID_NODE_TYPE_ERR: number; + BAD_BOUNDARYPOINTS_ERR: number; +} +declare var RangeException: { + prototype: RangeException; + new (): RangeException; + INVALID_NODE_TYPE_ERR: number; + BAD_BOUNDARYPOINTS_ERR: number; +} + +interface SVGTextPositioningElement extends SVGTextContentElement { + y: SVGAnimatedLengthList; + rotate: SVGAnimatedNumberList; + dy: SVGAnimatedLengthList; + x: SVGAnimatedLengthList; + dx: SVGAnimatedLengthList; +} +declare var SVGTextPositioningElement: { + prototype: SVGTextPositioningElement; + new (): SVGTextPositioningElement; +} + +interface HTMLAppletElement extends HTMLElement, DOML2DeprecatedMarginStyle, DOML2DeprecatedBorderStyle, DOML2DeprecatedAlignmentStyle, MSDataBindingExtensions, MSDataBindingRecordSetExtensions { + width: number; + codeType: string; + object: string; + form: HTMLFormElement; + code: string; + archive: string; + alt: string; + standby: string; + classid: string; + name: string; + useMap: string; + data: string; + height: string; + altHtml: string; + contentDocument: Document; + codeBase: string; + declare: boolean; + type: string; + BaseHref: string; +} +declare var HTMLAppletElement: { + prototype: HTMLAppletElement; + new (): HTMLAppletElement; +} + +interface TextMetrics { + width: number; +} +declare var TextMetrics: { + prototype: TextMetrics; + new (): TextMetrics; +} + +interface DocumentEvent { + createEvent(eventInterface: string): Event; +} + +interface HTMLOListElement extends HTMLElement, DOML2DeprecatedListSpaceReduction, DOML2DeprecatedListNumberingAndBulletStyle { + start: number; +} +declare var HTMLOListElement: { + prototype: HTMLOListElement; + new (): HTMLOListElement; +} + +interface SVGPathSegLinetoVerticalRel extends SVGPathSeg { + y: number; +} +declare var SVGPathSegLinetoVerticalRel: { + prototype: SVGPathSegLinetoVerticalRel; + new (): SVGPathSegLinetoVerticalRel; +} + +interface SVGAnimatedString { + animVal: string; + baseVal: string; +} +declare var SVGAnimatedString: { + prototype: SVGAnimatedString; + new (): SVGAnimatedString; +} + +interface CDATASection extends Text { +} +declare var CDATASection: { + prototype: CDATASection; + new (): CDATASection; +} + +interface StyleMedia { + type: string; + matchMedium(mediaquery: string): boolean; +} +declare var StyleMedia: { + prototype: StyleMedia; + new (): StyleMedia; +} + +interface HTMLSelectElement extends HTMLElement, MSHTMLCollectionExtensions, MSDataBindingExtensions { + options: HTMLSelectElement; + value: string; + form: HTMLFormElement; + name: string; + size: number; + length: number; + selectedIndex: number; + multiple: boolean; + type: string; + remove(index?: number): void; + add(element: HTMLElement, before?: any): void; + item(name?: any, index?: any): any; + namedItem(name: string): any; + [name: string]: any; +} +declare var HTMLSelectElement: { + prototype: HTMLSelectElement; + new (): HTMLSelectElement; +} + +interface TextRange { + boundingLeft: number; + htmlText: string; + offsetLeft: number; + boundingWidth: number; + boundingHeight: number; + boundingTop: number; + text: string; + offsetTop: number; + moveToPoint(x: number, y: number): void; + queryCommandValue(cmdID: string): any; + getBookmark(): string; + move(unit: string, count?: number): number; + queryCommandIndeterm(cmdID: string): boolean; + scrollIntoView(fStart?: boolean): void; + findText(string: string, count?: number, flags?: number): boolean; + execCommand(cmdID: string, showUI?: boolean, value?: any): boolean; + getBoundingClientRect(): ClientRect; + moveToBookmark(bookmark: string): boolean; + isEqual(range: TextRange): boolean; + duplicate(): TextRange; + collapse(start?: boolean): void; + queryCommandText(cmdID: string): string; + select(): void; + pasteHTML(html: string): void; + inRange(range: TextRange): boolean; + moveEnd(unit: string, count?: number): number; + getClientRects(): ClientRectList; + moveStart(unit: string, count?: number): number; + parentElement(): Element; + queryCommandState(cmdID: string): boolean; + compareEndPoints(how: string, sourceRange: TextRange): number; + execCommandShowHelp(cmdID: string): boolean; + moveToElementText(element: Element): void; + expand(Unit: string): boolean; + queryCommandSupported(cmdID: string): boolean; + setEndPoint(how: string, SourceRange: TextRange): void; + queryCommandEnabled(cmdID: string): boolean; +} +declare var TextRange: { + prototype: TextRange; + new (): TextRange; +} + +interface SVGTests { + requiredFeatures: SVGStringList; + requiredExtensions: SVGStringList; + systemLanguage: SVGStringList; + hasExtension(extension: string): boolean; +} + +interface HTMLBlockElement extends HTMLElement, DOML2DeprecatedTextFlowControl { + width: number; + cite: string; +} +declare var HTMLBlockElement: { + prototype: HTMLBlockElement; + new (): HTMLBlockElement; +} + +interface CSSStyleSheet extends StyleSheet { + owningElement: Element; + imports: StyleSheetList; + isAlternate: boolean; + rules: MSCSSRuleList; + isPrefAlternate: boolean; + readOnly: boolean; + cssText: string; + ownerRule: CSSRule; + href: string; + cssRules: CSSRuleList; + id: string; + pages: StyleSheetPageList; + addImport(bstrURL: string, lIndex?: number): number; + addPageRule(bstrSelector: string, bstrStyle: string, lIndex?: number): number; + insertRule(rule: string, index?: number): number; + removeRule(lIndex: number): void; + deleteRule(index?: number): void; + addRule(bstrSelector: string, bstrStyle?: string, lIndex?: number): number; + removeImport(lIndex: number): void; +} +declare var CSSStyleSheet: { + prototype: CSSStyleSheet; + new (): CSSStyleSheet; +} + +interface MSSelection { + type: string; + typeDetail: string; + createRange(): TextRange; + clear(): void; + createRangeCollection(): TextRangeCollection; + empty(): void; +} +declare var MSSelection: { + prototype: MSSelection; + new (): MSSelection; +} + +interface HTMLMetaElement extends HTMLElement { + httpEquiv: string; + name: string; + content: string; + url: string; + scheme: string; + charset: string; +} +declare var HTMLMetaElement: { + prototype: HTMLMetaElement; + new (): HTMLMetaElement; +} + +interface SVGPatternElement extends SVGElement, SVGUnitTypes, SVGStylable, SVGLangSpace, SVGTests, SVGFitToViewBox, SVGExternalResourcesRequired, SVGURIReference { + patternUnits: SVGAnimatedEnumeration; + y: SVGAnimatedLength; + width: SVGAnimatedLength; + x: SVGAnimatedLength; + patternContentUnits: SVGAnimatedEnumeration; + patternTransform: SVGAnimatedTransformList; + height: SVGAnimatedLength; +} +declare var SVGPatternElement: { + prototype: SVGPatternElement; + new (): SVGPatternElement; +} + +interface SVGAnimatedAngle { + animVal: SVGAngle; + baseVal: SVGAngle; +} +declare var SVGAnimatedAngle: { + prototype: SVGAnimatedAngle; + new (): SVGAnimatedAngle; +} + +interface Selection { + isCollapsed: boolean; + anchorNode: Node; + focusNode: Node; + anchorOffset: number; + focusOffset: number; + rangeCount: number; + addRange(range: Range): void; + collapseToEnd(): void; + toString(): string; + selectAllChildren(parentNode: Node): void; + getRangeAt(index: number): Range; + collapse(parentNode: Node, offset: number): void; + removeAllRanges(): void; + collapseToStart(): void; + deleteFromDocument(): void; + removeRange(range: Range): void; +} +declare var Selection: { + prototype: Selection; + new (): Selection; +} + +interface SVGScriptElement extends SVGElement, SVGExternalResourcesRequired, SVGURIReference { + type: string; +} +declare var SVGScriptElement: { + prototype: SVGScriptElement; + new (): SVGScriptElement; +} + +interface HTMLDDElement extends HTMLElement { + noWrap: boolean; +} +declare var HTMLDDElement: { + prototype: HTMLDDElement; + new (): HTMLDDElement; +} + +interface MSDataBindingRecordSetReadonlyExtensions { + recordset: Object; + namedRecordset(dataMember: string, hierarchy?: any): Object; +} + +interface CSSStyleRule extends CSSRule { + selectorText: string; + style: MSStyleCSSProperties; + readOnly: boolean; +} +declare var CSSStyleRule: { + prototype: CSSStyleRule; + new (): CSSStyleRule; +} + +interface NodeIterator { + whatToShow: number; + filter: NodeFilter; + root: Node; + expandEntityReferences: boolean; + nextNode(): Node; + detach(): void; + previousNode(): Node; +} +declare var NodeIterator: { + prototype: NodeIterator; + new (): NodeIterator; +} + +interface SVGViewElement extends SVGElement, SVGZoomAndPan, SVGFitToViewBox, SVGExternalResourcesRequired { + viewTarget: SVGStringList; +} +declare var SVGViewElement: { + prototype: SVGViewElement; + new (): SVGViewElement; +} + +interface HTMLLinkElement extends HTMLElement, LinkStyle { + rel: string; + target: string; + href: string; + media: string; + rev: string; + type: string; + charset: string; + hreflang: string; +} +declare var HTMLLinkElement: { + prototype: HTMLLinkElement; + new (): HTMLLinkElement; +} + +interface SVGLocatable { + farthestViewportElement: SVGElement; + nearestViewportElement: SVGElement; + getBBox(): SVGRect; + getTransformToElement(element: SVGElement): SVGMatrix; + getCTM(): SVGMatrix; + getScreenCTM(): SVGMatrix; +} + +interface HTMLFontElement extends HTMLElement, DOML2DeprecatedColorProperty, DOML2DeprecatedSizeProperty { + face: string; +} +declare var HTMLFontElement: { + prototype: HTMLFontElement; + new (): HTMLFontElement; +} + +interface SVGTitleElement extends SVGElement, SVGStylable, SVGLangSpace { +} +declare var SVGTitleElement: { + prototype: SVGTitleElement; + new (): SVGTitleElement; +} + +interface ControlRangeCollection { + length: number; + queryCommandValue(cmdID: string): any; + remove(index: number): void; + add(item: Element): void; + queryCommandIndeterm(cmdID: string): boolean; + scrollIntoView(varargStart?: any): void; + item(index: number): Element; + [index: number]: Element; + execCommand(cmdID: string, showUI?: boolean, value?: any): boolean; + addElement(item: Element): void; + queryCommandState(cmdID: string): boolean; + queryCommandSupported(cmdID: string): boolean; + queryCommandEnabled(cmdID: string): boolean; + queryCommandText(cmdID: string): string; + select(): void; +} +declare var ControlRangeCollection: { + prototype: ControlRangeCollection; + new (): ControlRangeCollection; +} + +interface MSNamespaceInfo extends MSEventAttachmentTarget { + urn: string; + onreadystatechange: (ev: Event) => any; + addEventListener(type: "readystatechange", listener: (ev: Event) => any, useCapture?: boolean): void; + name: string; + readyState: string; + doImport(implementationUrl: string): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var MSNamespaceInfo: { + prototype: MSNamespaceInfo; + new (): MSNamespaceInfo; +} + +interface WindowSessionStorage { + sessionStorage: Storage; +} + +interface SVGAnimatedTransformList { + animVal: SVGTransformList; + baseVal: SVGTransformList; +} +declare var SVGAnimatedTransformList: { + prototype: SVGAnimatedTransformList; + new (): SVGAnimatedTransformList; +} + +interface HTMLTableCaptionElement extends HTMLElement { + align: string; + vAlign: string; +} +declare var HTMLTableCaptionElement: { + prototype: HTMLTableCaptionElement; + new (): HTMLTableCaptionElement; +} + +interface HTMLOptionElement extends HTMLElement, MSDataBindingExtensions { + index: number; + defaultSelected: boolean; + value: string; + text: string; + form: HTMLFormElement; + label: string; + selected: boolean; + create(): HTMLOptionElement; +} +declare var HTMLOptionElement: { + prototype: HTMLOptionElement; + new (): HTMLOptionElement; +} + +interface HTMLMapElement extends HTMLElement { + name: string; + areas: HTMLAreasCollection; +} +declare var HTMLMapElement: { + prototype: HTMLMapElement; + new (): HTMLMapElement; +} + +interface HTMLMenuElement extends HTMLElement, DOML2DeprecatedListSpaceReduction { + type: string; +} +declare var HTMLMenuElement: { + prototype: HTMLMenuElement; + new (): HTMLMenuElement; +} + +interface MouseWheelEvent extends MouseEvent { + wheelDelta: number; + initMouseWheelEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, buttonArg: number, relatedTargetArg: EventTarget, modifiersListArg: string, wheelDeltaArg: number): void; +} +declare var MouseWheelEvent: { + prototype: MouseWheelEvent; + new (): MouseWheelEvent; +} + +interface SVGFitToViewBox { + viewBox: SVGAnimatedRect; + preserveAspectRatio: SVGAnimatedPreserveAspectRatio; +} + +interface SVGPointList { + numberOfItems: number; + replaceItem(newItem: SVGPoint, index: number): SVGPoint; + getItem(index: number): SVGPoint; + clear(): void; + appendItem(newItem: SVGPoint): SVGPoint; + initialize(newItem: SVGPoint): SVGPoint; + removeItem(index: number): SVGPoint; + insertItemBefore(newItem: SVGPoint, index: number): SVGPoint; +} +declare var SVGPointList: { + prototype: SVGPointList; + new (): SVGPointList; +} + +interface SVGAnimatedLengthList { + animVal: SVGLengthList; + baseVal: SVGLengthList; +} +declare var SVGAnimatedLengthList: { + prototype: SVGAnimatedLengthList; + new (): SVGAnimatedLengthList; +} + +interface Window extends EventTarget, MSEventAttachmentTarget, WindowLocalStorage, MSWindowExtensions, WindowSessionStorage, WindowTimers { + ondragend: (ev: DragEvent) => any; + addEventListener(type: "dragend", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + onkeydown: (ev: KeyboardEvent) => any; + addEventListener(type: "keydown", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void; + ondragover: (ev: DragEvent) => any; + addEventListener(type: "dragover", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + onkeyup: (ev: KeyboardEvent) => any; + addEventListener(type: "keyup", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void; + onreset: (ev: Event) => any; + addEventListener(type: "reset", listener: (ev: Event) => any, useCapture?: boolean): void; + onmouseup: (ev: MouseEvent) => any; + addEventListener(type: "mouseup", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + ondragstart: (ev: DragEvent) => any; + addEventListener(type: "dragstart", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + ondrag: (ev: DragEvent) => any; + addEventListener(type: "drag", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + screenX: number; + onmouseover: (ev: MouseEvent) => any; + addEventListener(type: "mouseover", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + ondragleave: (ev: DragEvent) => any; + addEventListener(type: "dragleave", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + history: History; + pageXOffset: number; + name: string; + onafterprint: (ev: Event) => any; + addEventListener(type: "afterprint", listener: (ev: Event) => any, useCapture?: boolean): void; + onpause: (ev: Event) => any; + addEventListener(type: "pause", listener: (ev: Event) => any, useCapture?: boolean): void; + onbeforeprint: (ev: Event) => any; + addEventListener(type: "beforeprint", listener: (ev: Event) => any, useCapture?: boolean): void; + top: Window; + onmousedown: (ev: MouseEvent) => any; + addEventListener(type: "mousedown", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + onseeked: (ev: Event) => any; + addEventListener(type: "seeked", listener: (ev: Event) => any, useCapture?: boolean): void; + opener: Window; + onclick: (ev: MouseEvent) => any; + addEventListener(type: "click", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + innerHeight: number; + onwaiting: (ev: Event) => any; + addEventListener(type: "waiting", listener: (ev: Event) => any, useCapture?: boolean): void; + ononline: (ev: Event) => any; + addEventListener(type: "online", listener: (ev: Event) => any, useCapture?: boolean): void; + ondurationchange: (ev: Event) => any; + addEventListener(type: "durationchange", listener: (ev: Event) => any, useCapture?: boolean): void; + frames: Window; + onblur: (ev: FocusEvent) => any; + addEventListener(type: "blur", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; + onemptied: (ev: Event) => any; + addEventListener(type: "emptied", listener: (ev: Event) => any, useCapture?: boolean): void; + onseeking: (ev: Event) => any; + addEventListener(type: "seeking", listener: (ev: Event) => any, useCapture?: boolean): void; + oncanplay: (ev: Event) => any; + addEventListener(type: "canplay", listener: (ev: Event) => any, useCapture?: boolean): void; + outerWidth: number; + onstalled: (ev: Event) => any; + addEventListener(type: "stalled", listener: (ev: Event) => any, useCapture?: boolean): void; + onmousemove: (ev: MouseEvent) => any; + addEventListener(type: "mousemove", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + innerWidth: number; + onoffline: (ev: Event) => any; + addEventListener(type: "offline", listener: (ev: Event) => any, useCapture?: boolean): void; + length: number; + screen: Screen; + onbeforeunload: (ev: BeforeUnloadEvent) => any; + addEventListener(type: "beforeunload", listener: (ev: BeforeUnloadEvent) => any, useCapture?: boolean): void; + onratechange: (ev: Event) => any; + addEventListener(type: "ratechange", listener: (ev: Event) => any, useCapture?: boolean): void; + onstorage: (ev: StorageEvent) => any; + addEventListener(type: "storage", listener: (ev: StorageEvent) => any, useCapture?: boolean): void; + onloadstart: (ev: Event) => any; + addEventListener(type: "loadstart", listener: (ev: Event) => any, useCapture?: boolean): void; + ondragenter: (ev: DragEvent) => any; + addEventListener(type: "dragenter", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + onsubmit: (ev: Event) => any; + addEventListener(type: "submit", listener: (ev: Event) => any, useCapture?: boolean): void; + self: Window; + document: Document; + onprogress: (ev: any) => any; + addEventListener(type: "progress", listener: (ev: any) => any, useCapture?: boolean): void; + ondblclick: (ev: MouseEvent) => any; + addEventListener(type: "dblclick", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + pageYOffset: number; + oncontextmenu: (ev: MouseEvent) => any; + addEventListener(type: "contextmenu", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + onchange: (ev: Event) => any; + addEventListener(type: "change", listener: (ev: Event) => any, useCapture?: boolean): void; + onloadedmetadata: (ev: Event) => any; + addEventListener(type: "loadedmetadata", listener: (ev: Event) => any, useCapture?: boolean): void; + onplay: (ev: Event) => any; + addEventListener(type: "play", listener: (ev: Event) => any, useCapture?: boolean): void; + onerror: ErrorEventHandler; + onplaying: (ev: Event) => any; + addEventListener(type: "playing", listener: (ev: Event) => any, useCapture?: boolean): void; + parent: Window; + location: Location; + oncanplaythrough: (ev: Event) => any; + addEventListener(type: "canplaythrough", listener: (ev: Event) => any, useCapture?: boolean): void; + onabort: (ev: UIEvent) => any; + addEventListener(type: "abort", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + onreadystatechange: (ev: Event) => any; + addEventListener(type: "readystatechange", listener: (ev: Event) => any, useCapture?: boolean): void; + outerHeight: number; + onkeypress: (ev: KeyboardEvent) => any; + addEventListener(type: "keypress", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void; + frameElement: Element; + onloadeddata: (ev: Event) => any; + addEventListener(type: "loadeddata", listener: (ev: Event) => any, useCapture?: boolean): void; + onsuspend: (ev: Event) => any; + addEventListener(type: "suspend", listener: (ev: Event) => any, useCapture?: boolean): void; + window: Window; + onfocus: (ev: FocusEvent) => any; + addEventListener(type: "focus", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; + onmessage: (ev: MessageEvent) => any; + addEventListener(type: "message", listener: (ev: MessageEvent) => any, useCapture?: boolean): void; + ontimeupdate: (ev: Event) => any; + addEventListener(type: "timeupdate", listener: (ev: Event) => any, useCapture?: boolean): void; + onresize: (ev: UIEvent) => any; + addEventListener(type: "resize", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + onselect: (ev: UIEvent) => any; + addEventListener(type: "select", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + navigator: Navigator; + styleMedia: StyleMedia; + ondrop: (ev: DragEvent) => any; + addEventListener(type: "drop", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + onmouseout: (ev: MouseEvent) => any; + addEventListener(type: "mouseout", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + onended: (ev: Event) => any; + addEventListener(type: "ended", listener: (ev: Event) => any, useCapture?: boolean): void; + onhashchange: (ev: Event) => any; + addEventListener(type: "hashchange", listener: (ev: Event) => any, useCapture?: boolean): void; + onunload: (ev: Event) => any; + addEventListener(type: "unload", listener: (ev: Event) => any, useCapture?: boolean): void; + onscroll: (ev: UIEvent) => any; + addEventListener(type: "scroll", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + screenY: number; + onmousewheel: (ev: MouseWheelEvent) => any; + addEventListener(type: "mousewheel", listener: (ev: MouseWheelEvent) => any, useCapture?: boolean): void; + onload: (ev: Event) => any; + addEventListener(type: "load", listener: (ev: Event) => any, useCapture?: boolean): void; + onvolumechange: (ev: Event) => any; + addEventListener(type: "volumechange", listener: (ev: Event) => any, useCapture?: boolean): void; + oninput: (ev: Event) => any; + addEventListener(type: "input", listener: (ev: Event) => any, useCapture?: boolean): void; + performance: Performance; + alert(message?: string): void; + scroll(x?: number, y?: number): void; + focus(): void; + scrollTo(x?: number, y?: number): void; + print(): void; + prompt(message?: string, defaul?: string): string; + toString(): string; + open(url?: string, target?: string, features?: string, replace?: boolean): Window; + scrollBy(x?: number, y?: number): void; + confirm(message?: string): boolean; + close(): void; + postMessage(message: any, targetOrigin: string, ports?: any): void; + showModalDialog(url?: string, argument?: any, options?: any): any; + blur(): void; + getSelection(): Selection; + getComputedStyle(elt: Element, pseudoElt?: string): CSSStyleDeclaration; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var Window: { + prototype: Window; + new (): Window; +} + +interface SVGAnimatedPreserveAspectRatio { + animVal: SVGPreserveAspectRatio; + baseVal: SVGPreserveAspectRatio; +} +declare var SVGAnimatedPreserveAspectRatio: { + prototype: SVGAnimatedPreserveAspectRatio; + new (): SVGAnimatedPreserveAspectRatio; +} + +interface MSSiteModeEvent extends Event { + buttonID: number; + actionURL: string; +} +declare var MSSiteModeEvent: { + prototype: MSSiteModeEvent; + new (): MSSiteModeEvent; +} + +interface DOML2DeprecatedTextFlowControl { + clear: string; +} + +interface StyleSheetPageList { + length: number; + item(index: number): CSSPageRule; + [index: number]: CSSPageRule; +} +declare var StyleSheetPageList: { + prototype: StyleSheetPageList; + new (): StyleSheetPageList; +} + +interface MSCSSProperties extends CSSStyleDeclaration { + scrollbarShadowColor: string; + scrollbarHighlightColor: string; + layoutGridChar: string; + layoutGridType: string; + textAutospace: string; + textKashidaSpace: string; + writingMode: string; + scrollbarFaceColor: string; + backgroundPositionY: string; + lineBreak: string; + imeMode: string; + msBlockProgression: string; + layoutGridLine: string; + scrollbarBaseColor: string; + layoutGrid: string; + layoutFlow: string; + textKashida: string; + filter: string; + zoom: string; + scrollbarArrowColor: string; + behavior: string; + backgroundPositionX: string; + accelerator: string; + layoutGridMode: string; + textJustifyTrim: string; + scrollbar3dLightColor: string; + msInterpolationMode: string; + scrollbarTrackColor: string; + scrollbarDarkShadowColor: string; + styleFloat: string; + getAttribute(attributeName: string, flags?: number): any; + setAttribute(attributeName: string, AttributeValue: any, flags?: number): void; + removeAttribute(attributeName: string, flags?: number): boolean; +} +declare var MSCSSProperties: { + prototype: MSCSSProperties; + new (): MSCSSProperties; +} + +interface HTMLCollection extends MSHTMLCollectionExtensions { + length: number; + item(nameOrIndex?: any, optionalIndex?: any): Element; + namedItem(name: string): Element; + [name: number]: Element; +} +declare var HTMLCollection: { + prototype: HTMLCollection; + new (): HTMLCollection; +} + +interface SVGExternalResourcesRequired { + externalResourcesRequired: SVGAnimatedBoolean; +} + +interface HTMLImageElement extends HTMLElement, MSImageResourceExtensions, MSDataBindingExtensions, MSResourceMetadata { + width: number; + vspace: number; + naturalHeight: number; + alt: string; + align: string; + src: string; + useMap: string; + naturalWidth: number; + name: string; + height: number; + border: string; + hspace: number; + longDesc: string; + href: string; + isMap: boolean; + complete: boolean; + create(): HTMLImageElement; +} +declare var HTMLImageElement: { + prototype: HTMLImageElement; + new (): HTMLImageElement; +} + +interface HTMLAreaElement extends HTMLElement { + protocol: string; + search: string; + alt: string; + coords: string; + hostname: string; + port: string; + pathname: string; + host: string; + hash: string; + target: string; + href: string; + noHref: boolean; + shape: string; + toString(): string; +} +declare var HTMLAreaElement: { + prototype: HTMLAreaElement; + new (): HTMLAreaElement; +} + +interface EventTarget { + removeEventListener(type: string, listener: EventListener, useCapture?: boolean): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; + dispatchEvent(evt: Event): boolean; +} + +interface SVGAngle { + valueAsString: string; + valueInSpecifiedUnits: number; + value: number; + unitType: number; + newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void; + convertToSpecifiedUnits(unitType: number): void; + SVG_ANGLETYPE_RAD: number; + SVG_ANGLETYPE_UNKNOWN: number; + SVG_ANGLETYPE_UNSPECIFIED: number; + SVG_ANGLETYPE_DEG: number; + SVG_ANGLETYPE_GRAD: number; +} +declare var SVGAngle: { + prototype: SVGAngle; + new (): SVGAngle; + SVG_ANGLETYPE_RAD: number; + SVG_ANGLETYPE_UNKNOWN: number; + SVG_ANGLETYPE_UNSPECIFIED: number; + SVG_ANGLETYPE_DEG: number; + SVG_ANGLETYPE_GRAD: number; +} + +interface HTMLButtonElement extends HTMLElement, MSDataBindingExtensions { + value: string; + status: any; + form: HTMLFormElement; + name: string; + type: string; + createTextRange(): TextRange; +} +declare var HTMLButtonElement: { + prototype: HTMLButtonElement; + new (): HTMLButtonElement; +} + +interface HTMLSourceElement extends HTMLElement { + src: string; + media: string; + type: string; +} +declare var HTMLSourceElement: { + prototype: HTMLSourceElement; + new (): HTMLSourceElement; +} + +interface CanvasGradient { + addColorStop(offset: number, color: string): void; +} +declare var CanvasGradient: { + prototype: CanvasGradient; + new (): CanvasGradient; +} + +interface KeyboardEvent extends UIEvent { + location: number; + keyCode: number; + shiftKey: boolean; + which: number; + locale: string; + key: string; + altKey: boolean; + metaKey: boolean; + char: string; + ctrlKey: boolean; + repeat: boolean; + charCode: number; + getModifierState(keyArg: string): boolean; + initKeyboardEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, keyArg: string, locationArg: number, modifiersListArg: string, repeat: boolean, locale: string): void; + DOM_KEY_LOCATION_RIGHT: number; + DOM_KEY_LOCATION_STANDARD: number; + DOM_KEY_LOCATION_LEFT: number; + DOM_KEY_LOCATION_NUMPAD: number; + DOM_KEY_LOCATION_JOYSTICK: number; + DOM_KEY_LOCATION_MOBILE: number; +} +declare var KeyboardEvent: { + prototype: KeyboardEvent; + new (): KeyboardEvent; + DOM_KEY_LOCATION_RIGHT: number; + DOM_KEY_LOCATION_STANDARD: number; + DOM_KEY_LOCATION_LEFT: number; + DOM_KEY_LOCATION_NUMPAD: number; + DOM_KEY_LOCATION_JOYSTICK: number; + DOM_KEY_LOCATION_MOBILE: number; +} + +interface Document extends Node, NodeSelector, MSEventAttachmentTarget, DocumentEvent, MSResourceMetadata, MSNodeExtensions { + compatible: MSCompatibleInfoCollection; + onkeydown: (ev: KeyboardEvent) => any; + addEventListener(type: "keydown", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void; + onkeyup: (ev: KeyboardEvent) => any; + addEventListener(type: "keyup", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void; + implementation: DOMImplementation; + onreset: (ev: Event) => any; + addEventListener(type: "reset", listener: (ev: Event) => any, useCapture?: boolean): void; + scripts: HTMLCollection; + onhelp: (ev: Event) => any; + addEventListener(type: "help", listener: (ev: Event) => any, useCapture?: boolean): void; + ondragleave: (ev: DragEvent) => any; + addEventListener(type: "dragleave", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + charset: string; + onfocusin: (ev: FocusEvent) => any; + addEventListener(type: "focusin", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; + vlinkColor: string; + onseeked: (ev: Event) => any; + addEventListener(type: "seeked", listener: (ev: Event) => any, useCapture?: boolean): void; + security: string; + title: string; + namespaces: MSNamespaceInfoCollection; + defaultCharset: string; + embeds: HTMLCollection; + styleSheets: StyleSheetList; + frames: Window; + ondurationchange: (ev: Event) => any; + addEventListener(type: "durationchange", listener: (ev: Event) => any, useCapture?: boolean): void; + all: HTMLCollection; + forms: HTMLCollection; + onblur: (ev: FocusEvent) => any; + addEventListener(type: "blur", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; + dir: string; + onemptied: (ev: Event) => any; + addEventListener(type: "emptied", listener: (ev: Event) => any, useCapture?: boolean): void; + designMode: string; + onseeking: (ev: Event) => any; + addEventListener(type: "seeking", listener: (ev: Event) => any, useCapture?: boolean): void; + ondeactivate: (ev: UIEvent) => any; + addEventListener(type: "deactivate", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + oncanplay: (ev: Event) => any; + addEventListener(type: "canplay", listener: (ev: Event) => any, useCapture?: boolean): void; + ondatasetchanged: (ev: MSEventObj) => any; + addEventListener(type: "datasetchanged", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onrowsdelete: (ev: MSEventObj) => any; + addEventListener(type: "rowsdelete", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + Script: MSScriptHost; + onloadstart: (ev: Event) => any; + addEventListener(type: "loadstart", listener: (ev: Event) => any, useCapture?: boolean): void; + URLUnencoded: string; + defaultView: Window; + oncontrolselect: (ev: MSEventObj) => any; + addEventListener(type: "controlselect", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + ondragenter: (ev: DragEvent) => any; + addEventListener(type: "dragenter", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + onsubmit: (ev: Event) => any; + addEventListener(type: "submit", listener: (ev: Event) => any, useCapture?: boolean): void; + inputEncoding: string; + activeElement: Element; + onchange: (ev: Event) => any; + addEventListener(type: "change", listener: (ev: Event) => any, useCapture?: boolean): void; + links: HTMLCollection; + uniqueID: string; + URL: string; + onbeforeactivate: (ev: UIEvent) => any; + addEventListener(type: "beforeactivate", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + head: HTMLHeadElement; + cookie: string; + xmlEncoding: string; + oncanplaythrough: (ev: Event) => any; + addEventListener(type: "canplaythrough", listener: (ev: Event) => any, useCapture?: boolean): void; + documentMode: number; + characterSet: string; + anchors: HTMLCollection; + onbeforeupdate: (ev: MSEventObj) => any; + addEventListener(type: "beforeupdate", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + ondatasetcomplete: (ev: MSEventObj) => any; + addEventListener(type: "datasetcomplete", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + plugins: HTMLCollection; + onsuspend: (ev: Event) => any; + addEventListener(type: "suspend", listener: (ev: Event) => any, useCapture?: boolean): void; + rootElement: SVGSVGElement; + readyState: string; + referrer: string; + alinkColor: string; + onerrorupdate: (ev: MSEventObj) => any; + addEventListener(type: "errorupdate", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + parentWindow: Window; + onmouseout: (ev: MouseEvent) => any; + addEventListener(type: "mouseout", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + onmsthumbnailclick: (ev: MSSiteModeEvent) => any; + addEventListener(type: "msthumbnailclick", listener: (ev: MSSiteModeEvent) => any, useCapture?: boolean): void; + onmousewheel: (ev: MouseWheelEvent) => any; + addEventListener(type: "mousewheel", listener: (ev: MouseWheelEvent) => any, useCapture?: boolean): void; + onvolumechange: (ev: Event) => any; + addEventListener(type: "volumechange", listener: (ev: Event) => any, useCapture?: boolean): void; + oncellchange: (ev: MSEventObj) => any; + addEventListener(type: "cellchange", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onrowexit: (ev: MSEventObj) => any; + addEventListener(type: "rowexit", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onrowsinserted: (ev: MSEventObj) => any; + addEventListener(type: "rowsinserted", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + xmlVersion: string; + msCapsLockWarningOff: boolean; + onpropertychange: (ev: MSEventObj) => any; + addEventListener(type: "propertychange", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + ondragend: (ev: DragEvent) => any; + addEventListener(type: "dragend", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + doctype: DocumentType; + ondragover: (ev: DragEvent) => any; + addEventListener(type: "dragover", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + bgColor: string; + ondragstart: (ev: DragEvent) => any; + addEventListener(type: "dragstart", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + onmouseup: (ev: MouseEvent) => any; + addEventListener(type: "mouseup", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + ondrag: (ev: DragEvent) => any; + addEventListener(type: "drag", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + onmouseover: (ev: MouseEvent) => any; + addEventListener(type: "mouseover", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + linkColor: string; + onpause: (ev: Event) => any; + addEventListener(type: "pause", listener: (ev: Event) => any, useCapture?: boolean): void; + onmousedown: (ev: MouseEvent) => any; + addEventListener(type: "mousedown", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + onclick: (ev: MouseEvent) => any; + addEventListener(type: "click", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + onwaiting: (ev: Event) => any; + addEventListener(type: "waiting", listener: (ev: Event) => any, useCapture?: boolean): void; + onstop: (ev: Event) => any; + addEventListener(type: "stop", listener: (ev: Event) => any, useCapture?: boolean): void; + onmssitemodejumplistitemremoved: (ev: MSSiteModeEvent) => any; + addEventListener(type: "mssitemodejumplistitemremoved", listener: (ev: MSSiteModeEvent) => any, useCapture?: boolean): void; + applets: HTMLCollection; + body: HTMLElement; + domain: string; + xmlStandalone: boolean; + selection: MSSelection; + onstalled: (ev: Event) => any; + addEventListener(type: "stalled", listener: (ev: Event) => any, useCapture?: boolean): void; + onmousemove: (ev: MouseEvent) => any; + addEventListener(type: "mousemove", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + documentElement: Element; + onbeforeeditfocus: (ev: MSEventObj) => any; + addEventListener(type: "beforeeditfocus", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onratechange: (ev: Event) => any; + addEventListener(type: "ratechange", listener: (ev: Event) => any, useCapture?: boolean): void; + onprogress: (ev: any) => any; + addEventListener(type: "progress", listener: (ev: any) => any, useCapture?: boolean): void; + ondblclick: (ev: MouseEvent) => any; + addEventListener(type: "dblclick", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + oncontextmenu: (ev: MouseEvent) => any; + addEventListener(type: "contextmenu", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + onloadedmetadata: (ev: Event) => any; + addEventListener(type: "loadedmetadata", listener: (ev: Event) => any, useCapture?: boolean): void; + media: string; + onerror: (ev: Event) => any; + addEventListener(type: "error", listener: (ev: Event) => any, useCapture?: boolean): void; + onplay: (ev: Event) => any; + addEventListener(type: "play", listener: (ev: Event) => any, useCapture?: boolean): void; + onafterupdate: (ev: MSEventObj) => any; + addEventListener(type: "afterupdate", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onplaying: (ev: Event) => any; + addEventListener(type: "playing", listener: (ev: Event) => any, useCapture?: boolean): void; + images: HTMLCollection; + location: Location; + onabort: (ev: UIEvent) => any; + addEventListener(type: "abort", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + onfocusout: (ev: FocusEvent) => any; + addEventListener(type: "focusout", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; + onselectionchange: (ev: Event) => any; + addEventListener(type: "selectionchange", listener: (ev: Event) => any, useCapture?: boolean): void; + onstoragecommit: (ev: StorageEvent) => any; + addEventListener(type: "storagecommit", listener: (ev: StorageEvent) => any, useCapture?: boolean): void; + ondataavailable: (ev: MSEventObj) => any; + addEventListener(type: "dataavailable", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onreadystatechange: (ev: Event) => any; + addEventListener(type: "readystatechange", listener: (ev: Event) => any, useCapture?: boolean): void; + lastModified: string; + onkeypress: (ev: KeyboardEvent) => any; + addEventListener(type: "keypress", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void; + onloadeddata: (ev: Event) => any; + addEventListener(type: "loadeddata", listener: (ev: Event) => any, useCapture?: boolean): void; + onbeforedeactivate: (ev: UIEvent) => any; + addEventListener(type: "beforedeactivate", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + onactivate: (ev: UIEvent) => any; + addEventListener(type: "activate", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + onselectstart: (ev: Event) => any; + addEventListener(type: "selectstart", listener: (ev: Event) => any, useCapture?: boolean): void; + onfocus: (ev: FocusEvent) => any; + addEventListener(type: "focus", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; + fgColor: string; + ontimeupdate: (ev: Event) => any; + addEventListener(type: "timeupdate", listener: (ev: Event) => any, useCapture?: boolean): void; + onselect: (ev: UIEvent) => any; + addEventListener(type: "select", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + ondrop: (ev: DragEvent) => any; + addEventListener(type: "drop", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + onended: (ev: Event) => any; + addEventListener(type: "ended", listener: (ev: Event) => any, useCapture?: boolean): void; + compatMode: string; + onscroll: (ev: UIEvent) => any; + addEventListener(type: "scroll", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + onrowenter: (ev: MSEventObj) => any; + addEventListener(type: "rowenter", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onload: (ev: Event) => any; + addEventListener(type: "load", listener: (ev: Event) => any, useCapture?: boolean): void; + oninput: (ev: Event) => any; + addEventListener(type: "input", listener: (ev: Event) => any, useCapture?: boolean): void; + queryCommandValue(commandId: string): string; + adoptNode(source: Node): Node; + queryCommandIndeterm(commandId: string): boolean; + getElementsByTagNameNS(namespaceURI: string, localName: string): NodeList; + createProcessingInstruction(target: string, data: string): ProcessingInstruction; + execCommand(commandId: string, showUI?: boolean, value?: any): boolean; + elementFromPoint(x: number, y: number): Element; + createCDATASection(data: string): CDATASection; + queryCommandText(commandId: string): string; + write(...content: string[]): void; + updateSettings(): void; + createElement(tagName: string): HTMLElement; + createElement(tagName: "a"): HTMLAnchorElement; + createElement(tagName: "abbr"): HTMLElement; + createElement(tagName: "address"): HTMLElement; + createElement(tagName: "area"): HTMLAreaElement; + createElement(tagName: "article"): HTMLElement; + createElement(tagName: "aside"): HTMLElement; + createElement(tagName: "audio"): HTMLAudioElement; + createElement(tagName: "b"): HTMLElement; + createElement(tagName: "base"): HTMLBaseElement; + createElement(tagName: "bdi"): HTMLElement; + createElement(tagName: "bdo"): HTMLElement; + createElement(tagName: "blockquote"): HTMLQuoteElement; + createElement(tagName: "body"): HTMLBodyElement; + createElement(tagName: "br"): HTMLBRElement; + createElement(tagName: "button"): HTMLButtonElement; + createElement(tagName: "canvas"): HTMLCanvasElement; + createElement(tagName: "caption"): HTMLTableCaptionElement; + createElement(tagName: "cite"): HTMLElement; + createElement(tagName: "code"): HTMLElement; + createElement(tagName: "col"): HTMLTableColElement; + createElement(tagName: "colgroup"): HTMLTableColElement; + createElement(tagName: "datalist"): HTMLDataListElement; + createElement(tagName: "dd"): HTMLElement; + createElement(tagName: "del"): HTMLModElement; + createElement(tagName: "dfn"): HTMLElement; + createElement(tagName: "div"): HTMLDivElement; + createElement(tagName: "dl"): HTMLDListElement; + createElement(tagName: "dt"): HTMLElement; + createElement(tagName: "em"): HTMLElement; + createElement(tagName: "embed"): HTMLEmbedElement; + createElement(tagName: "fieldset"): HTMLFieldSetElement; + createElement(tagName: "figcaption"): HTMLElement; + createElement(tagName: "figure"): HTMLElement; + createElement(tagName: "footer"): HTMLElement; + createElement(tagName: "form"): HTMLFormElement; + createElement(tagName: "h1"): HTMLHeadingElement; + createElement(tagName: "h2"): HTMLHeadingElement; + createElement(tagName: "h3"): HTMLHeadingElement; + createElement(tagName: "h4"): HTMLHeadingElement; + createElement(tagName: "h5"): HTMLHeadingElement; + createElement(tagName: "h6"): HTMLHeadingElement; + createElement(tagName: "head"): HTMLHeadElement; + createElement(tagName: "header"): HTMLElement; + createElement(tagName: "hgroup"): HTMLElement; + createElement(tagName: "hr"): HTMLHRElement; + createElement(tagName: "html"): HTMLHtmlElement; + createElement(tagName: "i"): HTMLElement; + createElement(tagName: "iframe"): HTMLIFrameElement; + createElement(tagName: "img"): HTMLImageElement; + createElement(tagName: "input"): HTMLInputElement; + createElement(tagName: "ins"): HTMLModElement; + createElement(tagName: "kbd"): HTMLElement; + createElement(tagName: "label"): HTMLLabelElement; + createElement(tagName: "legend"): HTMLLegendElement; + createElement(tagName: "li"): HTMLLIElement; + createElement(tagName: "link"): HTMLLinkElement; + createElement(tagName: "main"): HTMLElement; + createElement(tagName: "map"): HTMLMapElement; + createElement(tagName: "mark"): HTMLElement; + createElement(tagName: "menu"): HTMLMenuElement; + createElement(tagName: "meta"): HTMLMetaElement; + createElement(tagName: "nav"): HTMLElement; + createElement(tagName: "noscript"): HTMLElement; + createElement(tagName: "object"): HTMLObjectElement; + createElement(tagName: "ol"): HTMLOListElement; + createElement(tagName: "optgroup"): HTMLOptGroupElement; + createElement(tagName: "option"): HTMLOptionElement; + createElement(tagName: "p"): HTMLParagraphElement; + createElement(tagName: "param"): HTMLParamElement; + createElement(tagName: "pre"): HTMLPreElement; + createElement(tagName: "progress"): HTMLProgressElement; + createElement(tagName: "q"): HTMLQuoteElement; + createElement(tagName: "rp"): HTMLElement; + createElement(tagName: "rt"): HTMLElement; + createElement(tagName: "ruby"): HTMLElement; + createElement(tagName: "s"): HTMLElement; + createElement(tagName: "samp"): HTMLElement; + createElement(tagName: "script"): HTMLScriptElement; + createElement(tagName: "section"): HTMLElement; + createElement(tagName: "select"): HTMLSelectElement; + createElement(tagName: "small"): HTMLElement; + createElement(tagName: "source"): HTMLSourceElement; + createElement(tagName: "span"): HTMLSpanElement; + createElement(tagName: "strong"): HTMLElement; + createElement(tagName: "style"): HTMLStyleElement; + createElement(tagName: "sub"): HTMLElement; + createElement(tagName: "summary"): HTMLElement; + createElement(tagName: "sup"): HTMLElement; + createElement(tagName: "table"): HTMLTableElement; + createElement(tagName: "tbody"): HTMLTableSectionElement; + createElement(tagName: "td"): HTMLTableDataCellElement; + createElement(tagName: "textarea"): HTMLTextAreaElement; + createElement(tagName: "tfoot"): HTMLTableSectionElement; + createElement(tagName: "th"): HTMLTableHeaderCellElement; + createElement(tagName: "thead"): HTMLTableSectionElement; + createElement(tagName: "title"): HTMLTitleElement; + createElement(tagName: "tr"): HTMLTableRowElement; + createElement(tagName: "track"): HTMLTrackElement; + createElement(tagName: "u"): HTMLElement; + createElement(tagName: "ul"): HTMLUListElement; + createElement(tagName: "var"): HTMLElement; + createElement(tagName: "video"): HTMLVideoElement; + createElement(tagName: "wbr"): HTMLElement; + releaseCapture(): void; + writeln(...content: string[]): void; + createElementNS(namespaceURI: string, qualifiedName: string): Element; + open(url?: string, name?: string, features?: string, replace?: boolean): any; + queryCommandSupported(commandId: string): boolean; + createTreeWalker(root: Node, whatToShow: number, filter: NodeFilter, entityReferenceExpansion: boolean): TreeWalker; + createAttributeNS(namespaceURI: string, qualifiedName: string): Attr; + queryCommandEnabled(commandId: string): boolean; + focus(): void; + close(): void; + getElementsByClassName(classNames: string): NodeList; + importNode(importedNode: Node, deep: boolean): Node; + createRange(): Range; + fireEvent(eventName: string, eventObj?: any): boolean; + createComment(data: string): Comment; + getElementsByTagName(tagname: string): NodeList; + getElementsByTagName(name: "a"): NodeListOf; + getElementsByTagName(name: "abbr"): NodeListOf; + getElementsByTagName(name: "address"): NodeListOf; + getElementsByTagName(name: "area"): NodeListOf; + getElementsByTagName(name: "article"): NodeListOf; + getElementsByTagName(name: "aside"): NodeListOf; + getElementsByTagName(name: "audio"): NodeListOf; + getElementsByTagName(name: "b"): NodeListOf; + getElementsByTagName(name: "base"): NodeListOf; + getElementsByTagName(name: "bdi"): NodeListOf; + getElementsByTagName(name: "bdo"): NodeListOf; + getElementsByTagName(name: "blockquote"): NodeListOf; + getElementsByTagName(name: "body"): NodeListOf; + getElementsByTagName(name: "br"): NodeListOf; + getElementsByTagName(name: "button"): NodeListOf; + getElementsByTagName(name: "canvas"): NodeListOf; + getElementsByTagName(name: "caption"): NodeListOf; + getElementsByTagName(name: "cite"): NodeListOf; + getElementsByTagName(name: "code"): NodeListOf; + getElementsByTagName(name: "col"): NodeListOf; + getElementsByTagName(name: "colgroup"): NodeListOf; + getElementsByTagName(name: "datalist"): NodeListOf; + getElementsByTagName(name: "dd"): NodeListOf; + getElementsByTagName(name: "del"): NodeListOf; + getElementsByTagName(name: "dfn"): NodeListOf; + getElementsByTagName(name: "div"): NodeListOf; + getElementsByTagName(name: "dl"): NodeListOf; + getElementsByTagName(name: "dt"): NodeListOf; + getElementsByTagName(name: "em"): NodeListOf; + getElementsByTagName(name: "embed"): NodeListOf; + getElementsByTagName(name: "fieldset"): NodeListOf; + getElementsByTagName(name: "figcaption"): NodeListOf; + getElementsByTagName(name: "figure"): NodeListOf; + getElementsByTagName(name: "footer"): NodeListOf; + getElementsByTagName(name: "form"): NodeListOf; + getElementsByTagName(name: "h1"): NodeListOf; + getElementsByTagName(name: "h2"): NodeListOf; + getElementsByTagName(name: "h3"): NodeListOf; + getElementsByTagName(name: "h4"): NodeListOf; + getElementsByTagName(name: "h5"): NodeListOf; + getElementsByTagName(name: "h6"): NodeListOf; + getElementsByTagName(name: "head"): NodeListOf; + getElementsByTagName(name: "header"): NodeListOf; + getElementsByTagName(name: "hgroup"): NodeListOf; + getElementsByTagName(name: "hr"): NodeListOf; + getElementsByTagName(name: "html"): NodeListOf; + getElementsByTagName(name: "i"): NodeListOf; + getElementsByTagName(name: "iframe"): NodeListOf; + getElementsByTagName(name: "img"): NodeListOf; + getElementsByTagName(name: "input"): NodeListOf; + getElementsByTagName(name: "ins"): NodeListOf; + getElementsByTagName(name: "kbd"): NodeListOf; + getElementsByTagName(name: "label"): NodeListOf; + getElementsByTagName(name: "legend"): NodeListOf; + getElementsByTagName(name: "li"): NodeListOf; + getElementsByTagName(name: "link"): NodeListOf; + getElementsByTagName(name: "main"): NodeListOf; + getElementsByTagName(name: "map"): NodeListOf; + getElementsByTagName(name: "mark"): NodeListOf; + getElementsByTagName(name: "menu"): NodeListOf; + getElementsByTagName(name: "meta"): NodeListOf; + getElementsByTagName(name: "nav"): NodeListOf; + getElementsByTagName(name: "noscript"): NodeListOf; + getElementsByTagName(name: "object"): NodeListOf; + getElementsByTagName(name: "ol"): NodeListOf; + getElementsByTagName(name: "optgroup"): NodeListOf; + getElementsByTagName(name: "option"): NodeListOf; + getElementsByTagName(name: "p"): NodeListOf; + getElementsByTagName(name: "param"): NodeListOf; + getElementsByTagName(name: "pre"): NodeListOf; + getElementsByTagName(name: "progress"): NodeListOf; + getElementsByTagName(name: "q"): NodeListOf; + getElementsByTagName(name: "rp"): NodeListOf; + getElementsByTagName(name: "rt"): NodeListOf; + getElementsByTagName(name: "ruby"): NodeListOf; + getElementsByTagName(name: "s"): NodeListOf; + getElementsByTagName(name: "samp"): NodeListOf; + getElementsByTagName(name: "script"): NodeListOf; + getElementsByTagName(name: "section"): NodeListOf; + getElementsByTagName(name: "select"): NodeListOf; + getElementsByTagName(name: "small"): NodeListOf; + getElementsByTagName(name: "source"): NodeListOf; + getElementsByTagName(name: "span"): NodeListOf; + getElementsByTagName(name: "strong"): NodeListOf; + getElementsByTagName(name: "style"): NodeListOf; + getElementsByTagName(name: "sub"): NodeListOf; + getElementsByTagName(name: "summary"): NodeListOf; + getElementsByTagName(name: "sup"): NodeListOf; + getElementsByTagName(name: "table"): NodeListOf; + getElementsByTagName(name: "tbody"): NodeListOf; + getElementsByTagName(name: "td"): NodeListOf; + getElementsByTagName(name: "textarea"): NodeListOf; + getElementsByTagName(name: "tfoot"): NodeListOf; + getElementsByTagName(name: "th"): NodeListOf; + getElementsByTagName(name: "thead"): NodeListOf; + getElementsByTagName(name: "title"): NodeListOf; + getElementsByTagName(name: "tr"): NodeListOf; + getElementsByTagName(name: "track"): NodeListOf; + getElementsByTagName(name: "u"): NodeListOf; + getElementsByTagName(name: "ul"): NodeListOf; + getElementsByTagName(name: "var"): NodeListOf; + getElementsByTagName(name: "video"): NodeListOf; + getElementsByTagName(name: "wbr"): NodeListOf; + createDocumentFragment(): DocumentFragment; + createStyleSheet(href?: string, index?: number): CSSStyleSheet; + getElementsByName(elementName: string): NodeList; + queryCommandState(commandId: string): boolean; + hasFocus(): boolean; + execCommandShowHelp(commandId: string): boolean; + createAttribute(name: string): Attr; + createTextNode(data: string): Text; + createNodeIterator(root: Node, whatToShow: number, filter: NodeFilter, entityReferenceExpansion: boolean): NodeIterator; + createEventObject(eventObj?: any): MSEventObj; + getSelection(): Selection; + getElementById(elementId: string): HTMLElement; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; + addEventListener(type: "DOMContentLoaded", listener: (ev: Event) => any, useCapture?: boolean): void; +} +declare var Document: { + prototype: Document; + new (): Document; +} + +interface MessageEvent extends Event { + source: Window; + origin: string; + data: any; + initMessageEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, dataArg: any, originArg: string, lastEventIdArg: string, sourceArg: Window): void; +} +declare var MessageEvent: { + prototype: MessageEvent; + new (): MessageEvent; +} + +interface SVGElement extends Element { + onmouseover: (ev: MouseEvent) => any; + addEventListener(type: "mouseover", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + viewportElement: SVGElement; + onmousemove: (ev: MouseEvent) => any; + addEventListener(type: "mousemove", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + onmouseout: (ev: MouseEvent) => any; + addEventListener(type: "mouseout", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + ondblclick: (ev: MouseEvent) => any; + addEventListener(type: "dblclick", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + onfocusout: (ev: FocusEvent) => any; + addEventListener(type: "focusout", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; + onfocusin: (ev: FocusEvent) => any; + addEventListener(type: "focusin", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; + xmlbase: string; + onmousedown: (ev: MouseEvent) => any; + addEventListener(type: "mousedown", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + onload: (ev: Event) => any; + addEventListener(type: "load", listener: (ev: Event) => any, useCapture?: boolean): void; + onmouseup: (ev: MouseEvent) => any; + addEventListener(type: "mouseup", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + onclick: (ev: MouseEvent) => any; + addEventListener(type: "click", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + ownerSVGElement: SVGSVGElement; + id: string; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var SVGElement: { + prototype: SVGElement; + new (): SVGElement; +} + +interface HTMLScriptElement extends HTMLElement { + defer: boolean; + text: string; + src: string; + htmlFor: string; + charset: string; + type: string; + event: string; +} +declare var HTMLScriptElement: { + prototype: HTMLScriptElement; + new (): HTMLScriptElement; +} + +interface HTMLTableRowElement extends HTMLElement, HTMLTableAlignment, DOML2DeprecatedBackgroundColorStyle { + rowIndex: number; + cells: HTMLCollection; + align: string; + borderColorLight: any; + sectionRowIndex: number; + borderColor: any; + height: any; + borderColorDark: any; + deleteCell(index?: number): void; + insertCell(index?: number): HTMLElement; +} +declare var HTMLTableRowElement: { + prototype: HTMLTableRowElement; + new (): HTMLTableRowElement; +} + +interface CanvasRenderingContext2D { + miterLimit: number; + font: string; + globalCompositeOperation: string; + msFillRule: string; + lineCap: string; + msImageSmoothingEnabled: boolean; + lineDashOffset: number; + shadowColor: string; + lineJoin: string; + shadowOffsetX: number; + lineWidth: number; + canvas: HTMLCanvasElement; + strokeStyle: any; + globalAlpha: number; + shadowOffsetY: number; + fillStyle: any; + shadowBlur: number; + textAlign: string; + textBaseline: string; + restore(): void; + setTransform(m11: number, m12: number, m21: number, m22: number, dx: number, dy: number): void; + save(): void; + arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void; + measureText(text: string): TextMetrics; + isPointInPath(x: number, y: number, fillRule?: string): boolean; + quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void; + putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX?: number, dirtyY?: number, dirtyWidth?: number, dirtyHeight?: number): void; + rotate(angle: number): void; + fillText(text: string, x: number, y: number, maxWidth?: number): void; + translate(x: number, y: number): void; + scale(x: number, y: number): void; + createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient; + lineTo(x: number, y: number): void; + getLineDash(): Array; + fill(fillRule?: string): void; + createImageData(imageDataOrSw: any, sh?: number): ImageData; + createPattern(image: HTMLElement, repetition: string): CanvasPattern; + closePath(): void; + rect(x: number, y: number, w: number, h: number): void; + clip(fillRule?: string): void; + clearRect(x: number, y: number, w: number, h: number): void; + moveTo(x: number, y: number): void; + getImageData(sx: number, sy: number, sw: number, sh: number): ImageData; + fillRect(x: number, y: number, w: number, h: number): void; + bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void; + drawImage(image: HTMLElement, offsetX: number, offsetY: number, width?: number, height?: number, canvasOffsetX?: number, canvasOffsetY?: number, canvasImageWidth?: number, canvasImageHeight?: number): void; + transform(m11: number, m12: number, m21: number, m22: number, dx: number, dy: number): void; + stroke(): void; + strokeRect(x: number, y: number, w: number, h: number): void; + setLineDash(segments: Array): void; + strokeText(text: string, x: number, y: number, maxWidth?: number): void; + beginPath(): void; + arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void; + createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient; +} +declare var CanvasRenderingContext2D: { + prototype: CanvasRenderingContext2D; + new (): CanvasRenderingContext2D; +} + +interface MSCSSRuleList { + length: number; + item(index?: number): CSSStyleRule; + [index: number]: CSSStyleRule; +} +declare var MSCSSRuleList: { + prototype: MSCSSRuleList; + new (): MSCSSRuleList; +} + +interface SVGPathSegLinetoHorizontalAbs extends SVGPathSeg { + x: number; +} +declare var SVGPathSegLinetoHorizontalAbs: { + prototype: SVGPathSegLinetoHorizontalAbs; + new (): SVGPathSegLinetoHorizontalAbs; +} + +interface SVGPathSegArcAbs extends SVGPathSeg { + y: number; + sweepFlag: boolean; + r2: number; + x: number; + angle: number; + r1: number; + largeArcFlag: boolean; +} +declare var SVGPathSegArcAbs: { + prototype: SVGPathSegArcAbs; + new (): SVGPathSegArcAbs; +} + +interface SVGTransformList { + numberOfItems: number; + getItem(index: number): SVGTransform; + consolidate(): SVGTransform; + clear(): void; + appendItem(newItem: SVGTransform): SVGTransform; + initialize(newItem: SVGTransform): SVGTransform; + removeItem(index: number): SVGTransform; + insertItemBefore(newItem: SVGTransform, index: number): SVGTransform; + replaceItem(newItem: SVGTransform, index: number): SVGTransform; + createSVGTransformFromMatrix(matrix: SVGMatrix): SVGTransform; +} +declare var SVGTransformList: { + prototype: SVGTransformList; + new (): SVGTransformList; +} + +interface HTMLHtmlElement extends HTMLElement { + version: string; +} +declare var HTMLHtmlElement: { + prototype: HTMLHtmlElement; + new (): HTMLHtmlElement; +} + +interface SVGPathSegClosePath extends SVGPathSeg { +} +declare var SVGPathSegClosePath: { + prototype: SVGPathSegClosePath; + new (): SVGPathSegClosePath; +} + +interface HTMLFrameElement extends HTMLElement, GetSVGDocument, MSDataBindingExtensions { + width: any; + scrolling: string; + marginHeight: string; + marginWidth: string; + borderColor: any; + frameSpacing: any; + frameBorder: string; + noResize: boolean; + contentWindow: Window; + src: string; + name: string; + height: any; + contentDocument: Document; + border: string; + longDesc: string; + onload: (ev: Event) => any; + addEventListener(type: "load", listener: (ev: Event) => any, useCapture?: boolean): void; + security: any; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var HTMLFrameElement: { + prototype: HTMLFrameElement; + new (): HTMLFrameElement; +} + +interface SVGAnimatedLength { + animVal: SVGLength; + baseVal: SVGLength; +} +declare var SVGAnimatedLength: { + prototype: SVGAnimatedLength; + new (): SVGAnimatedLength; +} + +interface SVGAnimatedPoints { + points: SVGPointList; + animatedPoints: SVGPointList; +} + +interface SVGDefsElement extends SVGElement, SVGStylable, SVGTransformable, SVGLangSpace, SVGTests, SVGExternalResourcesRequired { +} +declare var SVGDefsElement: { + prototype: SVGDefsElement; + new (): SVGDefsElement; +} + +interface HTMLQuoteElement extends HTMLElement { + dateTime: string; + cite: string; +} +declare var HTMLQuoteElement: { + prototype: HTMLQuoteElement; + new (): HTMLQuoteElement; +} + +interface CSSMediaRule extends CSSRule { + media: MediaList; + cssRules: CSSRuleList; + insertRule(rule: string, index?: number): number; + deleteRule(index?: number): void; +} +declare var CSSMediaRule: { + prototype: CSSMediaRule; + new (): CSSMediaRule; +} + +interface WindowModal { + dialogArguments: any; + returnValue: any; +} + +interface XMLHttpRequest extends EventTarget { + responseBody: any; + status: number; + readyState: number; + responseText: string; + responseXML: Document; + ontimeout: (ev: Event) => any; + addEventListener(type: "timeout", listener: (ev: Event) => any, useCapture?: boolean): void; + statusText: string; + onreadystatechange: (ev: Event) => any; + addEventListener(type: "readystatechange", listener: (ev: Event) => any, useCapture?: boolean): void; + timeout: number; + onload: (ev: Event) => any; + addEventListener(type: "load", listener: (ev: Event) => any, useCapture?: boolean): void; + open(method: string, url: string, async?: boolean, user?: string, password?: string): void; + create(): XMLHttpRequest; + send(data?: any): void; + abort(): void; + getAllResponseHeaders(): string; + setRequestHeader(header: string, value: string): void; + getResponseHeader(header: string): string; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; + LOADING: number; + DONE: number; + UNSENT: number; + OPENED: number; + HEADERS_RECEIVED: number; +} +declare var XMLHttpRequest: { + prototype: XMLHttpRequest; + new (): XMLHttpRequest; + LOADING: number; + DONE: number; + UNSENT: number; + OPENED: number; + HEADERS_RECEIVED: number; +} + +interface HTMLTableHeaderCellElement extends HTMLTableCellElement { + scope: string; +} +declare var HTMLTableHeaderCellElement: { + prototype: HTMLTableHeaderCellElement; + new (): HTMLTableHeaderCellElement; +} + +interface HTMLDListElement extends HTMLElement, DOML2DeprecatedListSpaceReduction { +} +declare var HTMLDListElement: { + prototype: HTMLDListElement; + new (): HTMLDListElement; +} + +interface MSDataBindingExtensions { + dataSrc: string; + dataFormatAs: string; + dataFld: string; +} + +interface SVGPathSegLinetoHorizontalRel extends SVGPathSeg { + x: number; +} +declare var SVGPathSegLinetoHorizontalRel: { + prototype: SVGPathSegLinetoHorizontalRel; + new (): SVGPathSegLinetoHorizontalRel; +} + +interface SVGEllipseElement extends SVGElement, SVGStylable, SVGTransformable, SVGLangSpace, SVGTests, SVGExternalResourcesRequired { + ry: SVGAnimatedLength; + cx: SVGAnimatedLength; + rx: SVGAnimatedLength; + cy: SVGAnimatedLength; +} +declare var SVGEllipseElement: { + prototype: SVGEllipseElement; + new (): SVGEllipseElement; +} + +interface SVGAElement extends SVGElement, SVGStylable, SVGTransformable, SVGLangSpace, SVGTests, SVGExternalResourcesRequired, SVGURIReference { + target: SVGAnimatedString; +} +declare var SVGAElement: { + prototype: SVGAElement; + new (): SVGAElement; +} + +interface SVGStylable { + className: SVGAnimatedString; + style: CSSStyleDeclaration; +} + +interface SVGTransformable extends SVGLocatable { + transform: SVGAnimatedTransformList; +} + +interface HTMLFrameSetElement extends HTMLElement { + ononline: (ev: Event) => any; + addEventListener(type: "online", listener: (ev: Event) => any, useCapture?: boolean): void; + borderColor: any; + rows: string; + cols: string; + onblur: (ev: FocusEvent) => any; + addEventListener(type: "blur", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; + frameSpacing: any; + onfocus: (ev: FocusEvent) => any; + addEventListener(type: "focus", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; + onmessage: (ev: MessageEvent) => any; + addEventListener(type: "message", listener: (ev: MessageEvent) => any, useCapture?: boolean): void; + onerror: (ev: Event) => any; + addEventListener(type: "error", listener: (ev: Event) => any, useCapture?: boolean): void; + frameBorder: string; + onresize: (ev: UIEvent) => any; + addEventListener(type: "resize", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + name: string; + onafterprint: (ev: Event) => any; + addEventListener(type: "afterprint", listener: (ev: Event) => any, useCapture?: boolean): void; + onbeforeprint: (ev: Event) => any; + addEventListener(type: "beforeprint", listener: (ev: Event) => any, useCapture?: boolean): void; + onoffline: (ev: Event) => any; + addEventListener(type: "offline", listener: (ev: Event) => any, useCapture?: boolean): void; + border: string; + onunload: (ev: Event) => any; + addEventListener(type: "unload", listener: (ev: Event) => any, useCapture?: boolean): void; + onhashchange: (ev: Event) => any; + addEventListener(type: "hashchange", listener: (ev: Event) => any, useCapture?: boolean): void; + onload: (ev: Event) => any; + addEventListener(type: "load", listener: (ev: Event) => any, useCapture?: boolean): void; + onbeforeunload: (ev: BeforeUnloadEvent) => any; + addEventListener(type: "beforeunload", listener: (ev: BeforeUnloadEvent) => any, useCapture?: boolean): void; + onstorage: (ev: StorageEvent) => any; + addEventListener(type: "storage", listener: (ev: StorageEvent) => any, useCapture?: boolean): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var HTMLFrameSetElement: { + prototype: HTMLFrameSetElement; + new (): HTMLFrameSetElement; +} + +interface Screen { + width: number; + deviceXDPI: number; + fontSmoothingEnabled: boolean; + bufferDepth: number; + logicalXDPI: number; + systemXDPI: number; + availHeight: number; + height: number; + logicalYDPI: number; + systemYDPI: number; + updateInterval: number; + colorDepth: number; + availWidth: number; + deviceYDPI: number; + pixelDepth: number; +} +declare var Screen: { + prototype: Screen; + new (): Screen; +} + +interface Coordinates { + altitudeAccuracy: number; + longitude: number; + latitude: number; + speed: number; + heading: number; + altitude: number; + accuracy: number; +} +declare var Coordinates: { + prototype: Coordinates; + new (): Coordinates; +} + +interface NavigatorGeolocation { + geolocation: Geolocation; +} + +interface NavigatorContentUtils { +} + +interface EventListener { + (evt: Event): void; +} + +interface SVGLangSpace { + xmllang: string; + xmlspace: string; +} + +interface DataTransfer { + effectAllowed: string; + dropEffect: string; + clearData(format?: string): boolean; + setData(format: string, data: string): boolean; + getData(format: string): string; +} +declare var DataTransfer: { + prototype: DataTransfer; + new (): DataTransfer; +} + +interface FocusEvent extends UIEvent { + relatedTarget: EventTarget; + initFocusEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, relatedTargetArg: EventTarget): void; +} +declare var FocusEvent: { + prototype: FocusEvent; + new (): FocusEvent; +} + +interface Range { + startOffset: number; + collapsed: boolean; + endOffset: number; + startContainer: Node; + endContainer: Node; + commonAncestorContainer: Node; + setStart(refNode: Node, offset: number): void; + setEndBefore(refNode: Node): void; + setStartBefore(refNode: Node): void; + selectNode(refNode: Node): void; + detach(): void; + getBoundingClientRect(): ClientRect; + toString(): string; + compareBoundaryPoints(how: number, sourceRange: Range): number; + insertNode(newNode: Node): void; + collapse(toStart: boolean): void; + selectNodeContents(refNode: Node): void; + cloneContents(): DocumentFragment; + setEnd(refNode: Node, offset: number): void; + cloneRange(): Range; + getClientRects(): ClientRectList; + surroundContents(newParent: Node): void; + deleteContents(): void; + setStartAfter(refNode: Node): void; + extractContents(): DocumentFragment; + setEndAfter(refNode: Node): void; + END_TO_END: number; + START_TO_START: number; + START_TO_END: number; + END_TO_START: number; +} +declare var Range: { + prototype: Range; + new (): Range; + END_TO_END: number; + START_TO_START: number; + START_TO_END: number; + END_TO_START: number; +} + +interface SVGPoint { + y: number; + x: number; + matrixTransform(matrix: SVGMatrix): SVGPoint; +} +declare var SVGPoint: { + prototype: SVGPoint; + new (): SVGPoint; +} + +interface MSPluginsCollection { + length: number; + refresh(reload?: boolean): void; +} +declare var MSPluginsCollection: { + prototype: MSPluginsCollection; + new (): MSPluginsCollection; +} + +interface SVGAnimatedNumberList { + animVal: SVGNumberList; + baseVal: SVGNumberList; +} +declare var SVGAnimatedNumberList: { + prototype: SVGAnimatedNumberList; + new (): SVGAnimatedNumberList; +} + +interface SVGSVGElement extends SVGElement, SVGStylable, SVGZoomAndPan, DocumentEvent, SVGLangSpace, SVGLocatable, SVGTests, SVGFitToViewBox, SVGExternalResourcesRequired { + width: SVGAnimatedLength; + x: SVGAnimatedLength; + contentStyleType: string; + onzoom: (ev: any) => any; + addEventListener(type: "zoom", listener: (ev: any) => any, useCapture?: boolean): void; + y: SVGAnimatedLength; + viewport: SVGRect; + onerror: (ev: Event) => any; + addEventListener(type: "error", listener: (ev: Event) => any, useCapture?: boolean): void; + pixelUnitToMillimeterY: number; + onresize: (ev: UIEvent) => any; + addEventListener(type: "resize", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + screenPixelToMillimeterY: number; + height: SVGAnimatedLength; + onabort: (ev: UIEvent) => any; + addEventListener(type: "abort", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + contentScriptType: string; + pixelUnitToMillimeterX: number; + currentTranslate: SVGPoint; + onunload: (ev: Event) => any; + addEventListener(type: "unload", listener: (ev: Event) => any, useCapture?: boolean): void; + currentScale: number; + onscroll: (ev: UIEvent) => any; + addEventListener(type: "scroll", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + screenPixelToMillimeterX: number; + setCurrentTime(seconds: number): void; + createSVGLength(): SVGLength; + getIntersectionList(rect: SVGRect, referenceElement: SVGElement): NodeList; + unpauseAnimations(): void; + createSVGRect(): SVGRect; + checkIntersection(element: SVGElement, rect: SVGRect): boolean; + unsuspendRedrawAll(): void; + pauseAnimations(): void; + suspendRedraw(maxWaitMilliseconds: number): number; + deselectAll(): void; + createSVGAngle(): SVGAngle; + getEnclosureList(rect: SVGRect, referenceElement: SVGElement): NodeList; + createSVGTransform(): SVGTransform; + unsuspendRedraw(suspendHandleID: number): void; + forceRedraw(): void; + getCurrentTime(): number; + checkEnclosure(element: SVGElement, rect: SVGRect): boolean; + createSVGMatrix(): SVGMatrix; + createSVGPoint(): SVGPoint; + createSVGNumber(): SVGNumber; + createSVGTransformFromMatrix(matrix: SVGMatrix): SVGTransform; + getComputedStyle(elt: Element, pseudoElt?: string): CSSStyleDeclaration; + getElementById(elementId: string): Element; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var SVGSVGElement: { + prototype: SVGSVGElement; + new (): SVGSVGElement; +} + +interface HTMLLabelElement extends HTMLElement, MSDataBindingExtensions { + htmlFor: string; + form: HTMLFormElement; +} +declare var HTMLLabelElement: { + prototype: HTMLLabelElement; + new (): HTMLLabelElement; +} + +interface MSResourceMetadata { + protocol: string; + fileSize: string; + fileUpdatedDate: string; + nameProp: string; + fileCreatedDate: string; + fileModifiedDate: string; + mimeType: string; +} + +interface HTMLLegendElement extends HTMLElement, MSDataBindingExtensions { + align: string; + form: HTMLFormElement; +} +declare var HTMLLegendElement: { + prototype: HTMLLegendElement; + new (): HTMLLegendElement; +} + +interface HTMLDirectoryElement extends HTMLElement, DOML2DeprecatedListSpaceReduction, DOML2DeprecatedListNumberingAndBulletStyle { +} +declare var HTMLDirectoryElement: { + prototype: HTMLDirectoryElement; + new (): HTMLDirectoryElement; +} + +interface SVGAnimatedInteger { + animVal: number; + baseVal: number; +} +declare var SVGAnimatedInteger: { + prototype: SVGAnimatedInteger; + new (): SVGAnimatedInteger; +} + +interface SVGTextElement extends SVGTextPositioningElement, SVGTransformable { +} +declare var SVGTextElement: { + prototype: SVGTextElement; + new (): SVGTextElement; +} + +interface SVGTSpanElement extends SVGTextPositioningElement { +} +declare var SVGTSpanElement: { + prototype: SVGTSpanElement; + new (): SVGTSpanElement; +} + +interface HTMLLIElement extends HTMLElement, DOML2DeprecatedListNumberingAndBulletStyle { + value: number; +} +declare var HTMLLIElement: { + prototype: HTMLLIElement; + new (): HTMLLIElement; +} + +interface SVGPathSegLinetoVerticalAbs extends SVGPathSeg { + y: number; +} +declare var SVGPathSegLinetoVerticalAbs: { + prototype: SVGPathSegLinetoVerticalAbs; + new (): SVGPathSegLinetoVerticalAbs; +} + +interface MSStorageExtensions { + remainingSpace: number; +} + +interface SVGStyleElement extends SVGElement, SVGLangSpace { + media: string; + type: string; + title: string; +} +declare var SVGStyleElement: { + prototype: SVGStyleElement; + new (): SVGStyleElement; +} + +interface MSCurrentStyleCSSProperties extends MSCSSProperties { + blockDirection: string; + clipBottom: string; + clipLeft: string; + clipRight: string; + clipTop: string; + hasLayout: string; +} +declare var MSCurrentStyleCSSProperties: { + prototype: MSCurrentStyleCSSProperties; + new (): MSCurrentStyleCSSProperties; +} + +interface MSHTMLCollectionExtensions { + urns(urn: any): Object; + tags(tagName: any): Object; +} + +interface Storage extends MSStorageExtensions { + length: number; + getItem(key: string): any; + [key: string]: any; + setItem(key: string, data: string): void; + clear(): void; + removeItem(key: string): void; + key(index: number): string; + [index: number]: any; +} +declare var Storage: { + prototype: Storage; + new (): Storage; +} + +interface HTMLIFrameElement extends HTMLElement, GetSVGDocument, MSDataBindingExtensions { + width: string; + scrolling: string; + marginHeight: string; + marginWidth: string; + frameSpacing: any; + frameBorder: string; + noResize: boolean; + vspace: number; + contentWindow: Window; + align: string; + src: string; + name: string; + height: string; + border: string; + contentDocument: Document; + hspace: number; + longDesc: string; + security: any; + onload: (ev: Event) => any; + addEventListener(type: "load", listener: (ev: Event) => any, useCapture?: boolean): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var HTMLIFrameElement: { + prototype: HTMLIFrameElement; + new (): HTMLIFrameElement; +} + +interface TextRangeCollection { + length: number; + item(index: number): TextRange; + [index: number]: TextRange; +} +declare var TextRangeCollection: { + prototype: TextRangeCollection; + new (): TextRangeCollection; +} + +interface HTMLBodyElement extends HTMLElement, DOML2DeprecatedBackgroundStyle, DOML2DeprecatedBackgroundColorStyle { + scroll: string; + ononline: (ev: Event) => any; + addEventListener(type: "online", listener: (ev: Event) => any, useCapture?: boolean): void; + onblur: (ev: FocusEvent) => any; + addEventListener(type: "blur", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; + noWrap: boolean; + onfocus: (ev: FocusEvent) => any; + addEventListener(type: "focus", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; + onmessage: (ev: MessageEvent) => any; + addEventListener(type: "message", listener: (ev: MessageEvent) => any, useCapture?: boolean): void; + text: any; + onerror: (ev: Event) => any; + addEventListener(type: "error", listener: (ev: Event) => any, useCapture?: boolean): void; + bgProperties: string; + onresize: (ev: UIEvent) => any; + addEventListener(type: "resize", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + link: any; + aLink: any; + bottomMargin: any; + topMargin: any; + onafterprint: (ev: Event) => any; + addEventListener(type: "afterprint", listener: (ev: Event) => any, useCapture?: boolean): void; + vLink: any; + onbeforeprint: (ev: Event) => any; + addEventListener(type: "beforeprint", listener: (ev: Event) => any, useCapture?: boolean): void; + onoffline: (ev: Event) => any; + addEventListener(type: "offline", listener: (ev: Event) => any, useCapture?: boolean): void; + onunload: (ev: Event) => any; + addEventListener(type: "unload", listener: (ev: Event) => any, useCapture?: boolean): void; + onhashchange: (ev: Event) => any; + addEventListener(type: "hashchange", listener: (ev: Event) => any, useCapture?: boolean): void; + onload: (ev: Event) => any; + addEventListener(type: "load", listener: (ev: Event) => any, useCapture?: boolean): void; + rightMargin: any; + onbeforeunload: (ev: BeforeUnloadEvent) => any; + addEventListener(type: "beforeunload", listener: (ev: BeforeUnloadEvent) => any, useCapture?: boolean): void; + leftMargin: any; + onstorage: (ev: StorageEvent) => any; + addEventListener(type: "storage", listener: (ev: StorageEvent) => any, useCapture?: boolean): void; + createTextRange(): TextRange; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var HTMLBodyElement: { + prototype: HTMLBodyElement; + new (): HTMLBodyElement; +} + +interface DocumentType extends Node { + name: string; + notations: NamedNodeMap; + systemId: string; + internalSubset: string; + entities: NamedNodeMap; + publicId: string; +} +declare var DocumentType: { + prototype: DocumentType; + new (): DocumentType; +} + +interface SVGRadialGradientElement extends SVGGradientElement { + cx: SVGAnimatedLength; + r: SVGAnimatedLength; + cy: SVGAnimatedLength; + fx: SVGAnimatedLength; + fy: SVGAnimatedLength; +} +declare var SVGRadialGradientElement: { + prototype: SVGRadialGradientElement; + new (): SVGRadialGradientElement; +} + +interface MutationEvent extends Event { + newValue: string; + attrChange: number; + attrName: string; + prevValue: string; + relatedNode: Node; + initMutationEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, relatedNodeArg: Node, prevValueArg: string, newValueArg: string, attrNameArg: string, attrChangeArg: number): void; + MODIFICATION: number; + REMOVAL: number; + ADDITION: number; +} +declare var MutationEvent: { + prototype: MutationEvent; + new (): MutationEvent; + MODIFICATION: number; + REMOVAL: number; + ADDITION: number; +} + +interface DragEvent extends MouseEvent { + dataTransfer: DataTransfer; + initDragEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget, dataTransferArg: DataTransfer): void; +} +declare var DragEvent: { + prototype: DragEvent; + new (): DragEvent; +} + +interface HTMLTableSectionElement extends HTMLElement, HTMLTableAlignment, DOML2DeprecatedBackgroundColorStyle { + align: string; + rows: HTMLCollection; + deleteRow(index?: number): void; + moveRow(indexFrom?: number, indexTo?: number): Object; + insertRow(index?: number): HTMLElement; +} +declare var HTMLTableSectionElement: { + prototype: HTMLTableSectionElement; + new (): HTMLTableSectionElement; +} + +interface DOML2DeprecatedListNumberingAndBulletStyle { + type: string; +} + +interface HTMLInputElement extends HTMLElement, MSDataBindingExtensions { + width: string; + status: boolean; + form: HTMLFormElement; + selectionStart: number; + indeterminate: boolean; + readOnly: boolean; + size: number; + loop: number; + selectionEnd: number; + vrml: string; + lowsrc: string; + vspace: number; + accept: string; + alt: string; + defaultChecked: boolean; + align: string; + value: string; + src: string; + name: string; + useMap: string; + height: string; + border: string; + dynsrc: string; + checked: boolean; + hspace: number; + maxLength: number; + type: string; + defaultValue: string; + complete: boolean; + start: string; + createTextRange(): TextRange; + setSelectionRange(start: number, end: number): void; + select(): void; +} +declare var HTMLInputElement: { + prototype: HTMLInputElement; + new (): HTMLInputElement; +} + +interface HTMLAnchorElement extends HTMLElement, MSDataBindingExtensions { + rel: string; + protocol: string; + search: string; + coords: string; + hostname: string; + pathname: string; + Methods: string; + target: string; + protocolLong: string; + href: string; + name: string; + charset: string; + hreflang: string; + port: string; + host: string; + hash: string; + nameProp: string; + urn: string; + rev: string; + shape: string; + type: string; + mimeType: string; + toString(): string; +} +declare var HTMLAnchorElement: { + prototype: HTMLAnchorElement; + new (): HTMLAnchorElement; +} + +interface HTMLParamElement extends HTMLElement { + value: string; + name: string; + type: string; + valueType: string; +} +declare var HTMLParamElement: { + prototype: HTMLParamElement; + new (): HTMLParamElement; +} + +interface SVGImageElement extends SVGElement, SVGStylable, SVGTransformable, SVGLangSpace, SVGTests, SVGExternalResourcesRequired, SVGURIReference { + y: SVGAnimatedLength; + width: SVGAnimatedLength; + preserveAspectRatio: SVGAnimatedPreserveAspectRatio; + x: SVGAnimatedLength; + height: SVGAnimatedLength; +} +declare var SVGImageElement: { + prototype: SVGImageElement; + new (): SVGImageElement; +} + +interface SVGAnimatedNumber { + animVal: number; + baseVal: number; +} +declare var SVGAnimatedNumber: { + prototype: SVGAnimatedNumber; + new (): SVGAnimatedNumber; +} + +interface PerformanceTiming { + redirectStart: number; + domainLookupEnd: number; + responseStart: number; + domComplete: number; + domainLookupStart: number; + loadEventStart: number; + msFirstPaint: number; + unloadEventEnd: number; + fetchStart: number; + requestStart: number; + domInteractive: number; + navigationStart: number; + connectEnd: number; + loadEventEnd: number; + connectStart: number; + responseEnd: number; + domLoading: number; + redirectEnd: number; + unloadEventStart: number; + domContentLoadedEventStart: number; + domContentLoadedEventEnd: number; + toJSON(): any; +} +declare var PerformanceTiming: { + prototype: PerformanceTiming; + new (): PerformanceTiming; +} + +interface HTMLPreElement extends HTMLElement, DOML2DeprecatedTextFlowControl { + width: number; + cite: string; +} +declare var HTMLPreElement: { + prototype: HTMLPreElement; + new (): HTMLPreElement; +} + +interface EventException { + code: number; + message: string; + toString(): string; + DISPATCH_REQUEST_ERR: number; + UNSPECIFIED_EVENT_TYPE_ERR: number; +} +declare var EventException: { + prototype: EventException; + new (): EventException; + DISPATCH_REQUEST_ERR: number; + UNSPECIFIED_EVENT_TYPE_ERR: number; +} + +interface MSNavigatorDoNotTrack { + msDoNotTrack: string; +} + +interface NavigatorOnLine { + onLine: boolean; +} + +interface WindowLocalStorage { + localStorage: Storage; +} + +interface SVGMetadataElement extends SVGElement { +} +declare var SVGMetadataElement: { + prototype: SVGMetadataElement; + new (): SVGMetadataElement; +} + +interface SVGPathSegArcRel extends SVGPathSeg { + y: number; + sweepFlag: boolean; + r2: number; + x: number; + angle: number; + r1: number; + largeArcFlag: boolean; +} +declare var SVGPathSegArcRel: { + prototype: SVGPathSegArcRel; + new (): SVGPathSegArcRel; +} + +interface SVGPathSegMovetoAbs extends SVGPathSeg { + y: number; + x: number; +} +declare var SVGPathSegMovetoAbs: { + prototype: SVGPathSegMovetoAbs; + new (): SVGPathSegMovetoAbs; +} + +interface SVGStringList { + numberOfItems: number; + replaceItem(newItem: string, index: number): string; + getItem(index: number): string; + clear(): void; + appendItem(newItem: string): string; + initialize(newItem: string): string; + removeItem(index: number): string; + insertItemBefore(newItem: string, index: number): string; +} +declare var SVGStringList: { + prototype: SVGStringList; + new (): SVGStringList; +} + +interface XDomainRequest { + timeout: number; + onerror: (ev: Event) => any; + addEventListener(type: "error", listener: (ev: Event) => any, useCapture?: boolean): void; + onload: (ev: Event) => any; + addEventListener(type: "load", listener: (ev: Event) => any, useCapture?: boolean): void; + onprogress: (ev: any) => any; + addEventListener(type: "progress", listener: (ev: any) => any, useCapture?: boolean): void; + ontimeout: (ev: Event) => any; + addEventListener(type: "timeout", listener: (ev: Event) => any, useCapture?: boolean): void; + responseText: string; + contentType: string; + open(method: string, url: string): void; + create(): XDomainRequest; + abort(): void; + send(data?: any): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var XDomainRequest: { + prototype: XDomainRequest; + new (): XDomainRequest; +} + +interface DOML2DeprecatedBackgroundColorStyle { + bgColor: any; +} + +interface ElementTraversal { + childElementCount: number; + previousElementSibling: Element; + lastElementChild: Element; + nextElementSibling: Element; + firstElementChild: Element; +} + +interface SVGLength { + valueAsString: string; + valueInSpecifiedUnits: number; + value: number; + unitType: number; + newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void; + convertToSpecifiedUnits(unitType: number): void; + SVG_LENGTHTYPE_NUMBER: number; + SVG_LENGTHTYPE_CM: number; + SVG_LENGTHTYPE_PC: number; + SVG_LENGTHTYPE_PERCENTAGE: number; + SVG_LENGTHTYPE_MM: number; + SVG_LENGTHTYPE_PT: number; + SVG_LENGTHTYPE_IN: number; + SVG_LENGTHTYPE_EMS: number; + SVG_LENGTHTYPE_PX: number; + SVG_LENGTHTYPE_UNKNOWN: number; + SVG_LENGTHTYPE_EXS: number; +} +declare var SVGLength: { + prototype: SVGLength; + new (): SVGLength; + SVG_LENGTHTYPE_NUMBER: number; + SVG_LENGTHTYPE_CM: number; + SVG_LENGTHTYPE_PC: number; + SVG_LENGTHTYPE_PERCENTAGE: number; + SVG_LENGTHTYPE_MM: number; + SVG_LENGTHTYPE_PT: number; + SVG_LENGTHTYPE_IN: number; + SVG_LENGTHTYPE_EMS: number; + SVG_LENGTHTYPE_PX: number; + SVG_LENGTHTYPE_UNKNOWN: number; + SVG_LENGTHTYPE_EXS: number; +} + +interface SVGPolygonElement extends SVGElement, SVGStylable, SVGTransformable, SVGLangSpace, SVGAnimatedPoints, SVGTests, SVGExternalResourcesRequired { +} +declare var SVGPolygonElement: { + prototype: SVGPolygonElement; + new (): SVGPolygonElement; +} + +interface HTMLPhraseElement extends HTMLElement { + dateTime: string; + cite: string; +} +declare var HTMLPhraseElement: { + prototype: HTMLPhraseElement; + new (): HTMLPhraseElement; +} + +interface NavigatorStorageUtils { +} + +interface SVGPathSegCurvetoCubicRel extends SVGPathSeg { + y: number; + y1: number; + x2: number; + x: number; + x1: number; + y2: number; +} +declare var SVGPathSegCurvetoCubicRel: { + prototype: SVGPathSegCurvetoCubicRel; + new (): SVGPathSegCurvetoCubicRel; +} + +interface MSEventObj extends Event { + nextPage: string; + keyCode: number; + toElement: Element; + returnValue: any; + dataFld: string; + y: number; + dataTransfer: DataTransfer; + propertyName: string; + url: string; + offsetX: number; + recordset: Object; + screenX: number; + buttonID: number; + wheelDelta: number; + reason: number; + origin: string; + data: string; + srcFilter: Object; + boundElements: HTMLCollection; + cancelBubble: boolean; + altLeft: boolean; + behaviorCookie: number; + bookmarks: BookmarkCollection; + type: string; + repeat: boolean; + srcElement: Element; + source: Window; + fromElement: Element; + offsetY: number; + x: number; + behaviorPart: number; + qualifier: string; + altKey: boolean; + ctrlKey: boolean; + clientY: number; + shiftKey: boolean; + shiftLeft: boolean; + contentOverflow: boolean; + screenY: number; + ctrlLeft: boolean; + button: number; + srcUrn: string; + clientX: number; + actionURL: string; + getAttribute(strAttributeName: string, lFlags?: number): any; + setAttribute(strAttributeName: string, AttributeValue: any, lFlags?: number): void; + removeAttribute(strAttributeName: string, lFlags?: number): boolean; +} +declare var MSEventObj: { + prototype: MSEventObj; + new (): MSEventObj; +} + +interface SVGTextContentElement extends SVGElement, SVGStylable, SVGLangSpace, SVGTests, SVGExternalResourcesRequired { + textLength: SVGAnimatedLength; + lengthAdjust: SVGAnimatedEnumeration; + getCharNumAtPosition(point: SVGPoint): number; + getStartPositionOfChar(charnum: number): SVGPoint; + getExtentOfChar(charnum: number): SVGRect; + getComputedTextLength(): number; + getSubStringLength(charnum: number, nchars: number): number; + selectSubString(charnum: number, nchars: number): void; + getNumberOfChars(): number; + getRotationOfChar(charnum: number): number; + getEndPositionOfChar(charnum: number): SVGPoint; + LENGTHADJUST_SPACING: number; + LENGTHADJUST_SPACINGANDGLYPHS: number; + LENGTHADJUST_UNKNOWN: number; +} +declare var SVGTextContentElement: { + prototype: SVGTextContentElement; + new (): SVGTextContentElement; + LENGTHADJUST_SPACING: number; + LENGTHADJUST_SPACINGANDGLYPHS: number; + LENGTHADJUST_UNKNOWN: number; +} + +interface DOML2DeprecatedColorProperty { + color: string; +} + +interface HTMLCanvasElement extends HTMLElement { + width: number; + height: number; + toDataURL(type?: string, ...args: any[]): string; + getContext(contextId: string, ...args: any[]): any; + getContext(contextId: "2d"): CanvasRenderingContext2D; +} +declare var HTMLCanvasElement: { + prototype: HTMLCanvasElement; + new (): HTMLCanvasElement; +} + +interface Location { + hash: string; + protocol: string; + search: string; + href: string; + hostname: string; + port: string; + pathname: string; + host: string; + reload(flag?: boolean): void; + replace(url: string): void; + assign(url: string): void; + toString(): string; +} +declare var Location: { + prototype: Location; + new (): Location; +} + +interface HTMLTitleElement extends HTMLElement { + text: string; +} +declare var HTMLTitleElement: { + prototype: HTMLTitleElement; + new (): HTMLTitleElement; +} + +interface HTMLStyleElement extends HTMLElement, LinkStyle { + media: string; + type: string; +} +declare var HTMLStyleElement: { + prototype: HTMLStyleElement; + new (): HTMLStyleElement; +} + +interface PerformanceEntry { + name: string; + startTime: number; + duration: number; + entryType: string; +} +declare var PerformanceEntry: { + prototype: PerformanceEntry; + new (): PerformanceEntry; +} + +interface SVGTransform { + type: number; + angle: number; + matrix: SVGMatrix; + setTranslate(tx: number, ty: number): void; + setScale(sx: number, sy: number): void; + setMatrix(matrix: SVGMatrix): void; + setSkewY(angle: number): void; + setRotate(angle: number, cx: number, cy: number): void; + setSkewX(angle: number): void; + SVG_TRANSFORM_SKEWX: number; + SVG_TRANSFORM_UNKNOWN: number; + SVG_TRANSFORM_SCALE: number; + SVG_TRANSFORM_TRANSLATE: number; + SVG_TRANSFORM_MATRIX: number; + SVG_TRANSFORM_ROTATE: number; + SVG_TRANSFORM_SKEWY: number; +} +declare var SVGTransform: { + prototype: SVGTransform; + new (): SVGTransform; + SVG_TRANSFORM_SKEWX: number; + SVG_TRANSFORM_UNKNOWN: number; + SVG_TRANSFORM_SCALE: number; + SVG_TRANSFORM_TRANSLATE: number; + SVG_TRANSFORM_MATRIX: number; + SVG_TRANSFORM_ROTATE: number; + SVG_TRANSFORM_SKEWY: number; +} + +interface UIEvent extends Event { + detail: number; + view: Window; + initUIEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number): void; +} +declare var UIEvent: { + prototype: UIEvent; + new (): UIEvent; +} + +interface SVGURIReference { + href: SVGAnimatedString; +} + +interface SVGPathSeg { + pathSegType: number; + pathSegTypeAsLetter: string; + PATHSEG_MOVETO_REL: number; + PATHSEG_LINETO_VERTICAL_REL: number; + PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: number; + PATHSEG_CURVETO_QUADRATIC_REL: number; + PATHSEG_CURVETO_CUBIC_ABS: number; + PATHSEG_LINETO_HORIZONTAL_ABS: number; + PATHSEG_CURVETO_QUADRATIC_ABS: number; + PATHSEG_LINETO_ABS: number; + PATHSEG_CLOSEPATH: number; + PATHSEG_LINETO_HORIZONTAL_REL: number; + PATHSEG_CURVETO_CUBIC_SMOOTH_REL: number; + PATHSEG_LINETO_REL: number; + PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: number; + PATHSEG_ARC_REL: number; + PATHSEG_CURVETO_CUBIC_REL: number; + PATHSEG_UNKNOWN: number; + PATHSEG_LINETO_VERTICAL_ABS: number; + PATHSEG_ARC_ABS: number; + PATHSEG_MOVETO_ABS: number; + PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: number; +} +declare var SVGPathSeg: { + prototype: SVGPathSeg; + new (): SVGPathSeg; + PATHSEG_MOVETO_REL: number; + PATHSEG_LINETO_VERTICAL_REL: number; + PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: number; + PATHSEG_CURVETO_QUADRATIC_REL: number; + PATHSEG_CURVETO_CUBIC_ABS: number; + PATHSEG_LINETO_HORIZONTAL_ABS: number; + PATHSEG_CURVETO_QUADRATIC_ABS: number; + PATHSEG_LINETO_ABS: number; + PATHSEG_CLOSEPATH: number; + PATHSEG_LINETO_HORIZONTAL_REL: number; + PATHSEG_CURVETO_CUBIC_SMOOTH_REL: number; + PATHSEG_LINETO_REL: number; + PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: number; + PATHSEG_ARC_REL: number; + PATHSEG_CURVETO_CUBIC_REL: number; + PATHSEG_UNKNOWN: number; + PATHSEG_LINETO_VERTICAL_ABS: number; + PATHSEG_ARC_ABS: number; + PATHSEG_MOVETO_ABS: number; + PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: number; +} + +interface WheelEvent extends MouseEvent { + deltaZ: number; + deltaX: number; + deltaMode: number; + deltaY: number; + initWheelEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, buttonArg: number, relatedTargetArg: EventTarget, modifiersListArg: string, deltaXArg: number, deltaYArg: number, deltaZArg: number, deltaMode: number): void; + DOM_DELTA_PIXEL: number; + DOM_DELTA_LINE: number; + DOM_DELTA_PAGE: number; +} +declare var WheelEvent: { + prototype: WheelEvent; + new (): WheelEvent; + DOM_DELTA_PIXEL: number; + DOM_DELTA_LINE: number; + DOM_DELTA_PAGE: number; +} + +interface MSEventAttachmentTarget { + attachEvent(event: string, listener: EventListener): boolean; + detachEvent(event: string, listener: EventListener): void; +} + +interface SVGNumber { + value: number; +} +declare var SVGNumber: { + prototype: SVGNumber; + new (): SVGNumber; +} + +interface SVGPathElement extends SVGElement, SVGStylable, SVGAnimatedPathData, SVGTransformable, SVGLangSpace, SVGTests, SVGExternalResourcesRequired { + getPathSegAtLength(distance: number): number; + getPointAtLength(distance: number): SVGPoint; + createSVGPathSegCurvetoQuadraticAbs(x: number, y: number, x1: number, y1: number): SVGPathSegCurvetoQuadraticAbs; + createSVGPathSegLinetoRel(x: number, y: number): SVGPathSegLinetoRel; + createSVGPathSegCurvetoQuadraticRel(x: number, y: number, x1: number, y1: number): SVGPathSegCurvetoQuadraticRel; + createSVGPathSegCurvetoCubicAbs(x: number, y: number, x1: number, y1: number, x2: number, y2: number): SVGPathSegCurvetoCubicAbs; + createSVGPathSegLinetoAbs(x: number, y: number): SVGPathSegLinetoAbs; + createSVGPathSegClosePath(): SVGPathSegClosePath; + createSVGPathSegCurvetoCubicRel(x: number, y: number, x1: number, y1: number, x2: number, y2: number): SVGPathSegCurvetoCubicRel; + createSVGPathSegCurvetoQuadraticSmoothRel(x: number, y: number): SVGPathSegCurvetoQuadraticSmoothRel; + createSVGPathSegMovetoRel(x: number, y: number): SVGPathSegMovetoRel; + createSVGPathSegCurvetoCubicSmoothAbs(x: number, y: number, x2: number, y2: number): SVGPathSegCurvetoCubicSmoothAbs; + createSVGPathSegMovetoAbs(x: number, y: number): SVGPathSegMovetoAbs; + createSVGPathSegLinetoVerticalRel(y: number): SVGPathSegLinetoVerticalRel; + createSVGPathSegArcRel(x: number, y: number, r1: number, r2: number, angle: number, largeArcFlag: boolean, sweepFlag: boolean): SVGPathSegArcRel; + createSVGPathSegCurvetoQuadraticSmoothAbs(x: number, y: number): SVGPathSegCurvetoQuadraticSmoothAbs; + createSVGPathSegLinetoHorizontalRel(x: number): SVGPathSegLinetoHorizontalRel; + getTotalLength(): number; + createSVGPathSegCurvetoCubicSmoothRel(x: number, y: number, x2: number, y2: number): SVGPathSegCurvetoCubicSmoothRel; + createSVGPathSegLinetoHorizontalAbs(x: number): SVGPathSegLinetoHorizontalAbs; + createSVGPathSegLinetoVerticalAbs(y: number): SVGPathSegLinetoVerticalAbs; + createSVGPathSegArcAbs(x: number, y: number, r1: number, r2: number, angle: number, largeArcFlag: boolean, sweepFlag: boolean): SVGPathSegArcAbs; +} +declare var SVGPathElement: { + prototype: SVGPathElement; + new (): SVGPathElement; +} + +interface MSCompatibleInfo { + version: string; + userAgent: string; +} +declare var MSCompatibleInfo: { + prototype: MSCompatibleInfo; + new (): MSCompatibleInfo; +} + +interface Text extends CharacterData, MSNodeExtensions { + wholeText: string; + splitText(offset: number): Text; + replaceWholeText(content: string): Text; +} +declare var Text: { + prototype: Text; + new (): Text; +} + +interface SVGAnimatedRect { + animVal: SVGRect; + baseVal: SVGRect; +} +declare var SVGAnimatedRect: { + prototype: SVGAnimatedRect; + new (): SVGAnimatedRect; +} + +interface CSSNamespaceRule extends CSSRule { + namespaceURI: string; + prefix: string; +} +declare var CSSNamespaceRule: { + prototype: CSSNamespaceRule; + new (): CSSNamespaceRule; +} + +interface SVGPathSegList { + numberOfItems: number; + replaceItem(newItem: SVGPathSeg, index: number): SVGPathSeg; + getItem(index: number): SVGPathSeg; + clear(): void; + appendItem(newItem: SVGPathSeg): SVGPathSeg; + initialize(newItem: SVGPathSeg): SVGPathSeg; + removeItem(index: number): SVGPathSeg; + insertItemBefore(newItem: SVGPathSeg, index: number): SVGPathSeg; +} +declare var SVGPathSegList: { + prototype: SVGPathSegList; + new (): SVGPathSegList; +} + +interface HTMLUnknownElement extends HTMLElement, MSDataBindingRecordSetReadonlyExtensions { +} +declare var HTMLUnknownElement: { + prototype: HTMLUnknownElement; + new (): HTMLUnknownElement; +} + +interface HTMLAudioElement extends HTMLMediaElement { +} +declare var HTMLAudioElement: { + prototype: HTMLAudioElement; + new (): HTMLAudioElement; +} + +interface MSImageResourceExtensions { + dynsrc: string; + vrml: string; + lowsrc: string; + start: string; + loop: number; +} + +interface PositionError { + code: number; + message: string; + toString(): string; + POSITION_UNAVAILABLE: number; + PERMISSION_DENIED: number; + TIMEOUT: number; +} +declare var PositionError: { + prototype: PositionError; + new (): PositionError; + POSITION_UNAVAILABLE: number; + PERMISSION_DENIED: number; + TIMEOUT: number; +} + +interface HTMLTableCellElement extends HTMLElement, HTMLTableAlignment, DOML2DeprecatedBackgroundStyle, DOML2DeprecatedBackgroundColorStyle { + width: number; + headers: string; + cellIndex: number; + align: string; + borderColorLight: any; + colSpan: number; + borderColor: any; + axis: string; + height: any; + noWrap: boolean; + abbr: string; + rowSpan: number; + scope: string; + borderColorDark: any; +} +declare var HTMLTableCellElement: { + prototype: HTMLTableCellElement; + new (): HTMLTableCellElement; +} + +interface SVGElementInstance extends EventTarget { + previousSibling: SVGElementInstance; + parentNode: SVGElementInstance; + lastChild: SVGElementInstance; + nextSibling: SVGElementInstance; + childNodes: SVGElementInstanceList; + correspondingUseElement: SVGUseElement; + correspondingElement: SVGElement; + firstChild: SVGElementInstance; +} +declare var SVGElementInstance: { + prototype: SVGElementInstance; + new (): SVGElementInstance; +} + +interface MSNamespaceInfoCollection { + length: number; + add(namespace?: string, urn?: string, implementationUrl?: any): Object; + item(index: any): Object; + [index: string]: Object; +} +declare var MSNamespaceInfoCollection: { + prototype: MSNamespaceInfoCollection; + new (): MSNamespaceInfoCollection; +} + +interface SVGCircleElement extends SVGElement, SVGStylable, SVGTransformable, SVGLangSpace, SVGTests, SVGExternalResourcesRequired { + cx: SVGAnimatedLength; + r: SVGAnimatedLength; + cy: SVGAnimatedLength; +} +declare var SVGCircleElement: { + prototype: SVGCircleElement; + new (): SVGCircleElement; +} + +interface StyleSheetList { + length: number; + item(index?: number): StyleSheet; + [index: number]: StyleSheet; +} +declare var StyleSheetList: { + prototype: StyleSheetList; + new (): StyleSheetList; +} + +interface CSSImportRule extends CSSRule { + styleSheet: CSSStyleSheet; + href: string; + media: MediaList; +} +declare var CSSImportRule: { + prototype: CSSImportRule; + new (): CSSImportRule; +} + +interface CustomEvent extends Event { + detail: Object; + initCustomEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, detailArg: Object): void; +} +declare var CustomEvent: { + prototype: CustomEvent; + new (): CustomEvent; +} + +interface HTMLBaseFontElement extends HTMLElement, DOML2DeprecatedColorProperty { + face: string; + size: number; +} +declare var HTMLBaseFontElement: { + prototype: HTMLBaseFontElement; + new (): HTMLBaseFontElement; +} + +interface HTMLTextAreaElement extends HTMLElement, MSDataBindingExtensions { + value: string; + status: any; + form: HTMLFormElement; + name: string; + selectionStart: number; + rows: number; + cols: number; + readOnly: boolean; + wrap: string; + selectionEnd: number; + type: string; + defaultValue: string; + createTextRange(): TextRange; + setSelectionRange(start: number, end: number): void; + select(): void; +} +declare var HTMLTextAreaElement: { + prototype: HTMLTextAreaElement; + new (): HTMLTextAreaElement; +} + +interface Geolocation { + clearWatch(watchId: number): void; + getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): void; + watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): number; +} +declare var Geolocation: { + prototype: Geolocation; + new (): Geolocation; +} + +interface DOML2DeprecatedMarginStyle { + vspace: number; + hspace: number; +} + +interface MSWindowModeless { + dialogTop: any; + dialogLeft: any; + dialogWidth: any; + dialogHeight: any; + menuArguments: any; +} + +interface DOML2DeprecatedAlignmentStyle { + align: string; +} + +interface HTMLMarqueeElement extends HTMLElement, MSDataBindingExtensions, DOML2DeprecatedBackgroundColorStyle { + width: string; + onbounce: (ev: Event) => any; + addEventListener(type: "bounce", listener: (ev: Event) => any, useCapture?: boolean): void; + vspace: number; + trueSpeed: boolean; + scrollAmount: number; + scrollDelay: number; + behavior: string; + height: string; + loop: number; + direction: string; + hspace: number; + onstart: (ev: Event) => any; + addEventListener(type: "start", listener: (ev: Event) => any, useCapture?: boolean): void; + onfinish: (ev: Event) => any; + addEventListener(type: "finish", listener: (ev: Event) => any, useCapture?: boolean): void; + stop(): void; + start(): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var HTMLMarqueeElement: { + prototype: HTMLMarqueeElement; + new (): HTMLMarqueeElement; +} + +interface SVGRect { + y: number; + width: number; + x: number; + height: number; +} +declare var SVGRect: { + prototype: SVGRect; + new (): SVGRect; +} + +interface MSNodeExtensions { + swapNode(otherNode: Node): Node; + removeNode(deep?: boolean): Node; + replaceNode(replacement: Node): Node; +} + +interface History { + length: number; + back(distance?: any): void; + forward(distance?: any): void; + go(delta?: any): void; +} +declare var History: { + prototype: History; + new (): History; +} + +interface SVGPathSegCurvetoCubicAbs extends SVGPathSeg { + y: number; + y1: number; + x2: number; + x: number; + x1: number; + y2: number; +} +declare var SVGPathSegCurvetoCubicAbs: { + prototype: SVGPathSegCurvetoCubicAbs; + new (): SVGPathSegCurvetoCubicAbs; +} + +interface SVGPathSegCurvetoQuadraticAbs extends SVGPathSeg { + y: number; + y1: number; + x: number; + x1: number; +} +declare var SVGPathSegCurvetoQuadraticAbs: { + prototype: SVGPathSegCurvetoQuadraticAbs; + new (): SVGPathSegCurvetoQuadraticAbs; +} + +interface TimeRanges { + length: number; + start(index: number): number; + end(index: number): number; +} +declare var TimeRanges: { + prototype: TimeRanges; + new (): TimeRanges; +} + +interface CSSRule { + cssText: string; + parentStyleSheet: CSSStyleSheet; + parentRule: CSSRule; + type: number; + IMPORT_RULE: number; + MEDIA_RULE: number; + STYLE_RULE: number; + NAMESPACE_RULE: number; + PAGE_RULE: number; + UNKNOWN_RULE: number; + FONT_FACE_RULE: number; + CHARSET_RULE: number; +} +declare var CSSRule: { + prototype: CSSRule; + new (): CSSRule; + IMPORT_RULE: number; + MEDIA_RULE: number; + STYLE_RULE: number; + NAMESPACE_RULE: number; + PAGE_RULE: number; + UNKNOWN_RULE: number; + FONT_FACE_RULE: number; + CHARSET_RULE: number; +} + +interface SVGPathSegLinetoAbs extends SVGPathSeg { + y: number; + x: number; +} +declare var SVGPathSegLinetoAbs: { + prototype: SVGPathSegLinetoAbs; + new (): SVGPathSegLinetoAbs; +} + +interface HTMLModElement extends HTMLElement { + dateTime: string; + cite: string; +} +declare var HTMLModElement: { + prototype: HTMLModElement; + new (): HTMLModElement; +} + +interface SVGMatrix { + e: number; + c: number; + a: number; + b: number; + d: number; + f: number; + multiply(secondMatrix: SVGMatrix): SVGMatrix; + flipY(): SVGMatrix; + skewY(angle: number): SVGMatrix; + inverse(): SVGMatrix; + scaleNonUniform(scaleFactorX: number, scaleFactorY: number): SVGMatrix; + rotate(angle: number): SVGMatrix; + flipX(): SVGMatrix; + translate(x: number, y: number): SVGMatrix; + scale(scaleFactor: number): SVGMatrix; + rotateFromVector(x: number, y: number): SVGMatrix; + skewX(angle: number): SVGMatrix; +} +declare var SVGMatrix: { + prototype: SVGMatrix; + new (): SVGMatrix; +} + +interface MSPopupWindow { + document: Document; + isOpen: boolean; + show(x: number, y: number, w: number, h: number, element?: any): void; + hide(): void; +} +declare var MSPopupWindow: { + prototype: MSPopupWindow; + new (): MSPopupWindow; +} + +interface BeforeUnloadEvent extends Event { + returnValue: string; +} +declare var BeforeUnloadEvent: { + prototype: BeforeUnloadEvent; + new (): BeforeUnloadEvent; +} + +interface SVGUseElement extends SVGElement, SVGStylable, SVGTransformable, SVGLangSpace, SVGTests, SVGExternalResourcesRequired, SVGURIReference { + y: SVGAnimatedLength; + width: SVGAnimatedLength; + animatedInstanceRoot: SVGElementInstance; + instanceRoot: SVGElementInstance; + x: SVGAnimatedLength; + height: SVGAnimatedLength; +} +declare var SVGUseElement: { + prototype: SVGUseElement; + new (): SVGUseElement; +} + +interface Event { + timeStamp: number; + defaultPrevented: boolean; + isTrusted: boolean; + currentTarget: EventTarget; + cancelBubble: boolean; + target: EventTarget; + eventPhase: number; + cancelable: boolean; + type: string; + srcElement: Element; + bubbles: boolean; + initEvent(eventTypeArg: string, canBubbleArg: boolean, cancelableArg: boolean): void; + stopPropagation(): void; + stopImmediatePropagation(): void; + preventDefault(): void; + CAPTURING_PHASE: number; + AT_TARGET: number; + BUBBLING_PHASE: number; +} +declare var Event: { + prototype: Event; + new (): Event; + CAPTURING_PHASE: number; + AT_TARGET: number; + BUBBLING_PHASE: number; +} + +interface ImageData { + width: number; + data: number[]; + height: number; +} +declare var ImageData: { + prototype: ImageData; + new (): ImageData; +} + +interface HTMLTableColElement extends HTMLElement, HTMLTableAlignment { + width: any; + align: string; + span: number; +} +declare var HTMLTableColElement: { + prototype: HTMLTableColElement; + new (): HTMLTableColElement; +} + +interface SVGException { + code: number; + message: string; + toString(): string; + SVG_MATRIX_NOT_INVERTABLE: number; + SVG_WRONG_TYPE_ERR: number; + SVG_INVALID_VALUE_ERR: number; +} +declare var SVGException: { + prototype: SVGException; + new (): SVGException; + SVG_MATRIX_NOT_INVERTABLE: number; + SVG_WRONG_TYPE_ERR: number; + SVG_INVALID_VALUE_ERR: number; +} + +interface SVGLinearGradientElement extends SVGGradientElement { + y1: SVGAnimatedLength; + x2: SVGAnimatedLength; + x1: SVGAnimatedLength; + y2: SVGAnimatedLength; +} +declare var SVGLinearGradientElement: { + prototype: SVGLinearGradientElement; + new (): SVGLinearGradientElement; +} + +interface HTMLTableAlignment { + ch: string; + vAlign: string; + chOff: string; +} + +interface SVGAnimatedEnumeration { + animVal: number; + baseVal: number; +} +declare var SVGAnimatedEnumeration: { + prototype: SVGAnimatedEnumeration; + new (): SVGAnimatedEnumeration; +} + +interface DOML2DeprecatedSizeProperty { + size: number; +} + +interface HTMLUListElement extends HTMLElement, DOML2DeprecatedListSpaceReduction, DOML2DeprecatedListNumberingAndBulletStyle { +} +declare var HTMLUListElement: { + prototype: HTMLUListElement; + new (): HTMLUListElement; +} + +interface SVGRectElement extends SVGElement, SVGStylable, SVGTransformable, SVGLangSpace, SVGTests, SVGExternalResourcesRequired { + y: SVGAnimatedLength; + width: SVGAnimatedLength; + ry: SVGAnimatedLength; + rx: SVGAnimatedLength; + x: SVGAnimatedLength; + height: SVGAnimatedLength; +} +declare var SVGRectElement: { + prototype: SVGRectElement; + new (): SVGRectElement; +} + +interface ErrorEventHandler { + (event: Event, source: string, fileno: number, columnNumber: number): void; +} + +interface HTMLDivElement extends HTMLElement, MSDataBindingExtensions { + align: string; + noWrap: boolean; +} +declare var HTMLDivElement: { + prototype: HTMLDivElement; + new (): HTMLDivElement; +} + +interface DOML2DeprecatedBorderStyle { + border: string; +} + +interface NamedNodeMap { + length: number; + removeNamedItemNS(namespaceURI: string, localName: string): Attr; + item(index: number): Attr; + [index: number]: Attr; + removeNamedItem(name: string): Attr; + getNamedItem(name: string): Attr; + setNamedItem(arg: Attr): Attr; + getNamedItemNS(namespaceURI: string, localName: string): Attr; + setNamedItemNS(arg: Attr): Attr; +} +declare var NamedNodeMap: { + prototype: NamedNodeMap; + new (): NamedNodeMap; +} + +interface MediaList { + length: number; + mediaText: string; + deleteMedium(oldMedium: string): void; + appendMedium(newMedium: string): void; + item(index: number): string; + [index: number]: string; + toString(): string; +} +declare var MediaList: { + prototype: MediaList; + new (): MediaList; +} + +interface SVGPathSegCurvetoQuadraticSmoothAbs extends SVGPathSeg { + y: number; + x: number; +} +declare var SVGPathSegCurvetoQuadraticSmoothAbs: { + prototype: SVGPathSegCurvetoQuadraticSmoothAbs; + new (): SVGPathSegCurvetoQuadraticSmoothAbs; +} + +interface SVGPathSegCurvetoCubicSmoothRel extends SVGPathSeg { + y: number; + x2: number; + x: number; + y2: number; +} +declare var SVGPathSegCurvetoCubicSmoothRel: { + prototype: SVGPathSegCurvetoCubicSmoothRel; + new (): SVGPathSegCurvetoCubicSmoothRel; +} + +interface SVGLengthList { + numberOfItems: number; + replaceItem(newItem: SVGLength, index: number): SVGLength; + getItem(index: number): SVGLength; + clear(): void; + appendItem(newItem: SVGLength): SVGLength; + initialize(newItem: SVGLength): SVGLength; + removeItem(index: number): SVGLength; + insertItemBefore(newItem: SVGLength, index: number): SVGLength; +} +declare var SVGLengthList: { + prototype: SVGLengthList; + new (): SVGLengthList; +} + +interface ProcessingInstruction extends Node { + target: string; + data: string; +} +declare var ProcessingInstruction: { + prototype: ProcessingInstruction; + new (): ProcessingInstruction; +} + +interface MSWindowExtensions { + status: string; + onmouseleave: (ev: MouseEvent) => any; + addEventListener(type: "mouseleave", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + screenLeft: number; + offscreenBuffering: any; + maxConnectionsPerServer: number; + onmouseenter: (ev: MouseEvent) => any; + addEventListener(type: "mouseenter", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + clipboardData: DataTransfer; + defaultStatus: string; + clientInformation: Navigator; + closed: boolean; + onhelp: (ev: Event) => any; + addEventListener(type: "help", listener: (ev: Event) => any, useCapture?: boolean): void; + external: External; + event: MSEventObj; + onfocusout: (ev: FocusEvent) => any; + addEventListener(type: "focusout", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; + screenTop: number; + onfocusin: (ev: FocusEvent) => any; + addEventListener(type: "focusin", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; + showModelessDialog(url?: string, argument?: any, options?: any): Window; + navigate(url: string): void; + resizeBy(x?: number, y?: number): void; + item(index: any): any; + resizeTo(x?: number, y?: number): void; + createPopup(arguments?: any): MSPopupWindow; + toStaticHTML(html: string): string; + execScript(code: string, language?: string): any; + msWriteProfilerMark(profilerMarkName: string): void; + moveTo(x?: number, y?: number): void; + moveBy(x?: number, y?: number): void; + showHelp(url: string, helpArg?: any, features?: string): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} + +interface MSBehaviorUrnsCollection { + length: number; + item(index: number): string; +} +declare var MSBehaviorUrnsCollection: { + prototype: MSBehaviorUrnsCollection; + new (): MSBehaviorUrnsCollection; +} + +interface CSSFontFaceRule extends CSSRule { + style: CSSStyleDeclaration; +} +declare var CSSFontFaceRule: { + prototype: CSSFontFaceRule; + new (): CSSFontFaceRule; +} + +interface DOML2DeprecatedBackgroundStyle { + background: string; +} + +interface TextEvent extends UIEvent { + inputMethod: number; + data: string; + locale: string; + initTextEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, dataArg: string, inputMethod: number, locale: string): void; + DOM_INPUT_METHOD_KEYBOARD: number; + DOM_INPUT_METHOD_DROP: number; + DOM_INPUT_METHOD_IME: number; + DOM_INPUT_METHOD_SCRIPT: number; + DOM_INPUT_METHOD_VOICE: number; + DOM_INPUT_METHOD_UNKNOWN: number; + DOM_INPUT_METHOD_PASTE: number; + DOM_INPUT_METHOD_HANDWRITING: number; + DOM_INPUT_METHOD_OPTION: number; + DOM_INPUT_METHOD_MULTIMODAL: number; +} +declare var TextEvent: { + prototype: TextEvent; + new (): TextEvent; + DOM_INPUT_METHOD_KEYBOARD: number; + DOM_INPUT_METHOD_DROP: number; + DOM_INPUT_METHOD_IME: number; + DOM_INPUT_METHOD_SCRIPT: number; + DOM_INPUT_METHOD_VOICE: number; + DOM_INPUT_METHOD_UNKNOWN: number; + DOM_INPUT_METHOD_PASTE: number; + DOM_INPUT_METHOD_HANDWRITING: number; + DOM_INPUT_METHOD_OPTION: number; + DOM_INPUT_METHOD_MULTIMODAL: number; +} + +interface DocumentFragment extends Node, NodeSelector, MSEventAttachmentTarget, MSNodeExtensions { +} +declare var DocumentFragment: { + prototype: DocumentFragment; + new (): DocumentFragment; +} + +interface SVGPolylineElement extends SVGElement, SVGStylable, SVGTransformable, SVGLangSpace, SVGAnimatedPoints, SVGTests, SVGExternalResourcesRequired { +} +declare var SVGPolylineElement: { + prototype: SVGPolylineElement; + new (): SVGPolylineElement; +} + +interface SVGAnimatedPathData { + pathSegList: SVGPathSegList; +} + +interface Position { + timestamp: number; + coords: Coordinates; +} +declare var Position: { + prototype: Position; + new (): Position; +} + +interface BookmarkCollection { + length: number; + item(index: number): any; + [index: number]: any; +} +declare var BookmarkCollection: { + prototype: BookmarkCollection; + new (): BookmarkCollection; +} + +interface PerformanceMark extends PerformanceEntry { +} +declare var PerformanceMark: { + prototype: PerformanceMark; + new (): PerformanceMark; +} + +interface CSSPageRule extends CSSRule { + pseudoClass: string; + selectorText: string; + selector: string; + style: CSSStyleDeclaration; +} +declare var CSSPageRule: { + prototype: CSSPageRule; + new (): CSSPageRule; +} + +interface HTMLBRElement extends HTMLElement { + clear: string; +} +declare var HTMLBRElement: { + prototype: HTMLBRElement; + new (): HTMLBRElement; +} + +interface MSNavigatorExtensions { + userLanguage: string; + plugins: MSPluginsCollection; + cookieEnabled: boolean; + appCodeName: string; + cpuClass: string; + appMinorVersion: string; + connectionSpeed: number; + browserLanguage: string; + mimeTypes: MSMimeTypesCollection; + systemLanguage: string; + javaEnabled(): boolean; + taintEnabled(): boolean; +} + +interface HTMLSpanElement extends HTMLElement, MSDataBindingExtensions { +} +declare var HTMLSpanElement: { + prototype: HTMLSpanElement; + new (): HTMLSpanElement; +} + +interface HTMLHeadElement extends HTMLElement { + profile: string; +} +declare var HTMLHeadElement: { + prototype: HTMLHeadElement; + new (): HTMLHeadElement; +} + +interface HTMLHeadingElement extends HTMLElement, DOML2DeprecatedTextFlowControl { + align: string; +} +declare var HTMLHeadingElement: { + prototype: HTMLHeadingElement; + new (): HTMLHeadingElement; +} + +interface HTMLFormElement extends HTMLElement, MSHTMLCollectionExtensions { + length: number; + target: string; + acceptCharset: string; + enctype: string; + elements: HTMLCollection; + action: string; + name: string; + method: string; + encoding: string; + reset(): void; + item(name?: any, index?: any): any; + submit(): void; + namedItem(name: string): any; + [name: string]: any; +} +declare var HTMLFormElement: { + prototype: HTMLFormElement; + new (): HTMLFormElement; +} + +interface SVGZoomAndPan { + zoomAndPan: number; + SVG_ZOOMANDPAN_MAGNIFY: number; + SVG_ZOOMANDPAN_UNKNOWN: number; + SVG_ZOOMANDPAN_DISABLE: number; +} +declare var SVGZoomAndPan: { + prototype: SVGZoomAndPan; + new (): SVGZoomAndPan; + SVG_ZOOMANDPAN_MAGNIFY: number; + SVG_ZOOMANDPAN_UNKNOWN: number; + SVG_ZOOMANDPAN_DISABLE: number; +} + +interface HTMLMediaElement extends HTMLElement { + initialTime: number; + played: TimeRanges; + currentSrc: string; + readyState: any; + autobuffer: boolean; + loop: boolean; + ended: boolean; + buffered: TimeRanges; + error: MediaError; + seekable: TimeRanges; + autoplay: boolean; + controls: boolean; + volume: number; + src: string; + playbackRate: number; + duration: number; + muted: boolean; + defaultPlaybackRate: number; + paused: boolean; + seeking: boolean; + currentTime: number; + preload: string; + networkState: number; + pause(): void; + play(): void; + load(): void; + canPlayType(type: string): string; + HAVE_METADATA: number; + HAVE_CURRENT_DATA: number; + HAVE_NOTHING: number; + NETWORK_NO_SOURCE: number; + HAVE_ENOUGH_DATA: number; + NETWORK_EMPTY: number; + NETWORK_LOADING: number; + NETWORK_IDLE: number; + HAVE_FUTURE_DATA: number; +} +declare var HTMLMediaElement: { + prototype: HTMLMediaElement; + new (): HTMLMediaElement; + HAVE_METADATA: number; + HAVE_CURRENT_DATA: number; + HAVE_NOTHING: number; + NETWORK_NO_SOURCE: number; + HAVE_ENOUGH_DATA: number; + NETWORK_EMPTY: number; + NETWORK_LOADING: number; + NETWORK_IDLE: number; + HAVE_FUTURE_DATA: number; +} + +interface ElementCSSInlineStyle { + runtimeStyle: MSStyleCSSProperties; + currentStyle: MSCurrentStyleCSSProperties; + doScroll(component?: any): void; + componentFromPoint(x: number, y: number): string; +} + +interface DOMParser { + parseFromString(source: string, mimeType: string): Document; +} +declare var DOMParser: { + prototype: DOMParser; + new (): DOMParser; +} + +interface MSMimeTypesCollection { + length: number; +} +declare var MSMimeTypesCollection: { + prototype: MSMimeTypesCollection; + new (): MSMimeTypesCollection; +} + +interface StyleSheet { + disabled: boolean; + ownerNode: Node; + parentStyleSheet: StyleSheet; + href: string; + media: MediaList; + type: string; + title: string; +} +declare var StyleSheet: { + prototype: StyleSheet; + new (): StyleSheet; +} + +interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { + startOffset: SVGAnimatedLength; + method: SVGAnimatedEnumeration; + spacing: SVGAnimatedEnumeration; + TEXTPATH_SPACINGTYPE_EXACT: number; + TEXTPATH_METHODTYPE_STRETCH: number; + TEXTPATH_SPACINGTYPE_AUTO: number; + TEXTPATH_SPACINGTYPE_UNKNOWN: number; + TEXTPATH_METHODTYPE_UNKNOWN: number; + TEXTPATH_METHODTYPE_ALIGN: number; +} +declare var SVGTextPathElement: { + prototype: SVGTextPathElement; + new (): SVGTextPathElement; + TEXTPATH_SPACINGTYPE_EXACT: number; + TEXTPATH_METHODTYPE_STRETCH: number; + TEXTPATH_SPACINGTYPE_AUTO: number; + TEXTPATH_SPACINGTYPE_UNKNOWN: number; + TEXTPATH_METHODTYPE_UNKNOWN: number; + TEXTPATH_METHODTYPE_ALIGN: number; +} + +interface HTMLDTElement extends HTMLElement { + noWrap: boolean; +} +declare var HTMLDTElement: { + prototype: HTMLDTElement; + new (): HTMLDTElement; +} + +interface NodeList { + length: number; + item(index: number): Node; + [index: number]: Node; +} +declare var NodeList: { + prototype: NodeList; + new (): NodeList; +} + +interface NodeListOf extends NodeList { + length: number; + item(index: number): TNode; + [index: number]: TNode; +} + +interface XMLSerializer { + serializeToString(target: Node): string; +} +declare var XMLSerializer: { + prototype: XMLSerializer; + new (): XMLSerializer; +} + +interface PerformanceMeasure extends PerformanceEntry { +} +declare var PerformanceMeasure: { + prototype: PerformanceMeasure; + new (): PerformanceMeasure; +} + +interface SVGGradientElement extends SVGElement, SVGUnitTypes, SVGStylable, SVGExternalResourcesRequired, SVGURIReference { + spreadMethod: SVGAnimatedEnumeration; + gradientTransform: SVGAnimatedTransformList; + gradientUnits: SVGAnimatedEnumeration; + SVG_SPREADMETHOD_REFLECT: number; + SVG_SPREADMETHOD_PAD: number; + SVG_SPREADMETHOD_UNKNOWN: number; + SVG_SPREADMETHOD_REPEAT: number; +} +declare var SVGGradientElement: { + prototype: SVGGradientElement; + new (): SVGGradientElement; + SVG_SPREADMETHOD_REFLECT: number; + SVG_SPREADMETHOD_PAD: number; + SVG_SPREADMETHOD_UNKNOWN: number; + SVG_SPREADMETHOD_REPEAT: number; +} + +interface NodeFilter { + acceptNode(n: Node): number; + SHOW_ENTITY_REFERENCE: number; + SHOW_NOTATION: number; + SHOW_ENTITY: number; + SHOW_DOCUMENT: number; + SHOW_PROCESSING_INSTRUCTION: number; + FILTER_REJECT: number; + SHOW_CDATA_SECTION: number; + FILTER_ACCEPT: number; + SHOW_ALL: number; + SHOW_DOCUMENT_TYPE: number; + SHOW_TEXT: number; + SHOW_ELEMENT: number; + SHOW_COMMENT: number; + FILTER_SKIP: number; + SHOW_ATTRIBUTE: number; + SHOW_DOCUMENT_FRAGMENT: number; +} +declare var NodeFilter: { + prototype: NodeFilter; + new (): NodeFilter; + SHOW_ENTITY_REFERENCE: number; + SHOW_NOTATION: number; + SHOW_ENTITY: number; + SHOW_DOCUMENT: number; + SHOW_PROCESSING_INSTRUCTION: number; + FILTER_REJECT: number; + SHOW_CDATA_SECTION: number; + FILTER_ACCEPT: number; + SHOW_ALL: number; + SHOW_DOCUMENT_TYPE: number; + SHOW_TEXT: number; + SHOW_ELEMENT: number; + SHOW_COMMENT: number; + FILTER_SKIP: number; + SHOW_ATTRIBUTE: number; + SHOW_DOCUMENT_FRAGMENT: number; +} + +interface SVGNumberList { + numberOfItems: number; + replaceItem(newItem: SVGNumber, index: number): SVGNumber; + getItem(index: number): SVGNumber; + clear(): void; + appendItem(newItem: SVGNumber): SVGNumber; + initialize(newItem: SVGNumber): SVGNumber; + removeItem(index: number): SVGNumber; + insertItemBefore(newItem: SVGNumber, index: number): SVGNumber; +} +declare var SVGNumberList: { + prototype: SVGNumberList; + new (): SVGNumberList; +} + +interface MediaError { + code: number; + MEDIA_ERR_ABORTED: number; + MEDIA_ERR_NETWORK: number; + MEDIA_ERR_SRC_NOT_SUPPORTED: number; + MEDIA_ERR_DECODE: number; +} +declare var MediaError: { + prototype: MediaError; + new (): MediaError; + MEDIA_ERR_ABORTED: number; + MEDIA_ERR_NETWORK: number; + MEDIA_ERR_SRC_NOT_SUPPORTED: number; + MEDIA_ERR_DECODE: number; +} + +interface HTMLFieldSetElement extends HTMLElement { + align: string; + form: HTMLFormElement; +} +declare var HTMLFieldSetElement: { + prototype: HTMLFieldSetElement; + new (): HTMLFieldSetElement; +} + +interface HTMLBGSoundElement extends HTMLElement { + balance: any; + volume: any; + src: string; + loop: number; +} +declare var HTMLBGSoundElement: { + prototype: HTMLBGSoundElement; + new (): HTMLBGSoundElement; +} + +interface HTMLElement extends Element, ElementCSSInlineStyle, MSEventAttachmentTarget, MSNodeExtensions { + onmouseleave: (ev: MouseEvent) => any; + addEventListener(type: "mouseleave", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + onbeforecut: (ev: DragEvent) => any; + addEventListener(type: "beforecut", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + onkeydown: (ev: KeyboardEvent) => any; + addEventListener(type: "keydown", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void; + onmove: (ev: MSEventObj) => any; + addEventListener(type: "move", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onkeyup: (ev: KeyboardEvent) => any; + addEventListener(type: "keyup", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void; + onreset: (ev: Event) => any; + addEventListener(type: "reset", listener: (ev: Event) => any, useCapture?: boolean): void; + onhelp: (ev: Event) => any; + addEventListener(type: "help", listener: (ev: Event) => any, useCapture?: boolean): void; + ondragleave: (ev: DragEvent) => any; + addEventListener(type: "dragleave", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + className: string; + onfocusin: (ev: FocusEvent) => any; + addEventListener(type: "focusin", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; + onseeked: (ev: Event) => any; + addEventListener(type: "seeked", listener: (ev: Event) => any, useCapture?: boolean): void; + recordNumber: any; + title: string; + parentTextEdit: Element; + outerHTML: string; + ondurationchange: (ev: Event) => any; + addEventListener(type: "durationchange", listener: (ev: Event) => any, useCapture?: boolean): void; + offsetHeight: number; + all: HTMLCollection; + onblur: (ev: FocusEvent) => any; + addEventListener(type: "blur", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; + dir: string; + onemptied: (ev: Event) => any; + addEventListener(type: "emptied", listener: (ev: Event) => any, useCapture?: boolean): void; + onseeking: (ev: Event) => any; + addEventListener(type: "seeking", listener: (ev: Event) => any, useCapture?: boolean): void; + oncanplay: (ev: Event) => any; + addEventListener(type: "canplay", listener: (ev: Event) => any, useCapture?: boolean): void; + ondeactivate: (ev: UIEvent) => any; + addEventListener(type: "deactivate", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + ondatasetchanged: (ev: MSEventObj) => any; + addEventListener(type: "datasetchanged", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onrowsdelete: (ev: MSEventObj) => any; + addEventListener(type: "rowsdelete", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + sourceIndex: number; + onloadstart: (ev: Event) => any; + addEventListener(type: "loadstart", listener: (ev: Event) => any, useCapture?: boolean): void; + onlosecapture: (ev: MSEventObj) => any; + addEventListener(type: "losecapture", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + ondragenter: (ev: DragEvent) => any; + addEventListener(type: "dragenter", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + oncontrolselect: (ev: MSEventObj) => any; + addEventListener(type: "controlselect", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onsubmit: (ev: Event) => any; + addEventListener(type: "submit", listener: (ev: Event) => any, useCapture?: boolean): void; + behaviorUrns: MSBehaviorUrnsCollection; + scopeName: string; + onchange: (ev: Event) => any; + addEventListener(type: "change", listener: (ev: Event) => any, useCapture?: boolean): void; + id: string; + onlayoutcomplete: (ev: MSEventObj) => any; + addEventListener(type: "layoutcomplete", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + uniqueID: string; + onbeforeactivate: (ev: UIEvent) => any; + addEventListener(type: "beforeactivate", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + oncanplaythrough: (ev: Event) => any; + addEventListener(type: "canplaythrough", listener: (ev: Event) => any, useCapture?: boolean): void; + onbeforeupdate: (ev: MSEventObj) => any; + addEventListener(type: "beforeupdate", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onfilterchange: (ev: MSEventObj) => any; + addEventListener(type: "filterchange", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + offsetParent: Element; + ondatasetcomplete: (ev: MSEventObj) => any; + addEventListener(type: "datasetcomplete", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onsuspend: (ev: Event) => any; + addEventListener(type: "suspend", listener: (ev: Event) => any, useCapture?: boolean): void; + readyState: any; + onmouseenter: (ev: MouseEvent) => any; + addEventListener(type: "mouseenter", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + innerText: string; + onerrorupdate: (ev: MSEventObj) => any; + addEventListener(type: "errorupdate", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onmouseout: (ev: MouseEvent) => any; + addEventListener(type: "mouseout", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + parentElement: HTMLElement; + onmousewheel: (ev: MouseWheelEvent) => any; + addEventListener(type: "mousewheel", listener: (ev: MouseWheelEvent) => any, useCapture?: boolean): void; + onvolumechange: (ev: Event) => any; + addEventListener(type: "volumechange", listener: (ev: Event) => any, useCapture?: boolean): void; + oncellchange: (ev: MSEventObj) => any; + addEventListener(type: "cellchange", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onrowexit: (ev: MSEventObj) => any; + addEventListener(type: "rowexit", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onrowsinserted: (ev: MSEventObj) => any; + addEventListener(type: "rowsinserted", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onpropertychange: (ev: MSEventObj) => any; + addEventListener(type: "propertychange", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + filters: Object; + children: HTMLCollection; + ondragend: (ev: DragEvent) => any; + addEventListener(type: "dragend", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + onbeforepaste: (ev: DragEvent) => any; + addEventListener(type: "beforepaste", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + ondragover: (ev: DragEvent) => any; + addEventListener(type: "dragover", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + offsetTop: number; + onmouseup: (ev: MouseEvent) => any; + addEventListener(type: "mouseup", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + ondragstart: (ev: DragEvent) => any; + addEventListener(type: "dragstart", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + onbeforecopy: (ev: DragEvent) => any; + addEventListener(type: "beforecopy", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + ondrag: (ev: DragEvent) => any; + addEventListener(type: "drag", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + innerHTML: string; + onmouseover: (ev: MouseEvent) => any; + addEventListener(type: "mouseover", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + lang: string; + uniqueNumber: number; + onpause: (ev: Event) => any; + addEventListener(type: "pause", listener: (ev: Event) => any, useCapture?: boolean): void; + tagUrn: string; + onmousedown: (ev: MouseEvent) => any; + addEventListener(type: "mousedown", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + onclick: (ev: MouseEvent) => any; + addEventListener(type: "click", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + onwaiting: (ev: Event) => any; + addEventListener(type: "waiting", listener: (ev: Event) => any, useCapture?: boolean): void; + onresizestart: (ev: MSEventObj) => any; + addEventListener(type: "resizestart", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + offsetLeft: number; + isTextEdit: boolean; + isDisabled: boolean; + onpaste: (ev: DragEvent) => any; + addEventListener(type: "paste", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + canHaveHTML: boolean; + onmoveend: (ev: MSEventObj) => any; + addEventListener(type: "moveend", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + language: string; + onstalled: (ev: Event) => any; + addEventListener(type: "stalled", listener: (ev: Event) => any, useCapture?: boolean): void; + onmousemove: (ev: MouseEvent) => any; + addEventListener(type: "mousemove", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + style: MSStyleCSSProperties; + isContentEditable: boolean; + onbeforeeditfocus: (ev: MSEventObj) => any; + addEventListener(type: "beforeeditfocus", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onratechange: (ev: Event) => any; + addEventListener(type: "ratechange", listener: (ev: Event) => any, useCapture?: boolean): void; + contentEditable: string; + tabIndex: number; + document: Document; + onprogress: (ev: any) => any; + addEventListener(type: "progress", listener: (ev: any) => any, useCapture?: boolean): void; + ondblclick: (ev: MouseEvent) => any; + addEventListener(type: "dblclick", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + oncontextmenu: (ev: MouseEvent) => any; + addEventListener(type: "contextmenu", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; + onloadedmetadata: (ev: Event) => any; + addEventListener(type: "loadedmetadata", listener: (ev: Event) => any, useCapture?: boolean): void; + onafterupdate: (ev: MSEventObj) => any; + addEventListener(type: "afterupdate", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onerror: (ev: Event) => any; + addEventListener(type: "error", listener: (ev: Event) => any, useCapture?: boolean): void; + onplay: (ev: Event) => any; + addEventListener(type: "play", listener: (ev: Event) => any, useCapture?: boolean): void; + onresizeend: (ev: MSEventObj) => any; + addEventListener(type: "resizeend", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onplaying: (ev: Event) => any; + addEventListener(type: "playing", listener: (ev: Event) => any, useCapture?: boolean): void; + isMultiLine: boolean; + onfocusout: (ev: FocusEvent) => any; + addEventListener(type: "focusout", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; + onabort: (ev: UIEvent) => any; + addEventListener(type: "abort", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + ondataavailable: (ev: MSEventObj) => any; + addEventListener(type: "dataavailable", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + hideFocus: boolean; + onreadystatechange: (ev: Event) => any; + addEventListener(type: "readystatechange", listener: (ev: Event) => any, useCapture?: boolean): void; + onkeypress: (ev: KeyboardEvent) => any; + addEventListener(type: "keypress", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void; + onloadeddata: (ev: Event) => any; + addEventListener(type: "loadeddata", listener: (ev: Event) => any, useCapture?: boolean): void; + onbeforedeactivate: (ev: UIEvent) => any; + addEventListener(type: "beforedeactivate", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + outerText: string; + disabled: boolean; + onactivate: (ev: UIEvent) => any; + addEventListener(type: "activate", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + accessKey: string; + onmovestart: (ev: MSEventObj) => any; + addEventListener(type: "movestart", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onselectstart: (ev: Event) => any; + addEventListener(type: "selectstart", listener: (ev: Event) => any, useCapture?: boolean): void; + onfocus: (ev: FocusEvent) => any; + addEventListener(type: "focus", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; + ontimeupdate: (ev: Event) => any; + addEventListener(type: "timeupdate", listener: (ev: Event) => any, useCapture?: boolean): void; + onresize: (ev: UIEvent) => any; + addEventListener(type: "resize", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + oncut: (ev: DragEvent) => any; + addEventListener(type: "cut", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + onselect: (ev: UIEvent) => any; + addEventListener(type: "select", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + ondrop: (ev: DragEvent) => any; + addEventListener(type: "drop", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + offsetWidth: number; + oncopy: (ev: DragEvent) => any; + addEventListener(type: "copy", listener: (ev: DragEvent) => any, useCapture?: boolean): void; + onended: (ev: Event) => any; + addEventListener(type: "ended", listener: (ev: Event) => any, useCapture?: boolean): void; + onscroll: (ev: UIEvent) => any; + addEventListener(type: "scroll", listener: (ev: UIEvent) => any, useCapture?: boolean): void; + onrowenter: (ev: MSEventObj) => any; + addEventListener(type: "rowenter", listener: (ev: MSEventObj) => any, useCapture?: boolean): void; + onload: (ev: Event) => any; + addEventListener(type: "load", listener: (ev: Event) => any, useCapture?: boolean): void; + canHaveChildren: boolean; + oninput: (ev: Event) => any; + addEventListener(type: "input", listener: (ev: Event) => any, useCapture?: boolean): void; + dragDrop(): boolean; + scrollIntoView(top?: boolean): void; + addFilter(filter: Object): void; + setCapture(containerCapture?: boolean): void; + focus(): void; + getAdjacentText(where: string): string; + insertAdjacentText(where: string, text: string): void; + getElementsByClassName(classNames: string): NodeList; + setActive(): void; + removeFilter(filter: Object): void; + blur(): void; + clearAttributes(): void; + releaseCapture(): void; + createControlRange(): ControlRangeCollection; + removeBehavior(cookie: number): boolean; + contains(child: HTMLElement): boolean; + click(): void; + insertAdjacentElement(position: string, insertedElement: Element): Element; + mergeAttributes(source: HTMLElement, preserveIdentity?: boolean): void; + replaceAdjacentText(where: string, newText: string): string; + applyElement(apply: Element, where?: string): Element; + addBehavior(bstrUrl: string, factory?: any): number; + insertAdjacentHTML(where: string, html: string): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var HTMLElement: { + prototype: HTMLElement; + new (): HTMLElement; +} + +interface Comment extends CharacterData { + text: string; +} +declare var Comment: { + prototype: Comment; + new (): Comment; +} + +interface PerformanceResourceTiming extends PerformanceEntry { + redirectStart: number; + redirectEnd: number; + domainLookupEnd: number; + responseStart: number; + domainLookupStart: number; + fetchStart: number; + requestStart: number; + connectEnd: number; + connectStart: number; + initiatorType: string; + responseEnd: number; +} +declare var PerformanceResourceTiming: { + prototype: PerformanceResourceTiming; + new (): PerformanceResourceTiming; +} + +interface CanvasPattern { +} +declare var CanvasPattern: { + prototype: CanvasPattern; + new (): CanvasPattern; +} + +interface HTMLHRElement extends HTMLElement, DOML2DeprecatedColorProperty, DOML2DeprecatedSizeProperty { + width: number; + align: string; + noShade: boolean; +} +declare var HTMLHRElement: { + prototype: HTMLHRElement; + new (): HTMLHRElement; +} + +interface HTMLObjectElement extends HTMLElement, GetSVGDocument, DOML2DeprecatedMarginStyle, DOML2DeprecatedBorderStyle, DOML2DeprecatedAlignmentStyle, MSDataBindingExtensions, MSDataBindingRecordSetExtensions { + width: string; + codeType: string; + object: Object; + form: HTMLFormElement; + code: string; + archive: string; + standby: string; + alt: string; + classid: string; + name: string; + useMap: string; + data: string; + height: string; + contentDocument: Document; + altHtml: string; + codeBase: string; + declare: boolean; + type: string; + BaseHref: string; +} +declare var HTMLObjectElement: { + prototype: HTMLObjectElement; + new (): HTMLObjectElement; +} + +interface HTMLEmbedElement extends HTMLElement, GetSVGDocument { + width: string; + palette: string; + src: string; + name: string; + pluginspage: string; + height: string; + units: string; +} +declare var HTMLEmbedElement: { + prototype: HTMLEmbedElement; + new (): HTMLEmbedElement; +} + +interface StorageEvent extends Event { + oldValue: any; + newValue: any; + url: string; + storageArea: Storage; + key: string; + initStorageEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, keyArg: string, oldValueArg: any, newValueArg: any, urlArg: string, storageAreaArg: Storage): void; +} +declare var StorageEvent: { + prototype: StorageEvent; + new (): StorageEvent; +} + +interface CharacterData extends Node { + length: number; + data: string; + deleteData(offset: number, count: number): void; + replaceData(offset: number, count: number, arg: string): void; + appendData(arg: string): void; + insertData(offset: number, arg: string): void; + substringData(offset: number, count: number): string; +} +declare var CharacterData: { + prototype: CharacterData; + new (): CharacterData; +} + +interface HTMLOptGroupElement extends HTMLElement, MSDataBindingExtensions { + index: number; + defaultSelected: boolean; + text: string; + value: string; + form: HTMLFormElement; + label: string; + selected: boolean; +} +declare var HTMLOptGroupElement: { + prototype: HTMLOptGroupElement; + new (): HTMLOptGroupElement; +} + +interface HTMLIsIndexElement extends HTMLElement { + form: HTMLFormElement; + action: string; + prompt: string; +} +declare var HTMLIsIndexElement: { + prototype: HTMLIsIndexElement; + new (): HTMLIsIndexElement; +} + +interface SVGPathSegLinetoRel extends SVGPathSeg { + y: number; + x: number; +} +declare var SVGPathSegLinetoRel: { + prototype: SVGPathSegLinetoRel; + new (): SVGPathSegLinetoRel; +} + +interface DOMException { + code: number; + message: string; + toString(): string; + HIERARCHY_REQUEST_ERR: number; + NO_MODIFICATION_ALLOWED_ERR: number; + INVALID_MODIFICATION_ERR: number; + NAMESPACE_ERR: number; + INVALID_CHARACTER_ERR: number; + TYPE_MISMATCH_ERR: number; + ABORT_ERR: number; + INVALID_STATE_ERR: number; + SECURITY_ERR: number; + NETWORK_ERR: number; + WRONG_DOCUMENT_ERR: number; + QUOTA_EXCEEDED_ERR: number; + INDEX_SIZE_ERR: number; + DOMSTRING_SIZE_ERR: number; + SYNTAX_ERR: number; + SERIALIZE_ERR: number; + VALIDATION_ERR: number; + NOT_FOUND_ERR: number; + URL_MISMATCH_ERR: number; + PARSE_ERR: number; + NO_DATA_ALLOWED_ERR: number; + NOT_SUPPORTED_ERR: number; + INVALID_ACCESS_ERR: number; + INUSE_ATTRIBUTE_ERR: number; +} +declare var DOMException: { + prototype: DOMException; + new (): DOMException; + HIERARCHY_REQUEST_ERR: number; + NO_MODIFICATION_ALLOWED_ERR: number; + INVALID_MODIFICATION_ERR: number; + NAMESPACE_ERR: number; + INVALID_CHARACTER_ERR: number; + TYPE_MISMATCH_ERR: number; + ABORT_ERR: number; + INVALID_STATE_ERR: number; + SECURITY_ERR: number; + NETWORK_ERR: number; + WRONG_DOCUMENT_ERR: number; + QUOTA_EXCEEDED_ERR: number; + INDEX_SIZE_ERR: number; + DOMSTRING_SIZE_ERR: number; + SYNTAX_ERR: number; + SERIALIZE_ERR: number; + VALIDATION_ERR: number; + NOT_FOUND_ERR: number; + URL_MISMATCH_ERR: number; + PARSE_ERR: number; + NO_DATA_ALLOWED_ERR: number; + NOT_SUPPORTED_ERR: number; + INVALID_ACCESS_ERR: number; + INUSE_ATTRIBUTE_ERR: number; +} + +interface SVGAnimatedBoolean { + animVal: boolean; + baseVal: boolean; +} +declare var SVGAnimatedBoolean: { + prototype: SVGAnimatedBoolean; + new (): SVGAnimatedBoolean; +} + +interface MSCompatibleInfoCollection { + length: number; + item(index: number): MSCompatibleInfo; +} +declare var MSCompatibleInfoCollection: { + prototype: MSCompatibleInfoCollection; + new (): MSCompatibleInfoCollection; +} + +interface SVGSwitchElement extends SVGElement, SVGStylable, SVGTransformable, SVGLangSpace, SVGTests, SVGExternalResourcesRequired { +} +declare var SVGSwitchElement: { + prototype: SVGSwitchElement; + new (): SVGSwitchElement; +} + +interface SVGPreserveAspectRatio { + align: number; + meetOrSlice: number; + SVG_PRESERVEASPECTRATIO_NONE: number; + SVG_PRESERVEASPECTRATIO_XMINYMID: number; + SVG_PRESERVEASPECTRATIO_XMAXYMIN: number; + SVG_PRESERVEASPECTRATIO_XMINYMAX: number; + SVG_PRESERVEASPECTRATIO_XMAXYMAX: number; + SVG_MEETORSLICE_UNKNOWN: number; + SVG_PRESERVEASPECTRATIO_XMAXYMID: number; + SVG_PRESERVEASPECTRATIO_XMIDYMAX: number; + SVG_PRESERVEASPECTRATIO_XMINYMIN: number; + SVG_MEETORSLICE_MEET: number; + SVG_PRESERVEASPECTRATIO_XMIDYMID: number; + SVG_PRESERVEASPECTRATIO_XMIDYMIN: number; + SVG_MEETORSLICE_SLICE: number; + SVG_PRESERVEASPECTRATIO_UNKNOWN: number; +} +declare var SVGPreserveAspectRatio: { + prototype: SVGPreserveAspectRatio; + new (): SVGPreserveAspectRatio; + SVG_PRESERVEASPECTRATIO_NONE: number; + SVG_PRESERVEASPECTRATIO_XMINYMID: number; + SVG_PRESERVEASPECTRATIO_XMAXYMIN: number; + SVG_PRESERVEASPECTRATIO_XMINYMAX: number; + SVG_PRESERVEASPECTRATIO_XMAXYMAX: number; + SVG_MEETORSLICE_UNKNOWN: number; + SVG_PRESERVEASPECTRATIO_XMAXYMID: number; + SVG_PRESERVEASPECTRATIO_XMIDYMAX: number; + SVG_PRESERVEASPECTRATIO_XMINYMIN: number; + SVG_MEETORSLICE_MEET: number; + SVG_PRESERVEASPECTRATIO_XMIDYMID: number; + SVG_PRESERVEASPECTRATIO_XMIDYMIN: number; + SVG_MEETORSLICE_SLICE: number; + SVG_PRESERVEASPECTRATIO_UNKNOWN: number; +} + +interface Attr extends Node { + expando: boolean; + specified: boolean; + ownerElement: Element; + value: string; + name: string; +} +declare var Attr: { + prototype: Attr; + new (): Attr; +} + +interface PerformanceNavigation { + redirectCount: number; + type: number; + toJSON(): any; + TYPE_RELOAD: number; + TYPE_RESERVED: number; + TYPE_BACK_FORWARD: number; + TYPE_NAVIGATE: number; +} +declare var PerformanceNavigation: { + prototype: PerformanceNavigation; + new (): PerformanceNavigation; + TYPE_RELOAD: number; + TYPE_RESERVED: number; + TYPE_BACK_FORWARD: number; + TYPE_NAVIGATE: number; +} + +interface SVGStopElement extends SVGElement, SVGStylable { + offset: SVGAnimatedNumber; +} +declare var SVGStopElement: { + prototype: SVGStopElement; + new (): SVGStopElement; +} + +interface PositionCallback { + (position: Position): void; +} + +interface SVGSymbolElement extends SVGElement, SVGStylable, SVGLangSpace, SVGFitToViewBox, SVGExternalResourcesRequired { +} +declare var SVGSymbolElement: { + prototype: SVGSymbolElement; + new (): SVGSymbolElement; +} + +interface SVGElementInstanceList { + length: number; + item(index: number): SVGElementInstance; +} +declare var SVGElementInstanceList: { + prototype: SVGElementInstanceList; + new (): SVGElementInstanceList; +} + +interface CSSRuleList { + length: number; + item(index: number): CSSRule; + [index: number]: CSSRule; +} +declare var CSSRuleList: { + prototype: CSSRuleList; + new (): CSSRuleList; +} + +interface MSDataBindingRecordSetExtensions { + recordset: Object; + namedRecordset(dataMember: string, hierarchy?: any): Object; +} + +interface LinkStyle { + styleSheet: StyleSheet; + sheet: StyleSheet; +} + +interface HTMLVideoElement extends HTMLMediaElement { + width: number; + videoWidth: number; + videoHeight: number; + height: number; + poster: string; +} +declare var HTMLVideoElement: { + prototype: HTMLVideoElement; + new (): HTMLVideoElement; +} + +interface ClientRectList { + length: number; + item(index: number): ClientRect; + [index: number]: ClientRect; +} +declare var ClientRectList: { + prototype: ClientRectList; + new (): ClientRectList; +} + +interface SVGMaskElement extends SVGElement, SVGUnitTypes, SVGStylable, SVGLangSpace, SVGTests, SVGExternalResourcesRequired { + y: SVGAnimatedLength; + width: SVGAnimatedLength; + maskUnits: SVGAnimatedEnumeration; + maskContentUnits: SVGAnimatedEnumeration; + x: SVGAnimatedLength; + height: SVGAnimatedLength; +} +declare var SVGMaskElement: { + prototype: SVGMaskElement; + new (): SVGMaskElement; +} + +interface External { +} +declare var External: { + prototype: External; + new (): External; +} + +declare var Audio: { new (src?: string): HTMLAudioElement; }; +declare var Option: { new (text?: string, value?: string, defaultSelected?: boolean, selected?: boolean): HTMLOptionElement; }; +declare var Image: { new (width?: number, height?: number): HTMLImageElement; }; + +declare var ondragend: (ev: DragEvent) => any; +declare function addEventListener(type: "dragend", listener: (ev: DragEvent) => any, useCapture?: boolean): void; +declare var onkeydown: (ev: KeyboardEvent) => any; +declare function addEventListener(type: "keydown", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void; +declare var ondragover: (ev: DragEvent) => any; +declare function addEventListener(type: "dragover", listener: (ev: DragEvent) => any, useCapture?: boolean): void; +declare var onkeyup: (ev: KeyboardEvent) => any; +declare function addEventListener(type: "keyup", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void; +declare var onreset: (ev: Event) => any; +declare function addEventListener(type: "reset", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var onmouseup: (ev: MouseEvent) => any; +declare function addEventListener(type: "mouseup", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; +declare var ondragstart: (ev: DragEvent) => any; +declare function addEventListener(type: "dragstart", listener: (ev: DragEvent) => any, useCapture?: boolean): void; +declare var ondrag: (ev: DragEvent) => any; +declare function addEventListener(type: "drag", listener: (ev: DragEvent) => any, useCapture?: boolean): void; +declare var screenX: number; +declare var onmouseover: (ev: MouseEvent) => any; +declare function addEventListener(type: "mouseover", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; +declare var ondragleave: (ev: DragEvent) => any; +declare function addEventListener(type: "dragleave", listener: (ev: DragEvent) => any, useCapture?: boolean): void; +declare var history: History; +declare var pageXOffset: number; +declare var name: string; +declare var onafterprint: (ev: Event) => any; +declare function addEventListener(type: "afterprint", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var onpause: (ev: Event) => any; +declare function addEventListener(type: "pause", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var onbeforeprint: (ev: Event) => any; +declare function addEventListener(type: "beforeprint", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var top: Window; +declare var onmousedown: (ev: MouseEvent) => any; +declare function addEventListener(type: "mousedown", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; +declare var onseeked: (ev: Event) => any; +declare function addEventListener(type: "seeked", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var opener: Window; +declare var onclick: (ev: MouseEvent) => any; +declare function addEventListener(type: "click", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; +declare var innerHeight: number; +declare var onwaiting: (ev: Event) => any; +declare function addEventListener(type: "waiting", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var ononline: (ev: Event) => any; +declare function addEventListener(type: "online", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var ondurationchange: (ev: Event) => any; +declare function addEventListener(type: "durationchange", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var frames: Window; +declare var onblur: (ev: FocusEvent) => any; +declare function addEventListener(type: "blur", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; +declare var onemptied: (ev: Event) => any; +declare function addEventListener(type: "emptied", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var onseeking: (ev: Event) => any; +declare function addEventListener(type: "seeking", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var oncanplay: (ev: Event) => any; +declare function addEventListener(type: "canplay", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var outerWidth: number; +declare var onstalled: (ev: Event) => any; +declare function addEventListener(type: "stalled", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var onmousemove: (ev: MouseEvent) => any; +declare function addEventListener(type: "mousemove", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; +declare var innerWidth: number; +declare var onoffline: (ev: Event) => any; +declare function addEventListener(type: "offline", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var length: number; +declare var screen: Screen; +declare var onbeforeunload: (ev: BeforeUnloadEvent) => any; +declare function addEventListener(type: "beforeunload", listener: (ev: BeforeUnloadEvent) => any, useCapture?: boolean): void; +declare var onratechange: (ev: Event) => any; +declare function addEventListener(type: "ratechange", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var onstorage: (ev: StorageEvent) => any; +declare function addEventListener(type: "storage", listener: (ev: StorageEvent) => any, useCapture?: boolean): void; +declare var onloadstart: (ev: Event) => any; +declare function addEventListener(type: "loadstart", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var ondragenter: (ev: DragEvent) => any; +declare function addEventListener(type: "dragenter", listener: (ev: DragEvent) => any, useCapture?: boolean): void; +declare var onsubmit: (ev: Event) => any; +declare function addEventListener(type: "submit", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var self: Window; +declare var document: Document; +declare var onprogress: (ev: any) => any; +declare function addEventListener(type: "progress", listener: (ev: any) => any, useCapture?: boolean): void; +declare var ondblclick: (ev: MouseEvent) => any; +declare function addEventListener(type: "dblclick", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; +declare var pageYOffset: number; +declare var oncontextmenu: (ev: MouseEvent) => any; +declare function addEventListener(type: "contextmenu", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; +declare var onchange: (ev: Event) => any; +declare function addEventListener(type: "change", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var onloadedmetadata: (ev: Event) => any; +declare function addEventListener(type: "loadedmetadata", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var onplay: (ev: Event) => any; +declare function addEventListener(type: "play", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var onerror: ErrorEventHandler; +declare var onplaying: (ev: Event) => any; +declare function addEventListener(type: "playing", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var parent: Window; +declare var location: Location; +declare var oncanplaythrough: (ev: Event) => any; +declare function addEventListener(type: "canplaythrough", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var onabort: (ev: UIEvent) => any; +declare function addEventListener(type: "abort", listener: (ev: UIEvent) => any, useCapture?: boolean): void; +declare var onreadystatechange: (ev: Event) => any; +declare function addEventListener(type: "readystatechange", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var outerHeight: number; +declare var onkeypress: (ev: KeyboardEvent) => any; +declare function addEventListener(type: "keypress", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void; +declare var frameElement: Element; +declare var onloadeddata: (ev: Event) => any; +declare function addEventListener(type: "loadeddata", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var onsuspend: (ev: Event) => any; +declare function addEventListener(type: "suspend", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var window: Window; +declare var onfocus: (ev: FocusEvent) => any; +declare function addEventListener(type: "focus", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; +declare var onmessage: (ev: MessageEvent) => any; +declare function addEventListener(type: "message", listener: (ev: MessageEvent) => any, useCapture?: boolean): void; +declare var ontimeupdate: (ev: Event) => any; +declare function addEventListener(type: "timeupdate", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var onresize: (ev: UIEvent) => any; +declare function addEventListener(type: "resize", listener: (ev: UIEvent) => any, useCapture?: boolean): void; +declare var onselect: (ev: UIEvent) => any; +declare function addEventListener(type: "select", listener: (ev: UIEvent) => any, useCapture?: boolean): void; +declare var navigator: Navigator; +declare var styleMedia: StyleMedia; +declare var ondrop: (ev: DragEvent) => any; +declare function addEventListener(type: "drop", listener: (ev: DragEvent) => any, useCapture?: boolean): void; +declare var onmouseout: (ev: MouseEvent) => any; +declare function addEventListener(type: "mouseout", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; +declare var onended: (ev: Event) => any; +declare function addEventListener(type: "ended", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var onhashchange: (ev: Event) => any; +declare function addEventListener(type: "hashchange", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var onunload: (ev: Event) => any; +declare function addEventListener(type: "unload", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var onscroll: (ev: UIEvent) => any; +declare function addEventListener(type: "scroll", listener: (ev: UIEvent) => any, useCapture?: boolean): void; +declare var screenY: number; +declare var onmousewheel: (ev: MouseWheelEvent) => any; +declare function addEventListener(type: "mousewheel", listener: (ev: MouseWheelEvent) => any, useCapture?: boolean): void; +declare var onload: (ev: Event) => any; +declare function addEventListener(type: "load", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var onvolumechange: (ev: Event) => any; +declare function addEventListener(type: "volumechange", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var oninput: (ev: Event) => any; +declare function addEventListener(type: "input", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var performance: Performance; +declare function alert(message?: string): void; +declare function scroll(x?: number, y?: number): void; +declare function focus(): void; +declare function scrollTo(x?: number, y?: number): void; +declare function print(): void; +declare function prompt(message?: string, defaul?: string): string; +declare function toString(): string; +declare function open(url?: string, target?: string, features?: string, replace?: boolean): Window; +declare function scrollBy(x?: number, y?: number): void; +declare function confirm(message?: string): boolean; +declare function close(): void; +declare function postMessage(message: any, targetOrigin: string, ports?: any): void; +declare function showModalDialog(url?: string, argument?: any, options?: any): any; +declare function blur(): void; +declare function getSelection(): Selection; +declare function getComputedStyle(elt: Element, pseudoElt?: string): CSSStyleDeclaration; +declare function addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +declare function removeEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +declare function dispatchEvent(evt: Event): boolean; +declare function attachEvent(event: string, listener: EventListener): boolean; +declare function detachEvent(event: string, listener: EventListener): void; +declare var localStorage: Storage; +declare var status: string; +declare var onmouseleave: (ev: MouseEvent) => any; +declare function addEventListener(type: "mouseleave", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; +declare var screenLeft: number; +declare var offscreenBuffering: any; +declare var maxConnectionsPerServer: number; +declare var onmouseenter: (ev: MouseEvent) => any; +declare function addEventListener(type: "mouseenter", listener: (ev: MouseEvent) => any, useCapture?: boolean): void; +declare var clipboardData: DataTransfer; +declare var defaultStatus: string; +declare var clientInformation: Navigator; +declare var closed: boolean; +declare var onhelp: (ev: Event) => any; +declare function addEventListener(type: "help", listener: (ev: Event) => any, useCapture?: boolean): void; +declare var external: External; +declare var event: MSEventObj; +declare var onfocusout: (ev: FocusEvent) => any; +declare function addEventListener(type: "focusout", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; +declare var screenTop: number; +declare var onfocusin: (ev: FocusEvent) => any; +declare function addEventListener(type: "focusin", listener: (ev: FocusEvent) => any, useCapture?: boolean): void; +declare function showModelessDialog(url?: string, argument?: any, options?: any): Window; +declare function navigate(url: string): void; +declare function resizeBy(x?: number, y?: number): void; +declare function item(index: any): any; +declare function resizeTo(x?: number, y?: number): void; +declare function createPopup(arguments?: any): MSPopupWindow; +declare function toStaticHTML(html: string): string; +declare function execScript(code: string, language?: string): any; +declare function msWriteProfilerMark(profilerMarkName: string): void; +declare function moveTo(x?: number, y?: number): void; +declare function moveBy(x?: number, y?: number): void; +declare function showHelp(url: string, helpArg?: any, features?: string): void; +declare var sessionStorage: Storage; +declare function clearTimeout(handle: number): void; +declare function setTimeout(handler: any, timeout?: any, ...args: any[]): number; +declare function clearInterval(handle: number): void; +declare function setInterval(handler: any, timeout?: any, ...args: any[]): number; + + +///////////////////////////// +/// IE10 DOM APIs +///////////////////////////// + + + +interface ObjectURLOptions { + oneTimeOnly?: boolean; +} + +interface HTMLBodyElement { + onpopstate: (ev: PopStateEvent) => any; + addEventListener(type: "popstate", listener: (ev: PopStateEvent) => any, useCapture?: boolean): void; +} + +interface MSGestureEvent extends UIEvent { + offsetY: number; + translationY: number; + velocityExpansion: number; + velocityY: number; + velocityAngular: number; + translationX: number; + velocityX: number; + hwTimestamp: number; + offsetX: number; + screenX: number; + rotation: number; + expansion: number; + clientY: number; + screenY: number; + scale: number; + gestureObject: any; + clientX: number; + initGestureEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, offsetXArg: number, offsetYArg: number, translationXArg: number, translationYArg: number, scaleArg: number, expansionArg: number, rotationArg: number, velocityXArg: number, velocityYArg: number, velocityExpansionArg: number, velocityAngularArg: number, hwTimestampArg: number): void; + MSGESTURE_FLAG_BEGIN: number; + MSGESTURE_FLAG_END: number; + MSGESTURE_FLAG_CANCEL: number; + MSGESTURE_FLAG_INERTIA: number; + MSGESTURE_FLAG_NONE: number; +} +declare var MSGestureEvent: { + prototype: MSGestureEvent; + new (): MSGestureEvent; + MSGESTURE_FLAG_BEGIN: number; + MSGESTURE_FLAG_END: number; + MSGESTURE_FLAG_CANCEL: number; + MSGESTURE_FLAG_INERTIA: number; + MSGESTURE_FLAG_NONE: number; +} + +interface HTMLAnchorElement { + text: string; +} + +interface HTMLInputElement { + validationMessage: string; + files: FileList; + max: string; + formTarget: string; + willValidate: boolean; + step: string; + autofocus: boolean; + required: boolean; + formEnctype: string; + valueAsNumber: number; + placeholder: string; + formMethod: string; + list: HTMLElement; + autocomplete: string; + min: string; + formAction: string; + pattern: string; + validity: ValidityState; + formNoValidate: string; + multiple: boolean; + checkValidity(): boolean; + stepDown(n?: number): void; + stepUp(n?: number): void; + setCustomValidity(error: string): void; +} + +interface ErrorEvent extends Event { + colno: number; + filename: string; + lineno: number; + message: string; + initErrorEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, messageArg: string, filenameArg: string, linenoArg: number): void; +} +declare var ErrorEvent: { + prototype: ErrorEvent; + new (): ErrorEvent; +} + +interface SVGFilterElement extends SVGElement, SVGUnitTypes, SVGStylable, SVGLangSpace, SVGURIReference, SVGExternalResourcesRequired { + y: SVGAnimatedLength; + width: SVGAnimatedLength; + filterResX: SVGAnimatedInteger; + filterUnits: SVGAnimatedEnumeration; + primitiveUnits: SVGAnimatedEnumeration; + x: SVGAnimatedLength; + height: SVGAnimatedLength; + filterResY: SVGAnimatedInteger; + setFilterRes(filterResX: number, filterResY: number): void; +} +declare var SVGFilterElement: { + prototype: SVGFilterElement; + new (): SVGFilterElement; +} + +interface TrackEvent extends Event { + track: any; +} +declare var TrackEvent: { + prototype: TrackEvent; + new (): TrackEvent; +} + +interface SVGFEMergeNodeElement extends SVGElement { + in1: SVGAnimatedString; +} +declare var SVGFEMergeNodeElement: { + prototype: SVGFEMergeNodeElement; + new (): SVGFEMergeNodeElement; +} + +interface SVGFEFloodElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { +} +declare var SVGFEFloodElement: { + prototype: SVGFEFloodElement; + new (): SVGFEFloodElement; +} + +interface MSGesture { + target: Element; + addPointer(pointerId: number): void; + stop(): void; +} +declare var MSGesture: { + prototype: MSGesture; + new (): MSGesture; +} + +interface TextTrackCue extends EventTarget { + onenter: (ev: Event) => any; + addEventListener(type: "enter", listener: (ev: Event) => any, useCapture?: boolean): void; + track: TextTrack; + endTime: number; + text: string; + pauseOnExit: boolean; + id: string; + startTime: number; + onexit: (ev: Event) => any; + addEventListener(type: "exit", listener: (ev: Event) => any, useCapture?: boolean): void; + getCueAsHTML(): DocumentFragment; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var TextTrackCue: { + prototype: TextTrackCue; + new (): TextTrackCue; +} + +interface MSStreamReader extends MSBaseReader { + error: DOMError; + readAsArrayBuffer(stream: MSStream, size?: number): void; + readAsBlob(stream: MSStream, size?: number): void; + readAsDataURL(stream: MSStream, size?: number): void; + readAsText(stream: MSStream, encoding?: string, size?: number): void; +} +declare var MSStreamReader: { + prototype: MSStreamReader; + new (): MSStreamReader; +} + +interface DOMTokenList { + length: number; + contains(token: string): boolean; + remove(token: string): void; + toggle(token: string): boolean; + add(token: string): void; + item(index: number): string; + [index: number]: string; + toString(): string; +} +declare var DOMTokenList: { + prototype: DOMTokenList; + new (): DOMTokenList; +} + +interface EventException { + name: string; +} + +interface Performance { + now(): number; +} + +interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement { +} +declare var SVGFEFuncAElement: { + prototype: SVGFEFuncAElement; + new (): SVGFEFuncAElement; +} + +interface SVGFETileElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + in1: SVGAnimatedString; +} +declare var SVGFETileElement: { + prototype: SVGFETileElement; + new (): SVGFETileElement; +} + +interface SVGFEBlendElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + in2: SVGAnimatedString; + mode: SVGAnimatedEnumeration; + in1: SVGAnimatedString; + SVG_FEBLEND_MODE_DARKEN: number; + SVG_FEBLEND_MODE_UNKNOWN: number; + SVG_FEBLEND_MODE_MULTIPLY: number; + SVG_FEBLEND_MODE_NORMAL: number; + SVG_FEBLEND_MODE_SCREEN: number; + SVG_FEBLEND_MODE_LIGHTEN: number; +} +declare var SVGFEBlendElement: { + prototype: SVGFEBlendElement; + new (): SVGFEBlendElement; + SVG_FEBLEND_MODE_DARKEN: number; + SVG_FEBLEND_MODE_UNKNOWN: number; + SVG_FEBLEND_MODE_MULTIPLY: number; + SVG_FEBLEND_MODE_NORMAL: number; + SVG_FEBLEND_MODE_SCREEN: number; + SVG_FEBLEND_MODE_LIGHTEN: number; +} + +interface WindowTimers extends WindowTimersExtension { +} +declare var WindowTimers: { + prototype: WindowTimers; + new (): WindowTimers; +} + +interface CSSStyleDeclaration { + animationFillMode: string; + floodColor: string; + animationIterationCount: string; + textShadow: string; + backfaceVisibility: string; + msAnimationIterationCount: string; + animationDelay: string; + animationTimingFunction: string; + columnWidth: any; + msScrollSnapX: string; + columnRuleColor: any; + columnRuleWidth: any; + transitionDelay: string; + transition: string; + msFlowFrom: string; + msScrollSnapType: string; + msContentZoomSnapType: string; + msGridColumns: string; + msAnimationName: string; + msGridRowAlign: string; + msContentZoomChaining: string; + msGridColumn: any; + msHyphenateLimitZone: any; + msScrollRails: string; + msAnimationDelay: string; + enableBackground: string; + msWrapThrough: string; + columnRuleStyle: string; + msAnimation: string; + msFlexFlow: string; + msScrollSnapY: string; + msHyphenateLimitLines: any; + msTouchAction: string; + msScrollLimit: string; + animation: string; + transform: string; + filter: string; + colorInterpolationFilters: string; + transitionTimingFunction: string; + msBackfaceVisibility: string; + animationPlayState: string; + transformOrigin: string; + msScrollLimitYMin: any; + msFontFeatureSettings: string; + msContentZoomLimitMin: any; + columnGap: any; + transitionProperty: string; + msAnimationDuration: string; + msAnimationFillMode: string; + msFlexDirection: string; + msTransitionDuration: string; + fontFeatureSettings: string; + breakBefore: string; + msFlexWrap: string; + perspective: string; + msFlowInto: string; + msTransformStyle: string; + msScrollTranslation: string; + msTransitionProperty: string; + msUserSelect: string; + msOverflowStyle: string; + msScrollSnapPointsY: string; + animationDirection: string; + animationDuration: string; + msFlex: string; + msTransitionTimingFunction: string; + animationName: string; + columnRule: string; + msGridColumnSpan: any; + msFlexNegative: string; + columnFill: string; + msGridRow: any; + msFlexOrder: string; + msFlexItemAlign: string; + msFlexPositive: string; + msContentZoomLimitMax: any; + msScrollLimitYMax: any; + msGridColumnAlign: string; + perspectiveOrigin: string; + lightingColor: string; + columns: string; + msScrollChaining: string; + msHyphenateLimitChars: string; + msTouchSelect: string; + floodOpacity: string; + msAnimationDirection: string; + msAnimationPlayState: string; + columnSpan: string; + msContentZooming: string; + msPerspective: string; + msFlexPack: string; + msScrollSnapPointsX: string; + msContentZoomSnapPoints: string; + msGridRowSpan: any; + msContentZoomSnap: string; + msScrollLimitXMin: any; + breakInside: string; + msHighContrastAdjust: string; + msFlexLinePack: string; + msGridRows: string; + transitionDuration: string; + msHyphens: string; + breakAfter: string; + msTransition: string; + msPerspectiveOrigin: string; + msContentZoomLimit: string; + msScrollLimitXMax: any; + msFlexAlign: string; + msWrapMargin: any; + columnCount: any; + msAnimationTimingFunction: string; + msTransitionDelay: string; + transformStyle: string; + msWrapFlow: string; + msFlexPreferredSize: string; +} + +interface MessageChannel { + port2: MessagePort; + port1: MessagePort; +} +declare var MessageChannel: { + prototype: MessageChannel; + new (): MessageChannel; +} + +interface SVGFEMergeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { +} +declare var SVGFEMergeElement: { + prototype: SVGFEMergeElement; + new (): SVGFEMergeElement; +} + +interface Navigator extends MSFileSaver { + msMaxTouchPoints: number; + msPointerEnabled: boolean; + msManipulationViewsEnabled: boolean; + msLaunchUri(uri: string, successCallback?: MSLaunchUriCallback, noHandlerCallback?: MSLaunchUriCallback): void; +} + +interface TransitionEvent extends Event { + propertyName: string; + elapsedTime: number; + initTransitionEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, propertyNameArg: string, elapsedTimeArg: number): void; +} +declare var TransitionEvent: { + prototype: TransitionEvent; + new (): TransitionEvent; +} + +interface MediaQueryList { + matches: boolean; + media: string; + addListener(listener: MediaQueryListListener): void; + removeListener(listener: MediaQueryListListener): void; +} +declare var MediaQueryList: { + prototype: MediaQueryList; + new (): MediaQueryList; +} + +interface DOMError { + name: string; + toString(): string; +} +declare var DOMError: { + prototype: DOMError; + new (): DOMError; +} + +interface CloseEvent extends Event { + wasClean: boolean; + reason: string; + code: number; + initCloseEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, wasCleanArg: boolean, codeArg: number, reasonArg: string): void; +} +declare var CloseEvent: { + prototype: CloseEvent; + new (): CloseEvent; +} + +interface WebSocket extends EventTarget { + protocol: string; + readyState: number; + bufferedAmount: number; + onopen: (ev: Event) => any; + addEventListener(type: "open", listener: (ev: Event) => any, useCapture?: boolean): void; + extensions: string; + onmessage: (ev: any) => any; + addEventListener(type: "message", listener: (ev: any) => any, useCapture?: boolean): void; + onclose: (ev: CloseEvent) => any; + addEventListener(type: "close", listener: (ev: CloseEvent) => any, useCapture?: boolean): void; + onerror: (ev: ErrorEvent) => any; + addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void; + binaryType: string; + url: string; + close(code?: number, reason?: string): void; + send(data: any): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; + OPEN: number; + CLOSING: number; + CONNECTING: number; + CLOSED: number; +} +declare var WebSocket: { + prototype: WebSocket; + new (url: string): WebSocket; + new (url: string, prototcol: string): WebSocket; + new (url: string, prototcol: string[]): WebSocket; + OPEN: number; + CLOSING: number; + CONNECTING: number; + CLOSED: number; +} + +interface SVGFEPointLightElement extends SVGElement { + y: SVGAnimatedNumber; + x: SVGAnimatedNumber; + z: SVGAnimatedNumber; +} +declare var SVGFEPointLightElement: { + prototype: SVGFEPointLightElement; + new (): SVGFEPointLightElement; +} + +interface ProgressEvent extends Event { + loaded: number; + lengthComputable: boolean; + total: number; + initProgressEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, lengthComputableArg: boolean, loadedArg: number, totalArg: number): void; +} +declare var ProgressEvent: { + prototype: ProgressEvent; + new (): ProgressEvent; +} + +interface IDBObjectStore { + indexNames: DOMStringList; + name: string; + transaction: IDBTransaction; + keyPath: string; + count(key?: any): IDBRequest; + add(value: any, key?: any): IDBRequest; + clear(): IDBRequest; + createIndex(name: string, keyPath: string, optionalParameters?: any): IDBIndex; + put(value: any, key?: any): IDBRequest; + openCursor(range?: any, direction?: string): IDBRequest; + deleteIndex(indexName: string): void; + index(name: string): IDBIndex; + get(key: any): IDBRequest; + delete(key: any): IDBRequest; +} +declare var IDBObjectStore: { + prototype: IDBObjectStore; + new (): IDBObjectStore; +} + +interface HTMLCanvasElement { + msToBlob(): Blob; +} + +interface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + stdDeviationX: SVGAnimatedNumber; + in1: SVGAnimatedString; + stdDeviationY: SVGAnimatedNumber; + setStdDeviation(stdDeviationX: number, stdDeviationY: number): void; +} +declare var SVGFEGaussianBlurElement: { + prototype: SVGFEGaussianBlurElement; + new (): SVGFEGaussianBlurElement; +} + +interface SVGFilterPrimitiveStandardAttributes extends SVGStylable { + y: SVGAnimatedLength; + width: SVGAnimatedLength; + x: SVGAnimatedLength; + height: SVGAnimatedLength; + result: SVGAnimatedString; +} + +interface Element { + msRegionOverflow: string; + onmspointerdown: (ev: any) => any; + addEventListener(type: "mspointerdown", listener: (ev: any) => any, useCapture?: boolean): void; + onmsgotpointercapture: (ev: any) => any; + addEventListener(type: "msgotpointercapture", listener: (ev: any) => any, useCapture?: boolean): void; + onmsgesturedoubletap: (ev: any) => any; + addEventListener(type: "msgesturedoubletap", listener: (ev: any) => any, useCapture?: boolean): void; + onmspointerhover: (ev: any) => any; + addEventListener(type: "mspointerhover", listener: (ev: any) => any, useCapture?: boolean): void; + onmsgesturehold: (ev: any) => any; + addEventListener(type: "msgesturehold", listener: (ev: any) => any, useCapture?: boolean): void; + onmspointermove: (ev: any) => any; + addEventListener(type: "mspointermove", listener: (ev: any) => any, useCapture?: boolean): void; + onmsgesturechange: (ev: any) => any; + addEventListener(type: "msgesturechange", listener: (ev: any) => any, useCapture?: boolean): void; + onmsgesturestart: (ev: any) => any; + addEventListener(type: "msgesturestart", listener: (ev: any) => any, useCapture?: boolean): void; + onmspointercancel: (ev: any) => any; + addEventListener(type: "mspointercancel", listener: (ev: any) => any, useCapture?: boolean): void; + onmsgestureend: (ev: any) => any; + addEventListener(type: "msgestureend", listener: (ev: any) => any, useCapture?: boolean): void; + onmsgesturetap: (ev: any) => any; + addEventListener(type: "msgesturetap", listener: (ev: any) => any, useCapture?: boolean): void; + onmspointerout: (ev: any) => any; + addEventListener(type: "mspointerout", listener: (ev: any) => any, useCapture?: boolean): void; + onmsinertiastart: (ev: any) => any; + addEventListener(type: "msinertiastart", listener: (ev: any) => any, useCapture?: boolean): void; + onmslostpointercapture: (ev: any) => any; + addEventListener(type: "mslostpointercapture", listener: (ev: any) => any, useCapture?: boolean): void; + onmspointerover: (ev: any) => any; + addEventListener(type: "mspointerover", listener: (ev: any) => any, useCapture?: boolean): void; + msContentZoomFactor: number; + onmspointerup: (ev: any) => any; + addEventListener(type: "mspointerup", listener: (ev: any) => any, useCapture?: boolean): void; + msGetRegionContent(): MSRangeCollection; + msReleasePointerCapture(pointerId: number): void; + msSetPointerCapture(pointerId: number): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} + +interface IDBVersionChangeEvent extends Event { + newVersion: number; + oldVersion: number; +} +declare var IDBVersionChangeEvent: { + prototype: IDBVersionChangeEvent; + new (): IDBVersionChangeEvent; +} + +interface IDBIndex { + unique: boolean; + name: string; + keyPath: string; + objectStore: IDBObjectStore; + count(key?: any): IDBRequest; + getKey(key: any): IDBRequest; + openKeyCursor(range?: IDBKeyRange, direction?: string): IDBRequest; + get(key: any): IDBRequest; + openCursor(range?: IDBKeyRange, direction?: string): IDBRequest; +} +declare var IDBIndex: { + prototype: IDBIndex; + new (): IDBIndex; +} + +interface WheelEvent { + getCurrentPoint(element: Element): void; +} + +interface FileList { + length: number; + item(index: number): File; + [index: number]: File; +} +declare var FileList: { + prototype: FileList; + new (): FileList; +} + +interface IDBCursor { + source: any; + direction: string; + key: any; + primaryKey: any; + advance(count: number): void; + delete(): IDBRequest; + continue(key?: any): void; + update(value: any): IDBRequest; + PREV: string; + PREV_NO_DUPLICATE: string; + NEXT: string; + NEXT_NO_DUPLICATE: string; +} +declare var IDBCursor: { + prototype: IDBCursor; + new (): IDBCursor; + PREV: string; + PREV_NO_DUPLICATE: string; + NEXT: string; + NEXT_NO_DUPLICATE: string; +} + +interface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + kernelUnitLengthY: SVGAnimatedNumber; + surfaceScale: SVGAnimatedNumber; + specularExponent: SVGAnimatedNumber; + in1: SVGAnimatedString; + kernelUnitLengthX: SVGAnimatedNumber; + specularConstant: SVGAnimatedNumber; +} +declare var SVGFESpecularLightingElement: { + prototype: SVGFESpecularLightingElement; + new (): SVGFESpecularLightingElement; +} + +interface File extends Blob { + lastModifiedDate: any; + name: string; +} +declare var File: { + prototype: File; + new (): File; +} + +interface URL { + revokeObjectURL(url: string): void; + createObjectURL(object: any, options?: ObjectURLOptions): string; +} +declare var URL: URL; + +interface RangeException { + name: string; +} + +interface IDBCursorWithValue extends IDBCursor { + value: any; +} +declare var IDBCursorWithValue: { + prototype: IDBCursorWithValue; + new (): IDBCursorWithValue; +} + +interface HTMLTextAreaElement { + validationMessage: string; + autofocus: boolean; + validity: ValidityState; + required: boolean; + maxLength: number; + willValidate: boolean; + placeholder: string; + checkValidity(): boolean; + setCustomValidity(error: string): void; +} + +interface XMLHttpRequestEventTarget extends EventTarget { + onprogress: (ev: ProgressEvent) => any; + addEventListener(type: "progress", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void; + onerror: (ev: ErrorEvent) => any; + addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void; + onload: (ev: any) => any; + addEventListener(type: "load", listener: (ev: any) => any, useCapture?: boolean): void; + ontimeout: (ev: any) => any; + addEventListener(type: "timeout", listener: (ev: any) => any, useCapture?: boolean): void; + onabort: (ev: any) => any; + addEventListener(type: "abort", listener: (ev: any) => any, useCapture?: boolean): void; + onloadstart: (ev: any) => any; + addEventListener(type: "loadstart", listener: (ev: any) => any, useCapture?: boolean): void; + onloadend: (ev: ProgressEvent) => any; + addEventListener(type: "loadend", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var XMLHttpRequestEventTarget: { + prototype: XMLHttpRequestEventTarget; + new (): XMLHttpRequestEventTarget; +} + +interface IDBEnvironment { + msIndexedDB: IDBFactory; + indexedDB: IDBFactory; +} + +interface AudioTrackList extends EventTarget { + length: number; + onchange: (ev: any) => any; + addEventListener(type: "change", listener: (ev: any) => any, useCapture?: boolean): void; + onaddtrack: (ev: TrackEvent) => any; + addEventListener(type: "addtrack", listener: (ev: TrackEvent) => any, useCapture?: boolean): void; + getTrackById(id: string): AudioTrack; + item(index: number): AudioTrack; + [index: number]: AudioTrack; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var AudioTrackList: { + prototype: AudioTrackList; + new (): AudioTrackList; +} + +interface MSBaseReader extends EventTarget { + onprogress: (ev: ProgressEvent) => any; + addEventListener(type: "progress", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void; + readyState: number; + onabort: (ev: any) => any; + addEventListener(type: "abort", listener: (ev: any) => any, useCapture?: boolean): void; + onloadend: (ev: ProgressEvent) => any; + addEventListener(type: "loadend", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void; + onerror: (ev: ErrorEvent) => any; + addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void; + onload: (ev: any) => any; + addEventListener(type: "load", listener: (ev: any) => any, useCapture?: boolean): void; + onloadstart: (ev: any) => any; + addEventListener(type: "loadstart", listener: (ev: any) => any, useCapture?: boolean): void; + result: any; + abort(): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; + LOADING: number; + EMPTY: number; + DONE: number; +} + +interface History { + state: any; + replaceState(statedata: any, title: string, url?: string): void; + pushState(statedata: any, title: string, url?: string): void; +} + +interface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + operator: SVGAnimatedEnumeration; + radiusX: SVGAnimatedNumber; + radiusY: SVGAnimatedNumber; + in1: SVGAnimatedString; + SVG_MORPHOLOGY_OPERATOR_UNKNOWN: number; + SVG_MORPHOLOGY_OPERATOR_ERODE: number; + SVG_MORPHOLOGY_OPERATOR_DILATE: number; +} +declare var SVGFEMorphologyElement: { + prototype: SVGFEMorphologyElement; + new (): SVGFEMorphologyElement; + SVG_MORPHOLOGY_OPERATOR_UNKNOWN: number; + SVG_MORPHOLOGY_OPERATOR_ERODE: number; + SVG_MORPHOLOGY_OPERATOR_DILATE: number; +} + +interface HTMLSelectElement { + validationMessage: string; + autofocus: boolean; + validity: ValidityState; + required: boolean; + willValidate: boolean; + checkValidity(): boolean; + setCustomValidity(error: string): void; +} + +interface CSSRule { + KEYFRAMES_RULE: number; + KEYFRAME_RULE: number; + VIEWPORT_RULE: number; +} +//declare var CSSRule: { +// prototype: CSSRule; +// KEYFRAMES_RULE: number; +// KEYFRAME_RULE: number; +// VIEWPORT_RULE: number; +//} + +interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement { +} +declare var SVGFEFuncRElement: { + prototype: SVGFEFuncRElement; + new (): SVGFEFuncRElement; +} + +interface WindowTimersExtension { + msSetImmediate(expression: any, ...args: any[]): number; + clearImmediate(handle: number): void; + msClearImmediate(handle: number): void; + setImmediate(expression: any, ...args: any[]): number; +} + +interface SVGFEDisplacementMapElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + in2: SVGAnimatedString; + xChannelSelector: SVGAnimatedEnumeration; + yChannelSelector: SVGAnimatedEnumeration; + scale: SVGAnimatedNumber; + in1: SVGAnimatedString; + SVG_CHANNEL_B: number; + SVG_CHANNEL_R: number; + SVG_CHANNEL_G: number; + SVG_CHANNEL_UNKNOWN: number; + SVG_CHANNEL_A: number; +} +declare var SVGFEDisplacementMapElement: { + prototype: SVGFEDisplacementMapElement; + new (): SVGFEDisplacementMapElement; + SVG_CHANNEL_B: number; + SVG_CHANNEL_R: number; + SVG_CHANNEL_G: number; + SVG_CHANNEL_UNKNOWN: number; + SVG_CHANNEL_A: number; +} + +interface AnimationEvent extends Event { + animationName: string; + elapsedTime: number; + initAnimationEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, animationNameArg: string, elapsedTimeArg: number): void; +} +declare var AnimationEvent: { + prototype: AnimationEvent; + new (): AnimationEvent; +} + +interface SVGComponentTransferFunctionElement extends SVGElement { + tableValues: SVGAnimatedNumberList; + slope: SVGAnimatedNumber; + type: SVGAnimatedEnumeration; + exponent: SVGAnimatedNumber; + amplitude: SVGAnimatedNumber; + intercept: SVGAnimatedNumber; + offset: SVGAnimatedNumber; + SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: number; + SVG_FECOMPONENTTRANSFER_TYPE_TABLE: number; + SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: number; + SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: number; + SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: number; + SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: number; +} +declare var SVGComponentTransferFunctionElement: { + prototype: SVGComponentTransferFunctionElement; + new (): SVGComponentTransferFunctionElement; + SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: number; + SVG_FECOMPONENTTRANSFER_TYPE_TABLE: number; + SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: number; + SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: number; + SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: number; + SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: number; +} + +interface MSRangeCollection { + length: number; + item(index: number): Range; + [index: number]: Range; +} +declare var MSRangeCollection: { + prototype: MSRangeCollection; + new (): MSRangeCollection; +} + +interface SVGFEDistantLightElement extends SVGElement { + azimuth: SVGAnimatedNumber; + elevation: SVGAnimatedNumber; +} +declare var SVGFEDistantLightElement: { + prototype: SVGFEDistantLightElement; + new (): SVGFEDistantLightElement; +} + +interface SVGException { + name: string; +} + +interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement { +} +declare var SVGFEFuncBElement: { + prototype: SVGFEFuncBElement; + new (): SVGFEFuncBElement; +} + +interface IDBKeyRange { + upper: any; + upperOpen: boolean; + lower: any; + lowerOpen: boolean; + bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange; + only(value: any): IDBKeyRange; + lowerBound(bound: any, open?: boolean): IDBKeyRange; + upperBound(bound: any, open?: boolean): IDBKeyRange; +} +declare var IDBKeyRange: { + prototype: IDBKeyRange; + new (): IDBKeyRange; +} + +interface WindowConsole { + console: Console; +} + +interface IDBTransaction extends EventTarget { + oncomplete: (ev: Event) => any; + addEventListener(type: "complete", listener: (ev: Event) => any, useCapture?: boolean): void; + db: IDBDatabase; + mode: string; + error: DOMError; + onerror: (ev: ErrorEvent) => any; + addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void; + onabort: (ev: any) => any; + addEventListener(type: "abort", listener: (ev: any) => any, useCapture?: boolean): void; + abort(): void; + objectStore(name: string): IDBObjectStore; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; + READ_ONLY: string; + VERSION_CHANGE: string; + READ_WRITE: string; +} +declare var IDBTransaction: { + prototype: IDBTransaction; + new (): IDBTransaction; + READ_ONLY: string; + VERSION_CHANGE: string; + READ_WRITE: string; +} + +interface AudioTrack { + kind: string; + language: string; + id: string; + label: string; + enabled: boolean; +} +declare var AudioTrack: { + prototype: AudioTrack; + new (): AudioTrack; +} + +interface SVGFEConvolveMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + orderY: SVGAnimatedInteger; + kernelUnitLengthY: SVGAnimatedNumber; + orderX: SVGAnimatedInteger; + preserveAlpha: SVGAnimatedBoolean; + kernelMatrix: SVGAnimatedNumberList; + edgeMode: SVGAnimatedEnumeration; + kernelUnitLengthX: SVGAnimatedNumber; + bias: SVGAnimatedNumber; + targetX: SVGAnimatedInteger; + targetY: SVGAnimatedInteger; + divisor: SVGAnimatedNumber; + in1: SVGAnimatedString; + SVG_EDGEMODE_WRAP: number; + SVG_EDGEMODE_DUPLICATE: number; + SVG_EDGEMODE_UNKNOWN: number; + SVG_EDGEMODE_NONE: number; +} +declare var SVGFEConvolveMatrixElement: { + prototype: SVGFEConvolveMatrixElement; + new (): SVGFEConvolveMatrixElement; + SVG_EDGEMODE_WRAP: number; + SVG_EDGEMODE_DUPLICATE: number; + SVG_EDGEMODE_UNKNOWN: number; + SVG_EDGEMODE_NONE: number; +} + +interface TextTrackCueList { + length: number; + item(index: number): TextTrackCue; + [index: number]: TextTrackCue; + getCueById(id: string): TextTrackCue; +} +declare var TextTrackCueList: { + prototype: TextTrackCueList; + new (): TextTrackCueList; +} + +interface CSSKeyframesRule extends CSSRule { + name: string; + cssRules: CSSRuleList; + findRule(rule: string): CSSKeyframeRule; + deleteRule(rule: string): void; + appendRule(rule: string): void; +} +declare var CSSKeyframesRule: { + prototype: CSSKeyframesRule; + new (): CSSKeyframesRule; +} + +interface Window extends WindowBase64, IDBEnvironment, WindowConsole { + onmspointerdown: (ev: any) => any; + addEventListener(type: "mspointerdown", listener: (ev: any) => any, useCapture?: boolean): void; + animationStartTime: number; + onmsgesturedoubletap: (ev: any) => any; + addEventListener(type: "msgesturedoubletap", listener: (ev: any) => any, useCapture?: boolean): void; + onmspointerhover: (ev: any) => any; + addEventListener(type: "mspointerhover", listener: (ev: any) => any, useCapture?: boolean): void; + onmsgesturehold: (ev: any) => any; + addEventListener(type: "msgesturehold", listener: (ev: any) => any, useCapture?: boolean): void; + onmspointermove: (ev: any) => any; + addEventListener(type: "mspointermove", listener: (ev: any) => any, useCapture?: boolean): void; + onmsgesturechange: (ev: any) => any; + addEventListener(type: "msgesturechange", listener: (ev: any) => any, useCapture?: boolean): void; + onmsgesturestart: (ev: any) => any; + addEventListener(type: "msgesturestart", listener: (ev: any) => any, useCapture?: boolean): void; + onmspointercancel: (ev: any) => any; + addEventListener(type: "mspointercancel", listener: (ev: any) => any, useCapture?: boolean): void; + onmsgestureend: (ev: any) => any; + addEventListener(type: "msgestureend", listener: (ev: any) => any, useCapture?: boolean): void; + onmsgesturetap: (ev: any) => any; + addEventListener(type: "msgesturetap", listener: (ev: any) => any, useCapture?: boolean): void; + onmspointerout: (ev: any) => any; + addEventListener(type: "mspointerout", listener: (ev: any) => any, useCapture?: boolean): void; + msAnimationStartTime: number; + applicationCache: ApplicationCache; + onmsinertiastart: (ev: any) => any; + addEventListener(type: "msinertiastart", listener: (ev: any) => any, useCapture?: boolean): void; + onmspointerover: (ev: any) => any; + addEventListener(type: "mspointerover", listener: (ev: any) => any, useCapture?: boolean): void; + onpopstate: (ev: PopStateEvent) => any; + addEventListener(type: "popstate", listener: (ev: PopStateEvent) => any, useCapture?: boolean): void; + onmspointerup: (ev: any) => any; + addEventListener(type: "mspointerup", listener: (ev: any) => any, useCapture?: boolean): void; + msCancelRequestAnimationFrame(handle: number): void; + matchMedia(mediaQuery: string): MediaQueryList; + cancelAnimationFrame(handle: number): void; + msIsStaticHTML(html: string): boolean; + msMatchMedia(mediaQuery: string): MediaQueryList; + requestAnimationFrame(callback: FrameRequestCallback): number; + msRequestAnimationFrame(callback: FrameRequestCallback): number; +} + +interface SVGFETurbulenceElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + baseFrequencyX: SVGAnimatedNumber; + numOctaves: SVGAnimatedInteger; + type: SVGAnimatedEnumeration; + baseFrequencyY: SVGAnimatedNumber; + stitchTiles: SVGAnimatedEnumeration; + seed: SVGAnimatedNumber; + SVG_STITCHTYPE_UNKNOWN: number; + SVG_STITCHTYPE_NOSTITCH: number; + SVG_TURBULENCE_TYPE_UNKNOWN: number; + SVG_TURBULENCE_TYPE_TURBULENCE: number; + SVG_TURBULENCE_TYPE_FRACTALNOISE: number; + SVG_STITCHTYPE_STITCH: number; +} +declare var SVGFETurbulenceElement: { + prototype: SVGFETurbulenceElement; + new (): SVGFETurbulenceElement; + SVG_STITCHTYPE_UNKNOWN: number; + SVG_STITCHTYPE_NOSTITCH: number; + SVG_TURBULENCE_TYPE_UNKNOWN: number; + SVG_TURBULENCE_TYPE_TURBULENCE: number; + SVG_TURBULENCE_TYPE_FRACTALNOISE: number; + SVG_STITCHTYPE_STITCH: number; +} + +interface TextTrackList { + length: number; + item(index: number): TextTrack; + [index: number]: TextTrack; +} +declare var TextTrackList: { + prototype: TextTrackList; + new (): TextTrackList; +} + +interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement { +} +declare var SVGFEFuncGElement: { + prototype: SVGFEFuncGElement; + new (): SVGFEFuncGElement; +} + +interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + in1: SVGAnimatedString; + type: SVGAnimatedEnumeration; + values: SVGAnimatedNumberList; + SVG_FECOLORMATRIX_TYPE_SATURATE: number; + SVG_FECOLORMATRIX_TYPE_UNKNOWN: number; + SVG_FECOLORMATRIX_TYPE_MATRIX: number; + SVG_FECOLORMATRIX_TYPE_HUEROTATE: number; + SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: number; +} +declare var SVGFEColorMatrixElement: { + prototype: SVGFEColorMatrixElement; + new (): SVGFEColorMatrixElement; + SVG_FECOLORMATRIX_TYPE_SATURATE: number; + SVG_FECOLORMATRIX_TYPE_UNKNOWN: number; + SVG_FECOLORMATRIX_TYPE_MATRIX: number; + SVG_FECOLORMATRIX_TYPE_HUEROTATE: number; + SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: number; +} + +interface Console { + info(message?: any, ...optionalParams: any[]): void; + profile(reportName?: string): void; + assert(test?: boolean, message?: string, ...optionalParams: any[]): void; + msIsIndependentlyComposed(element: Element): boolean; + clear(): void; + dir(value?: any, ...optionalParams: any[]): void; + warn(message?: any, ...optionalParams: any[]): void; + error(message?: any, ...optionalParams: any[]): void; + log(message?: any, ...optionalParams: any[]): void; + profileEnd(): void; +} +declare var Console: { + prototype: Console; + new (): Console; +} + +interface SVGFESpotLightElement extends SVGElement { + pointsAtY: SVGAnimatedNumber; + y: SVGAnimatedNumber; + limitingConeAngle: SVGAnimatedNumber; + specularExponent: SVGAnimatedNumber; + x: SVGAnimatedNumber; + pointsAtZ: SVGAnimatedNumber; + z: SVGAnimatedNumber; + pointsAtX: SVGAnimatedNumber; +} +declare var SVGFESpotLightElement: { + prototype: SVGFESpotLightElement; + new (): SVGFESpotLightElement; +} + +interface HTMLImageElement { + msPlayToPrimary: boolean; + msPlayToDisabled: boolean; + msPlayToSource: any; +} + +interface WindowBase64 { + btoa(rawString: string): string; + atob(encodedString: string): string; +} + +interface IDBDatabase extends EventTarget { + version: string; + name: string; + objectStoreNames: DOMStringList; + onerror: (ev: ErrorEvent) => any; + addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void; + onabort: (ev: any) => any; + addEventListener(type: "abort", listener: (ev: any) => any, useCapture?: boolean): void; + createObjectStore(name: string, optionalParameters?: any): IDBObjectStore; + close(): void; + transaction(storeNames: any, mode?: string): IDBTransaction; + deleteObjectStore(name: string): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var IDBDatabase: { + prototype: IDBDatabase; + new (): IDBDatabase; +} + +interface DOMStringList { + length: number; + contains(str: string): boolean; + item(index: number): string; + [index: number]: string; +} +declare var DOMStringList: { + prototype: DOMStringList; + new (): DOMStringList; +} + +interface HTMLButtonElement { + validationMessage: string; + formTarget: string; + willValidate: boolean; + formAction: string; + autofocus: boolean; + validity: ValidityState; + formNoValidate: string; + formEnctype: string; + formMethod: string; + checkValidity(): boolean; + setCustomValidity(error: string): void; +} + +interface IDBOpenDBRequest extends IDBRequest { + onupgradeneeded: (ev: IDBVersionChangeEvent) => any; + addEventListener(type: "upgradeneeded", listener: (ev: IDBVersionChangeEvent) => any, useCapture?: boolean): void; + onblocked: (ev: Event) => any; + addEventListener(type: "blocked", listener: (ev: Event) => any, useCapture?: boolean): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var IDBOpenDBRequest: { + prototype: IDBOpenDBRequest; + new (): IDBOpenDBRequest; +} + +interface HTMLProgressElement extends HTMLElement { + value: number; + max: number; + position: number; + form: HTMLFormElement; +} +declare var HTMLProgressElement: { + prototype: HTMLProgressElement; + new (): HTMLProgressElement; +} + +interface MSLaunchUriCallback { + (): void; +} + +interface SVGFEOffsetElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + dy: SVGAnimatedNumber; + in1: SVGAnimatedString; + dx: SVGAnimatedNumber; +} +declare var SVGFEOffsetElement: { + prototype: SVGFEOffsetElement; + new (): SVGFEOffsetElement; +} + +interface HTMLFormElement { + autocomplete: string; + noValidate: boolean; + checkValidity(): boolean; +} + +interface MSUnsafeFunctionCallback { + (): any; +} + +interface Document { + onmspointerdown: (ev: any) => any; + addEventListener(type: "mspointerdown", listener: (ev: any) => any, useCapture?: boolean): void; + msHidden: boolean; + msVisibilityState: string; + onmsgesturedoubletap: (ev: any) => any; + addEventListener(type: "msgesturedoubletap", listener: (ev: any) => any, useCapture?: boolean): void; + visibilityState: string; + onmsmanipulationstatechanged: (ev: any) => any; + addEventListener(type: "msmanipulationstatechanged", listener: (ev: any) => any, useCapture?: boolean): void; + onmspointerhover: (ev: any) => any; + addEventListener(type: "mspointerhover", listener: (ev: any) => any, useCapture?: boolean): void; + onmscontentzoom: (ev: any) => any; + addEventListener(type: "mscontentzoom", listener: (ev: any) => any, useCapture?: boolean): void; + onmspointermove: (ev: any) => any; + addEventListener(type: "mspointermove", listener: (ev: any) => any, useCapture?: boolean): void; + onmsgesturehold: (ev: any) => any; + addEventListener(type: "msgesturehold", listener: (ev: any) => any, useCapture?: boolean): void; + onmsgesturechange: (ev: any) => any; + addEventListener(type: "msgesturechange", listener: (ev: any) => any, useCapture?: boolean): void; + onmsgesturestart: (ev: any) => any; + addEventListener(type: "msgesturestart", listener: (ev: any) => any, useCapture?: boolean): void; + onmspointercancel: (ev: any) => any; + addEventListener(type: "mspointercancel", listener: (ev: any) => any, useCapture?: boolean): void; + onmsgestureend: (ev: any) => any; + addEventListener(type: "msgestureend", listener: (ev: any) => any, useCapture?: boolean): void; + onmsgesturetap: (ev: any) => any; + addEventListener(type: "msgesturetap", listener: (ev: any) => any, useCapture?: boolean): void; + onmspointerout: (ev: any) => any; + addEventListener(type: "mspointerout", listener: (ev: any) => any, useCapture?: boolean): void; + onmsinertiastart: (ev: any) => any; + addEventListener(type: "msinertiastart", listener: (ev: any) => any, useCapture?: boolean): void; + msCSSOMElementFloatMetrics: boolean; + onmspointerover: (ev: any) => any; + addEventListener(type: "mspointerover", listener: (ev: any) => any, useCapture?: boolean): void; + hidden: boolean; + onmspointerup: (ev: any) => any; + addEventListener(type: "mspointerup", listener: (ev: any) => any, useCapture?: boolean): void; + msElementsFromPoint(x: number, y: number): NodeList; + msElementsFromRect(left: number, top: number, width: number, height: number): NodeList; + clear(): void; +} + +interface MessageEvent extends Event { + ports: any; +} + +interface HTMLScriptElement { + async: boolean; +} + +interface HTMLMediaElement { + msAudioCategory: string; + msRealTime: boolean; + msPlayToPrimary: boolean; + textTracks: TextTrackList; + msPlayToDisabled: boolean; + audioTracks: AudioTrackList; + msPlayToSource: any; + msAudioDeviceType: string; + msClearEffects(): void; + msSetMediaProtectionManager(mediaProtectionManager?: any): void; + msInsertAudioEffect(activatableClassId: string, effectRequired: boolean, config?: any): void; +} + +interface TextTrack extends EventTarget { + language: string; + mode: any; + readyState: number; + activeCues: TextTrackCueList; + cues: TextTrackCueList; + oncuechange: (ev: Event) => any; + addEventListener(type: "cuechange", listener: (ev: Event) => any, useCapture?: boolean): void; + kind: string; + onload: (ev: any) => any; + addEventListener(type: "load", listener: (ev: any) => any, useCapture?: boolean): void; + onerror: (ev: ErrorEvent) => any; + addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void; + label: string; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; + ERROR: number; + SHOWING: number; + LOADING: number; + LOADED: number; + NONE: number; + HIDDEN: number; + DISABLED: number; +} +declare var TextTrack: { + prototype: TextTrack; + new (): TextTrack; + ERROR: number; + SHOWING: number; + LOADING: number; + LOADED: number; + NONE: number; + HIDDEN: number; + DISABLED: number; +} + +interface MediaQueryListListener { + (mql: MediaQueryList): void; +} + +interface IDBRequest extends EventTarget { + source: any; + onsuccess: (ev: Event) => any; + addEventListener(type: "success", listener: (ev: Event) => any, useCapture?: boolean): void; + error: DOMError; + transaction: IDBTransaction; + onerror: (ev: ErrorEvent) => any; + addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void; + readyState: string; + result: any; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var IDBRequest: { + prototype: IDBRequest; + new (): IDBRequest; +} + +interface MessagePort extends EventTarget { + onmessage: (ev: any) => any; + addEventListener(type: "message", listener: (ev: any) => any, useCapture?: boolean): void; + close(): void; + postMessage(message: any, ports?: any): void; + start(): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var MessagePort: { + prototype: MessagePort; + new (): MessagePort; +} + +interface FileReader extends MSBaseReader { + error: DOMError; + readAsArrayBuffer(blob: Blob): void; + readAsDataURL(blob: Blob): void; + readAsText(blob: Blob, encoding?: string): void; +} +declare var FileReader: { + prototype: FileReader; + new (): FileReader; +} + +interface BlobPropertyBag { + type?: string; + endings?: string; +} + +interface Blob { + type: string; + size: number; + msDetachStream(): any; + slice(start?: number, end?: number, contentType?: string): Blob; + close(): void; + msClose(): void; +} +declare var Blob: { + prototype: Blob; + new (blobParts?: any[], options?: BlobPropertyBag): Blob; +} + +interface ApplicationCache extends EventTarget { + status: number; + ondownloading: (ev: Event) => any; + addEventListener(type: "downloading", listener: (ev: Event) => any, useCapture?: boolean): void; + onprogress: (ev: ProgressEvent) => any; + addEventListener(type: "progress", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void; + onupdateready: (ev: Event) => any; + addEventListener(type: "updateready", listener: (ev: Event) => any, useCapture?: boolean): void; + oncached: (ev: Event) => any; + addEventListener(type: "cached", listener: (ev: Event) => any, useCapture?: boolean): void; + onobsolete: (ev: Event) => any; + addEventListener(type: "obsolete", listener: (ev: Event) => any, useCapture?: boolean): void; + onerror: (ev: ErrorEvent) => any; + addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void; + onchecking: (ev: Event) => any; + addEventListener(type: "checking", listener: (ev: Event) => any, useCapture?: boolean): void; + onnoupdate: (ev: Event) => any; + addEventListener(type: "noupdate", listener: (ev: Event) => any, useCapture?: boolean): void; + swapCache(): void; + abort(): void; + update(): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; + CHECKING: number; + UNCACHED: number; + UPDATEREADY: number; + DOWNLOADING: number; + IDLE: number; + OBSOLETE: number; +} +declare var ApplicationCache: { + prototype: ApplicationCache; + new (): ApplicationCache; + CHECKING: number; + UNCACHED: number; + UPDATEREADY: number; + DOWNLOADING: number; + IDLE: number; + OBSOLETE: number; +} + +interface FrameRequestCallback { + (time: number): void; +} + +interface XMLHttpRequest { + response: any; + withCredentials: boolean; + onprogress: (ev: ProgressEvent) => any; + addEventListener(type: "progress", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void; + onabort: (ev: any) => any; + addEventListener(type: "abort", listener: (ev: any) => any, useCapture?: boolean): void; + responseType: string; + onloadend: (ev: ProgressEvent) => any; + addEventListener(type: "loadend", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void; + upload: XMLHttpRequestEventTarget; + onerror: (ev: ErrorEvent) => any; + addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void; + onloadstart: (ev: any) => any; + addEventListener(type: "loadstart", listener: (ev: any) => any, useCapture?: boolean): void; +} + +interface PopStateEvent extends Event { + state: any; + initPopStateEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, stateArg: any): void; +} +declare var PopStateEvent: { + prototype: PopStateEvent; + new (): PopStateEvent; +} + +interface CSSKeyframeRule extends CSSRule { + keyText: string; + style: CSSStyleDeclaration; +} +declare var CSSKeyframeRule: { + prototype: CSSKeyframeRule; + new (): CSSKeyframeRule; +} + +interface MSFileSaver { + msSaveBlob(blob: any, defaultName?: string): boolean; + msSaveOrOpenBlob(blob: any, defaultName?: string): boolean; +} + +interface MSStream { + type: string; + msDetachStream(): any; + msClose(): void; +} +declare var MSStream: { + prototype: MSStream; + new (): MSStream; +} + +interface MediaError { + msExtendedCode: number; +} + +interface HTMLFieldSetElement { + validationMessage: string; + validity: ValidityState; + willValidate: boolean; + checkValidity(): boolean; + setCustomValidity(error: string): void; +} + +interface MSBlobBuilder { + append(data: any, endings?: string): void; + getBlob(contentType?: string): Blob; +} +declare var MSBlobBuilder: { + prototype: MSBlobBuilder; + new (): MSBlobBuilder; +} + +interface HTMLElement { + onmscontentzoom: (ev: any) => any; + addEventListener(type: "mscontentzoom", listener: (ev: any) => any, useCapture?: boolean): void; + oncuechange: (ev: Event) => any; + addEventListener(type: "cuechange", listener: (ev: Event) => any, useCapture?: boolean): void; + spellcheck: boolean; + classList: DOMTokenList; + onmsmanipulationstatechanged: (ev: any) => any; + addEventListener(type: "msmanipulationstatechanged", listener: (ev: any) => any, useCapture?: boolean): void; + draggable: boolean; +} + +interface DataTransfer { + types: DOMStringList; + files: FileList; +} + +interface DOMSettableTokenList extends DOMTokenList { + value: string; +} +declare var DOMSettableTokenList: { + prototype: DOMSettableTokenList; + new (): DOMSettableTokenList; +} + +interface IDBFactory { + open(name: string, version?: number): IDBOpenDBRequest; + cmp(first: any, second: any): number; + deleteDatabase(name: string): IDBOpenDBRequest; +} +declare var IDBFactory: { + prototype: IDBFactory; + new (): IDBFactory; +} + +interface Range { + createContextualFragment(fragment: string): DocumentFragment; +} + +interface HTMLObjectElement { + validationMessage: string; + validity: ValidityState; + willValidate: boolean; + checkValidity(): boolean; + setCustomValidity(error: string): void; +} + +interface MSPointerEvent extends MouseEvent { + width: number; + rotation: number; + pressure: number; + pointerType: any; + isPrimary: boolean; + tiltY: number; + height: number; + intermediatePoints: any; + currentPoint: any; + tiltX: number; + hwTimestamp: number; + pointerId: number; + initPointerEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget, offsetXArg: number, offsetYArg: number, widthArg: number, heightArg: number, pressure: number, rotation: number, tiltX: number, tiltY: number, pointerIdArg: number, pointerType: any, hwTimestampArg: number, isPrimary: boolean): void; + getCurrentPoint(element: Element): void; + getIntermediatePoints(element: Element): void; + MSPOINTER_TYPE_PEN: number; + MSPOINTER_TYPE_MOUSE: number; + MSPOINTER_TYPE_TOUCH: number; +} +declare var MSPointerEvent: { + prototype: MSPointerEvent; + new (): MSPointerEvent; + MSPOINTER_TYPE_PEN: number; + MSPOINTER_TYPE_MOUSE: number; + MSPOINTER_TYPE_TOUCH: number; +} + +interface DOMException { + name: string; + INVALID_NODE_TYPE_ERR: number; + DATA_CLONE_ERR: number; + TIMEOUT_ERR: number; +} +//declare var DOMException: { +// prototype: DOMException; +// INVALID_NODE_TYPE_ERR: number; +// DATA_CLONE_ERR: number; +// TIMEOUT_ERR: number; +//} + +interface MSManipulationEvent extends UIEvent { + lastState: number; + currentState: number; + initMSManipulationEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, lastState: number, currentState: number): void; + MS_MANIPULATION_STATE_STOPPED: number; + MS_MANIPULATION_STATE_ACTIVE: number; + MS_MANIPULATION_STATE_INERTIA: number; +} +declare var MSManipulationEvent: { + prototype: MSManipulationEvent; + new (): MSManipulationEvent; + MS_MANIPULATION_STATE_STOPPED: number; + MS_MANIPULATION_STATE_ACTIVE: number; + MS_MANIPULATION_STATE_INERTIA: number; +} + +interface FormData { + append(name: any, value: any, blobName?: string): void; +} +declare var FormData: { + prototype: FormData; + new (form?: HTMLFormElement): FormData; +} + +interface HTMLDataListElement extends HTMLElement { + options: HTMLCollection; +} +declare var HTMLDataListElement: { + prototype: HTMLDataListElement; + new (): HTMLDataListElement; +} + +interface SVGFEImageElement extends SVGElement, SVGLangSpace, SVGFilterPrimitiveStandardAttributes, SVGURIReference, SVGExternalResourcesRequired { + preserveAspectRatio: SVGAnimatedPreserveAspectRatio; +} +declare var SVGFEImageElement: { + prototype: SVGFEImageElement; + new (): SVGFEImageElement; +} + +interface AbstractWorker extends EventTarget { + onerror: (ev: ErrorEvent) => any; + addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} + +interface SVGFECompositeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + operator: SVGAnimatedEnumeration; + in2: SVGAnimatedString; + k2: SVGAnimatedNumber; + k1: SVGAnimatedNumber; + k3: SVGAnimatedNumber; + in1: SVGAnimatedString; + k4: SVGAnimatedNumber; + SVG_FECOMPOSITE_OPERATOR_OUT: number; + SVG_FECOMPOSITE_OPERATOR_OVER: number; + SVG_FECOMPOSITE_OPERATOR_XOR: number; + SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: number; + SVG_FECOMPOSITE_OPERATOR_UNKNOWN: number; + SVG_FECOMPOSITE_OPERATOR_IN: number; + SVG_FECOMPOSITE_OPERATOR_ATOP: number; +} +declare var SVGFECompositeElement: { + prototype: SVGFECompositeElement; + new (): SVGFECompositeElement; + SVG_FECOMPOSITE_OPERATOR_OUT: number; + SVG_FECOMPOSITE_OPERATOR_OVER: number; + SVG_FECOMPOSITE_OPERATOR_XOR: number; + SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: number; + SVG_FECOMPOSITE_OPERATOR_UNKNOWN: number; + SVG_FECOMPOSITE_OPERATOR_IN: number; + SVG_FECOMPOSITE_OPERATOR_ATOP: number; +} + +interface ValidityState { + customError: boolean; + valueMissing: boolean; + stepMismatch: boolean; + rangeUnderflow: boolean; + rangeOverflow: boolean; + typeMismatch: boolean; + patternMismatch: boolean; + tooLong: boolean; + valid: boolean; +} +declare var ValidityState: { + prototype: ValidityState; + new (): ValidityState; +} + +interface HTMLTrackElement extends HTMLElement { + kind: string; + src: string; + srclang: string; + track: TextTrack; + label: string; + default: boolean; +} +declare var HTMLTrackElement: { + prototype: HTMLTrackElement; + new (): HTMLTrackElement; +} + +interface MSApp { + createFileFromStorageFile(storageFile: any): File; + createBlobFromRandomAccessStream(type: string, seeker: any): Blob; + createStreamFromInputStream(type: string, inputStream: any): MSStream; + terminateApp(exceptionObject: any): void; + createDataPackage(object: any): any; + execUnsafeLocalFunction(unsafeFunction: MSUnsafeFunctionCallback): any; + getHtmlPrintDocumentSource(htmlDoc: any): any; + addPublicLocalApplicationUri(uri: string): void; + createDataPackageFromSelection(): any; +} +declare var MSApp: MSApp; + +interface HTMLVideoElement { + msIsStereo3D: boolean; + msStereo3DPackingMode: string; + onMSVideoOptimalLayoutChanged: (ev: any) => any; + addEventListener(type: "MSVideoOptimalLayoutChanged", listener: (ev: any) => any, useCapture?: boolean): void; + onMSVideoFrameStepCompleted: (ev: any) => any; + addEventListener(type: "MSVideoFrameStepCompleted", listener: (ev: any) => any, useCapture?: boolean): void; + msStereo3DRenderMode: string; + msIsLayoutOptimalForPlayback: boolean; + msHorizontalMirror: boolean; + onMSVideoFormatChanged: (ev: any) => any; + addEventListener(type: "MSVideoFormatChanged", listener: (ev: any) => any, useCapture?: boolean): void; + msZoom: boolean; + msInsertVideoEffect(activatableClassId: string, effectRequired: boolean, config?: any): void; + msSetVideoRectangle(left: number, top: number, right: number, bottom: number): void; + msFrameStep(forward: boolean): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} + +interface SVGFEComponentTransferElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + in1: SVGAnimatedString; +} +declare var SVGFEComponentTransferElement: { + prototype: SVGFEComponentTransferElement; + new (): SVGFEComponentTransferElement; +} + +interface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { + kernelUnitLengthY: SVGAnimatedNumber; + surfaceScale: SVGAnimatedNumber; + in1: SVGAnimatedString; + kernelUnitLengthX: SVGAnimatedNumber; + diffuseConstant: SVGAnimatedNumber; +} +declare var SVGFEDiffuseLightingElement: { + prototype: SVGFEDiffuseLightingElement; + new (): SVGFEDiffuseLightingElement; +} + +interface MSCSSMatrix { + m24: number; + m34: number; + a: number; + d: number; + m32: number; + m41: number; + m11: number; + f: number; + e: number; + m23: number; + m14: number; + m33: number; + m22: number; + m21: number; + c: number; + m12: number; + b: number; + m42: number; + m31: number; + m43: number; + m13: number; + m44: number; + multiply(secondMatrix: MSCSSMatrix): MSCSSMatrix; + skewY(angle: number): MSCSSMatrix; + setMatrixValue(value: string): void; + inverse(): MSCSSMatrix; + rotateAxisAngle(x: number, y: number, z: number, angle: number): MSCSSMatrix; + toString(): string; + rotate(angleX: number, angleY?: number, angleZ?: number): MSCSSMatrix; + translate(x: number, y: number, z?: number): MSCSSMatrix; + scale(scaleX: number, scaleY?: number, scaleZ?: number): MSCSSMatrix; + skewX(angle: number): MSCSSMatrix; +} +declare var MSCSSMatrix: { + prototype: MSCSSMatrix; + new (text?: string): MSCSSMatrix; +} + +interface Worker extends AbstractWorker { + onmessage: (ev: any) => any; + addEventListener(type: "message", listener: (ev: any) => any, useCapture?: boolean): void; + postMessage(message: any, ports?: any): void; + terminate(): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var Worker: { + prototype: Worker; + new (stringUrl: string): Worker; +} + +interface HTMLIFrameElement { + sandbox: DOMSettableTokenList; +} + +declare var onmspointerdown: (ev: any) => any; +declare function addEventListener(type: "mspointerdown", listener: (ev: any) => any, useCapture?: boolean): void; +declare var animationStartTime: number; +declare var onmsgesturedoubletap: (ev: any) => any; +declare function addEventListener(type: "msgesturedoubletap", listener: (ev: any) => any, useCapture?: boolean): void; +declare var onmspointerhover: (ev: any) => any; +declare function addEventListener(type: "mspointerhover", listener: (ev: any) => any, useCapture?: boolean): void; +declare var onmsgesturehold: (ev: any) => any; +declare function addEventListener(type: "msgesturehold", listener: (ev: any) => any, useCapture?: boolean): void; +declare var onmspointermove: (ev: any) => any; +declare function addEventListener(type: "mspointermove", listener: (ev: any) => any, useCapture?: boolean): void; +declare var onmsgesturechange: (ev: any) => any; +declare function addEventListener(type: "msgesturechange", listener: (ev: any) => any, useCapture?: boolean): void; +declare var onmsgesturestart: (ev: any) => any; +declare function addEventListener(type: "msgesturestart", listener: (ev: any) => any, useCapture?: boolean): void; +declare var onmspointercancel: (ev: any) => any; +declare function addEventListener(type: "mspointercancel", listener: (ev: any) => any, useCapture?: boolean): void; +declare var onmsgestureend: (ev: any) => any; +declare function addEventListener(type: "msgestureend", listener: (ev: any) => any, useCapture?: boolean): void; +declare var onmsgesturetap: (ev: any) => any; +declare function addEventListener(type: "msgesturetap", listener: (ev: any) => any, useCapture?: boolean): void; +declare var onmspointerout: (ev: any) => any; +declare function addEventListener(type: "mspointerout", listener: (ev: any) => any, useCapture?: boolean): void; +declare var msAnimationStartTime: number; +declare var applicationCache: ApplicationCache; +declare var onmsinertiastart: (ev: any) => any; +declare function addEventListener(type: "msinertiastart", listener: (ev: any) => any, useCapture?: boolean): void; +declare var onmspointerover: (ev: any) => any; +declare function addEventListener(type: "mspointerover", listener: (ev: any) => any, useCapture?: boolean): void; +declare var onpopstate: (ev: PopStateEvent) => any; +declare function addEventListener(type: "popstate", listener: (ev: PopStateEvent) => any, useCapture?: boolean): void; +declare var onmspointerup: (ev: any) => any; +declare function addEventListener(type: "mspointerup", listener: (ev: any) => any, useCapture?: boolean): void; +declare function msCancelRequestAnimationFrame(handle: number): void; +declare function matchMedia(mediaQuery: string): MediaQueryList; +declare function cancelAnimationFrame(handle: number): void; +declare function msIsStaticHTML(html: string): boolean; +declare function msMatchMedia(mediaQuery: string): MediaQueryList; +declare function requestAnimationFrame(callback: FrameRequestCallback): number; +declare function msRequestAnimationFrame(callback: FrameRequestCallback): number; +declare function btoa(rawString: string): string; +declare function atob(encodedString: string): string; +declare var msIndexedDB: IDBFactory; +declare var indexedDB: IDBFactory; +declare var console: Console; + +///////////////////////////// +/// IE11 APIs +///////////////////////////// + + + +interface StoreExceptionsInformation extends ExceptionInformation { + siteName?: string; + explanationString?: string; + detailURI?: string; +} + +interface StoreSiteSpecificExceptionsInformation extends StoreExceptionsInformation { + arrayOfDomainStrings?: Array; +} + +interface ConfirmSiteSpecificExceptionsInformation extends ExceptionInformation { + arrayOfDomainStrings?: Array; +} + +interface AlgorithmParameters { +} + +interface MutationObserverInit { + childList?: boolean; + attributes?: boolean; + characterData?: boolean; + subtree?: boolean; + attributeOldValue?: boolean; + characterDataOldValue?: boolean; + attributeFilter?: Array; +} + +interface ExceptionInformation { + domain?: string; +} + +interface MsZoomToOptions { + contentX?: number; + contentY?: number; + viewportX?: string; + viewportY?: string; + scaleFactor?: number; + animate?: string; +} + +interface DeviceAccelerationDict { + x?: number; + y?: number; + z?: number; +} + +interface DeviceRotationRateDict { + alpha?: number; + beta?: number; + gamma?: number; +} + +interface Algorithm { + name?: string; + params?: AlgorithmParameters; +} + +interface NavigatorID { + product: string; + vendor: string; +} +declare var NavigatorID: { + prototype: NavigatorID; + new (): NavigatorID; +} + +interface HTMLBodyElement { + onpageshow: (ev: PageTransitionEvent) => any; + addEventListener(type: "pageshow", listener: (ev: PageTransitionEvent) => any, useCapture?: boolean): void; + onpagehide: (ev: PageTransitionEvent) => any; + addEventListener(type: "pagehide", listener: (ev: PageTransitionEvent) => any, useCapture?: boolean): void; +} + +interface MSExecAtPriorityFunctionCallback { + (...args: any[]): any; +} + +interface MSWindowExtensions { + captureEvents(): void; + releaseEvents(): void; +} +declare var MSWindowExtensions: { + prototype: MSWindowExtensions; + new (): MSWindowExtensions; +} + +interface MSGraphicsTrust { + status: string; + constrictionActive: boolean; +} +declare var MSGraphicsTrust: { + prototype: MSGraphicsTrust; + new (): MSGraphicsTrust; +} + +interface AudioTrack { + sourceBuffer: SourceBuffer; +} + +interface DragEvent { + msConvertURL(file: File, targetType: string, targetURL?: string): boolean; +} + +interface SubtleCrypto { + unwrapKey(wrappedKey: ArrayBufferView, keyAlgorithm: any, keyEncryptionKey: Key, extractable?: boolean, keyUsages?: string[]): KeyOperation; + encrypt(algorithm: any, key: Key, buffer?: ArrayBufferView): CryptoOperation; + importKey(format: string, keyData: ArrayBufferView, algorithm: any, extractable?: boolean, keyUsages?: string[]): KeyOperation; + wrapKey(key: Key, keyEncryptionKey: Key, keyWrappingAlgorithm: any): KeyOperation; + verify(algorithm: any, key: Key, signature: ArrayBufferView, buffer?: ArrayBufferView): CryptoOperation; + deriveKey(algorithm: any, baseKey: Key, derivedKeyType: any, extractable?: boolean, keyUsages?: string[]): KeyOperation; + digest(algorithm: any, buffer?: ArrayBufferView): CryptoOperation; + exportKey(format: string, key: Key): KeyOperation; + generateKey(algorithm: any, extractable?: boolean, keyUsages?: string[]): KeyOperation; + sign(algorithm: any, key: Key, buffer?: ArrayBufferView): CryptoOperation; + decrypt(algorithm: any, key: Key, buffer?: ArrayBufferView): CryptoOperation; +} +declare var SubtleCrypto: { + prototype: SubtleCrypto; + new (): SubtleCrypto; +} + +interface Crypto extends RandomSource { + subtle: SubtleCrypto; +} +declare var Crypto: { + prototype: Crypto; + new (): Crypto; +} + +interface VideoPlaybackQuality { + creationTime: number; + totalVideoFrames: number; + droppedVideoFrames: number; +} +declare var VideoPlaybackQuality: { + prototype: VideoPlaybackQuality; + new (): VideoPlaybackQuality; +} + +interface Window { + onpageshow: (ev: PageTransitionEvent) => any; + addEventListener(type: "pageshow", listener: (ev: PageTransitionEvent) => any, useCapture?: boolean): void; + ondevicemotion: (ev: DeviceMotionEvent) => any; + addEventListener(type: "devicemotion", listener: (ev: DeviceMotionEvent) => any, useCapture?: boolean): void; + devicePixelRatio: number; + msCrypto: Crypto; + ondeviceorientation: (ev: DeviceOrientationEvent) => any; + addEventListener(type: "deviceorientation", listener: (ev: DeviceOrientationEvent) => any, useCapture?: boolean): void; + onmspointerenter: (ev: any) => any; + addEventListener(type: "mspointerenter", listener: (ev: any) => any, useCapture?: boolean): void; + onpagehide: (ev: PageTransitionEvent) => any; + addEventListener(type: "pagehide", listener: (ev: PageTransitionEvent) => any, useCapture?: boolean): void; + onmspointerleave: (ev: any) => any; + addEventListener(type: "mspointerleave", listener: (ev: any) => any, useCapture?: boolean): void; +} + +interface Key { + algorithm: Algorithm; + type: string; + extractable: boolean; + keyUsage: string[]; +} +declare var Key: { + prototype: Key; + new (): Key; +} + +interface TextTrackList extends EventTarget { + onaddtrack: (ev: any) => any; + addEventListener(type: "addtrack", listener: (ev: any) => any, useCapture?: boolean): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} + +interface DeviceAcceleration { + y: number; + x: number; + z: number; +} +declare var DeviceAcceleration: { + prototype: DeviceAcceleration; + new (): DeviceAcceleration; +} + +interface Console { + count(countTitle?: string): void; + groupEnd(): void; + time(timerName?: string): void; + timeEnd(timerName?: string): void; + trace(): void; + group(groupTitle?: string): void; + dirxml(value: any): void; + debug(message?: string, ...optionalParams: any[]): void; + groupCollapsed(groupTitle?: string): void; + select(element: Element): void; +} + +interface MSNavigatorDoNotTrack { + removeSiteSpecificTrackingException(args: ExceptionInformation): boolean; + removeWebWideTrackingException(args: ExceptionInformation): boolean; + storeWebWideTrackingException(args: StoreExceptionsInformation): void; + storeSiteSpecificTrackingException(args: StoreSiteSpecificExceptionsInformation): void; + confirmSiteSpecificTrackingException(args: ConfirmSiteSpecificExceptionsInformation): boolean; + confirmWebWideTrackingException(args: ExceptionInformation): boolean; +} +declare var MSNavigatorDoNotTrack: { + prototype: MSNavigatorDoNotTrack; + new (): MSNavigatorDoNotTrack; +} + +interface HTMLImageElement { + crossOrigin: string; +} + +interface HTMLAllCollection extends HTMLCollection { + namedItem(name: string): Element; +} +declare var HTMLAllCollection: { + prototype: HTMLAllCollection; + new (): HTMLAllCollection; +} + +interface MSNavigatorExtensions { + language: string; +} +declare var MSNavigatorExtensions: { + prototype: MSNavigatorExtensions; + new (): MSNavigatorExtensions; +} + +interface AesGcmEncryptResult { + ciphertext: ArrayBuffer; + tag: ArrayBuffer; +} +declare var AesGcmEncryptResult: { + prototype: AesGcmEncryptResult; + new (): AesGcmEncryptResult; +} + +interface CSSStyleDeclaration { + alignItems: string; + borderImageSource: string; + flexBasis: string; + borderImageWidth: string; + borderImageRepeat: string; + order: string; + flex: string; + alignContent: string; + msImeAlign: string; + flexShrink: string; + flexGrow: string; + borderImageSlice: string; + flexWrap: string; + borderImageOutset: string; + flexDirection: string; + flexFlow: string; + borderImage: string; + justifyContent: string; + alignSelf: string; + msTextCombineHorizontal: string; +} + +interface HTMLSourceElement { + msKeySystem: string; +} + +interface NavigationCompletedEvent extends NavigationEvent { + webErrorStatus: number; + isSuccess: boolean; +} +declare var NavigationCompletedEvent: { + prototype: NavigationCompletedEvent; + new (): NavigationCompletedEvent; +} + +interface MutationRecord { + oldValue: string; + previousSibling: Node; + addedNodes: NodeList; + attributeName: string; + removedNodes: NodeList; + target: Node; + nextSibling: Node; + attributeNamespace: string; + type: string; +} +declare var MutationRecord: { + prototype: MutationRecord; + new (): MutationRecord; +} + +interface Document extends MSDocumentExtensions { + msFullscreenEnabled: boolean; + onmsfullscreenerror: (ev: any) => any; + addEventListener(type: "msfullscreenerror", listener: (ev: any) => any, useCapture?: boolean): void; + onmspointerenter: (ev: any) => any; + addEventListener(type: "mspointerenter", listener: (ev: any) => any, useCapture?: boolean): void; + msFullscreenElement: Element; + onmsfullscreenchange: (ev: any) => any; + addEventListener(type: "msfullscreenchange", listener: (ev: any) => any, useCapture?: boolean): void; + onmspointerleave: (ev: any) => any; + addEventListener(type: "mspointerleave", listener: (ev: any) => any, useCapture?: boolean): void; + msExitFullscreen(): void; +} + +interface MimeTypeArray { + length: number; + item(index: number): Plugin; + [index: number]: Plugin; + namedItem(type: string): Plugin; +} +declare var MimeTypeArray: { + prototype: MimeTypeArray; + new (): MimeTypeArray; +} + +interface HTMLMediaElement { + msPlayToPreferredSourceUri: string; + onmsneedkey: (ev: MSMediaKeyNeededEvent) => any; + addEventListener(type: "msneedkey", listener: (ev: MSMediaKeyNeededEvent) => any, useCapture?: boolean): void; + msKeys: MSMediaKeys; + msGraphicsTrustStatus: MSGraphicsTrust; + msSetMediaKeys(mediaKeys: MSMediaKeys): void; + addTextTrack(kind: string, label?: string, language?: string): TextTrack; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} + +interface TextTrack { + addCue(cue: TextTrackCue): void; + removeCue(cue: TextTrackCue): void; +} + +interface KeyOperation extends EventTarget { + oncomplete: (ev: any) => any; + addEventListener(type: "complete", listener: (ev: any) => any, useCapture?: boolean): void; + onerror: (ev: any) => any; + addEventListener(type: "error", listener: (ev: any) => any, useCapture?: boolean): void; + result: any; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var KeyOperation: { + prototype: KeyOperation; + new (): KeyOperation; +} + +interface DOMStringMap { +} +declare var DOMStringMap: { + prototype: DOMStringMap; + new (): DOMStringMap; +} + +interface DeviceOrientationEvent extends Event { + gamma: number; + alpha: number; + absolute: boolean; + beta: number; + initDeviceOrientationEvent(type: string, bubbles: boolean, cancelable: boolean, alpha: number, beta: number, gamma: number, absolute: boolean): void; +} +declare var DeviceOrientationEvent: { + prototype: DeviceOrientationEvent; + new (): DeviceOrientationEvent; +} + +interface MSMediaKeyMessageEvent extends Event { + destinationURL: string; + message: Uint8Array; +} +declare var MSMediaKeyMessageEvent: { + prototype: MSMediaKeyMessageEvent; + new (): MSMediaKeyMessageEvent; +} + +interface MSMediaKeys { + keySystem: string; + createSession(type: string, initData: Uint8Array, cdmData?: Uint8Array): MSMediaKeySession; + isTypeSupported(keySystem: string, type?: string): boolean; +} +declare var MSMediaKeys: { + prototype: MSMediaKeys; + new (): MSMediaKeys; +} + +interface MSHTMLWebViewElement extends HTMLElement { + documentTitle: string; + width: number; + src: string; + canGoForward: boolean; + height: number; + canGoBack: boolean; + navigateWithHttpRequestMessage(requestMessage: any): void; + goBack(): void; + navigate(uri: string): void; + stop(): void; + navigateToString(contents: string): void; + captureSelectedContentToDataPackageAsync(): MSWebViewAsyncOperation; + capturePreviewToBlobAsync(): MSWebViewAsyncOperation; + refresh(): void; + goForward(): void; + navigateToLocalStreamUri(source: string, streamResolver: any): void; + invokeScriptAsync(scriptName: string, ...args: any[]): MSWebViewAsyncOperation; + buildLocalStreamUri(contentIdentifier: string, relativePath: string): string; +} +declare var MSHTMLWebViewElement: { + prototype: MSHTMLWebViewElement; + new (): MSHTMLWebViewElement; +} + +interface NavigationEvent extends Event { + uri: string; +} +declare var NavigationEvent: { + prototype: NavigationEvent; + new (): NavigationEvent; +} + +interface Element { + onmspointerenter: (ev: any) => any; + addEventListener(type: "mspointerenter", listener: (ev: any) => any, useCapture?: boolean): void; + onmspointerleave: (ev: any) => any; + addEventListener(type: "mspointerleave", listener: (ev: any) => any, useCapture?: boolean): void; + msZoomTo(args: MsZoomToOptions): void; + msGetUntransformedBounds(): ClientRect; + msRequestFullscreen(): void; +} + +interface RandomSource { + getRandomValues(array: ArrayBufferView): ArrayBufferView; +} + +interface XMLHttpRequest { + msCaching: string; + msCachingEnabled(): boolean; + overrideMimeType(mime: string): void; +} + +interface SourceBuffer extends EventTarget { + updating: boolean; + appendWindowStart: number; + appendWindowEnd: number; + buffered: TimeRanges; + timestampOffset: number; + audioTracks: AudioTrackList; + appendBuffer(data: ArrayBuffer): void; + remove(start: number, end: number): void; + abort(): void; + appendStream(stream: MSStream, maxSize?: number): void; +} +declare var SourceBuffer: { + prototype: SourceBuffer; + new (): SourceBuffer; +} + +interface MSInputMethodContext extends EventTarget { + oncandidatewindowshow: (ev: any) => any; + addEventListener(type: "candidatewindowshow", listener: (ev: any) => any, useCapture?: boolean): void; + target: HTMLElement; + compositionStartOffset: number; + oncandidatewindowhide: (ev: any) => any; + addEventListener(type: "candidatewindowhide", listener: (ev: any) => any, useCapture?: boolean): void; + oncandidatewindowupdate: (ev: any) => any; + addEventListener(type: "candidatewindowupdate", listener: (ev: any) => any, useCapture?: boolean): void; + compositionEndOffset: number; + getCompositionAlternatives(): string[]; + getCandidateWindowClientRect(): ClientRect; + hasComposition(): boolean; + isCandidateWindowVisible(): boolean; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var MSInputMethodContext: { + prototype: MSInputMethodContext; + new (): MSInputMethodContext; +} + +interface DeviceRotationRate { + gamma: number; + alpha: number; + beta: number; +} +declare var DeviceRotationRate: { + prototype: DeviceRotationRate; + new (): DeviceRotationRate; +} + +interface PluginArray { + length: number; + refresh(reload?: boolean): void; + item(index: number): Plugin; + [index: number]: Plugin; + namedItem(name: string): Plugin; +} +declare var PluginArray: { + prototype: PluginArray; + new (): PluginArray; +} + +interface MSMediaKeyError { + systemCode: number; + code: number; + MS_MEDIA_KEYERR_SERVICE: number; + MS_MEDIA_KEYERR_HARDWARECHANGE: number; + MS_MEDIA_KEYERR_OUTPUT: number; + MS_MEDIA_KEYERR_DOMAIN: number; + MS_MEDIA_KEYERR_UNKNOWN: number; + MS_MEDIA_KEYERR_CLIENT: number; +} +declare var MSMediaKeyError: { + prototype: MSMediaKeyError; + new (): MSMediaKeyError; + MS_MEDIA_KEYERR_SERVICE: number; + MS_MEDIA_KEYERR_HARDWARECHANGE: number; + MS_MEDIA_KEYERR_OUTPUT: number; + MS_MEDIA_KEYERR_DOMAIN: number; + MS_MEDIA_KEYERR_UNKNOWN: number; + MS_MEDIA_KEYERR_CLIENT: number; +} + +interface Plugin { + length: number; + filename: string; + version: string; + name: string; + description: string; + item(index: number): MimeType; + [index: number]: MimeType; + namedItem(type: string): MimeType; +} +declare var Plugin: { + prototype: Plugin; + new (): Plugin; +} + +interface HTMLFrameSetElement { + onpageshow: (ev: PageTransitionEvent) => any; + addEventListener(type: "pageshow", listener: (ev: PageTransitionEvent) => any, useCapture?: boolean): void; + onpagehide: (ev: PageTransitionEvent) => any; + addEventListener(type: "pagehide", listener: (ev: PageTransitionEvent) => any, useCapture?: boolean): void; +} + +interface Screen extends EventTarget { + msOrientation: string; + onmsorientationchange: (ev: any) => any; + addEventListener(type: "msorientationchange", listener: (ev: any) => any, useCapture?: boolean): void; + msLockOrientation(orientations: string[]): boolean; + msUnlockOrientation(): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} + +interface MediaSource extends EventTarget { + sourceBuffers: SourceBufferList; + duration: string; + readyState: any; + activeSourceBuffers: SourceBufferList; + addSourceBuffer(type: string): SourceBuffer; + endOfStream(error?: string): void; + isTypeSupported(type: string): boolean; + removeSourceBuffer(sourceBuffer: SourceBuffer): void; +} +declare var MediaSource: { + prototype: MediaSource; + new (): MediaSource; +} + +interface MediaError { + MS_MEDIA_ERR_ENCRYPTED: number; +} +//declare var MediaError: { +// prototype: MediaError; +// MS_MEDIA_ERR_ENCRYPTED: number; +//} + +interface SourceBufferList extends EventTarget { + length: number; + item(index: number): SourceBuffer; + [index: number]: SourceBuffer; +} +declare var SourceBufferList: { + prototype: SourceBufferList; + new (): SourceBufferList; +} + +interface XMLDocument extends Document { +} +declare var XMLDocument: { + prototype: XMLDocument; + new (): XMLDocument; +} + +interface DeviceMotionEvent extends Event { + rotationRate: DeviceRotationRate; + acceleration: DeviceAcceleration; + interval: number; + accelerationIncludingGravity: DeviceAcceleration; + initDeviceMotionEvent(type: string, bubbles: boolean, cancelable: boolean, acceleration: DeviceAccelerationDict, accelerationIncludingGravity: DeviceAccelerationDict, rotationRate: DeviceRotationRateDict, interval: number): void; +} +declare var DeviceMotionEvent: { + prototype: DeviceMotionEvent; + new (): DeviceMotionEvent; +} + +interface MimeType { + enabledPlugin: Plugin; + suffixes: string; + type: string; + description: string; +} +declare var MimeType: { + prototype: MimeType; + new (): MimeType; +} + +interface MSDocumentExtensions { + captureEvents(): void; + releaseEvents(): void; +} + +interface HTMLElement { + dataset: DOMStringMap; + hidden: boolean; + msGetInputContext(): MSInputMethodContext; +} + +interface MutationObserver { + observe(target: Node, options: MutationObserverInit): void; + takeRecords(): MutationRecord[]; + disconnect(): void; +} +declare var MutationObserver: { + prototype: MutationObserver; + new (): MutationObserver; +} + +interface AudioTrackList { + onremovetrack: (ev: PluginArray) => any; + //addEventListener(type: "removetrack", listener: (ev: PluginArray) => any, useCapture?: boolean): void; +} + +interface HTMLObjectElement { + msPlayToPreferredSourceUri: string; + msPlayToPrimary: boolean; + msPlayToDisabled: boolean; + msPlayToSource: any; +} + +interface HTMLEmbedElement { + msPlayToPreferredSourceUri: string; + msPlayToPrimary: boolean; + msPlayToDisabled: boolean; + msPlayToSource: any; +} + +interface MSWebViewAsyncOperation extends EventTarget { + target: MSHTMLWebViewElement; + oncomplete: (ev: any) => any; + addEventListener(type: "complete", listener: (ev: any) => any, useCapture?: boolean): void; + error: DOMError; + onerror: (ev: any) => any; + addEventListener(type: "error", listener: (ev: any) => any, useCapture?: boolean): void; + readyState: number; + type: number; + result: any; + start(): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; + ERROR: number; + TYPE_CREATE_DATA_PACKAGE_FROM_SELECTION: number; + TYPE_INVOKE_SCRIPT: number; + COMPLETED: number; + TYPE_CAPTURE_PREVIEW_TO_RANDOM_ACCESS_STREAM: number; + STARTED: number; +} +declare var MSWebViewAsyncOperation: { + prototype: MSWebViewAsyncOperation; + new (): MSWebViewAsyncOperation; + ERROR: number; + TYPE_CREATE_DATA_PACKAGE_FROM_SELECTION: number; + TYPE_INVOKE_SCRIPT: number; + COMPLETED: number; + TYPE_CAPTURE_PREVIEW_TO_RANDOM_ACCESS_STREAM: number; + STARTED: number; +} + +interface ScriptNotifyEvent extends Event { + value: string; + callingUri: string; +} +declare var ScriptNotifyEvent: { + prototype: ScriptNotifyEvent; + new (): ScriptNotifyEvent; +} + +interface PerformanceNavigationTiming extends PerformanceEntry { + redirectStart: number; + domainLookupEnd: number; + responseStart: number; + domComplete: number; + domainLookupStart: number; + loadEventStart: number; + unloadEventEnd: number; + fetchStart: number; + requestStart: number; + domInteractive: number; + navigationStart: number; + connectEnd: number; + loadEventEnd: number; + connectStart: number; + responseEnd: number; + domLoading: number; + redirectEnd: number; + redirectCount: number; + unloadEventStart: number; + domContentLoadedEventStart: number; + domContentLoadedEventEnd: number; + type: string; +} +declare var PerformanceNavigationTiming: { + prototype: PerformanceNavigationTiming; + new (): PerformanceNavigationTiming; +} + +interface MSMediaKeyNeededEvent extends Event { + initData: Uint8Array; +} +declare var MSMediaKeyNeededEvent: { + prototype: MSMediaKeyNeededEvent; + new (): MSMediaKeyNeededEvent; +} + +interface MSManipulationEvent { + MS_MANIPULATION_STATE_SELECTING: number; + MS_MANIPULATION_STATE_COMMITTED: number; + MS_MANIPULATION_STATE_PRESELECT: number; + MS_MANIPULATION_STATE_DRAGGING: number; + MS_MANIPULATION_STATE_CANCELLED: number; +} +//declare var MSManipulationEvent: { +// prototype: MSManipulationEvent; +// MS_MANIPULATION_STATE_SELECTING: number; +// MS_MANIPULATION_STATE_COMMITTED: number; +// MS_MANIPULATION_STATE_PRESELECT: number; +// MS_MANIPULATION_STATE_DRAGGING: number; +// MS_MANIPULATION_STATE_CANCELLED: number; +//} + +interface LongRunningScriptDetectedEvent extends Event { + stopPageScriptExecution: boolean; + executionTime: number; +} +declare var LongRunningScriptDetectedEvent: { + prototype: LongRunningScriptDetectedEvent; + new (): LongRunningScriptDetectedEvent; +} + +interface MSAppView { + viewId: number; + close(): void; + postMessage(message: any, targetOrigin: string, ports?: any): void; +} +declare var MSAppView: { + prototype: MSAppView; + new (): MSAppView; +} + +interface PerfWidgetExternal { + maxCpuSpeed: number; + performanceCounterFrequency: number; + performanceCounter: number; + averagePaintTime: number; + activeNetworkRequestCount: number; + paintRequestsPerSecond: number; + repositionWindow(x: number, y: number): void; + getRecentMemoryUsage(last: number): any; + getMemoryUsage(): number; + resizeWindow(width: number, height: number): void; + getProcessCpuUsage(): number; + removeEventListener(eventType: string, callback: (ev: any) => any): void; + getRecentCpuUsage(last: number): any; + addEventListener(eventType: string, callback: (ev: any) => any): void; + getRecentPaintRequests(last: number): any; +} +declare var PerfWidgetExternal: { + prototype: PerfWidgetExternal; + new (): PerfWidgetExternal; +} + +interface PageTransitionEvent extends Event { + persisted: boolean; +} +declare var PageTransitionEvent: { + prototype: PageTransitionEvent; + new (): PageTransitionEvent; +} + +interface MutationCallback { + (mutations: MutationRecord[], observer: MutationObserver): void; +} + +interface HTMLDocument extends Document { +} +declare var HTMLDocument: { + prototype: HTMLDocument; + new (): HTMLDocument; +} + +interface KeyPair { + privateKey: Key; + publicKey: Key; +} +declare var KeyPair: { + prototype: KeyPair; + new (): KeyPair; +} + +interface MSApp { + getViewOpener(): MSAppView; + suppressSubdownloadCredentialPrompts(suppress: boolean): void; + execAsyncAtPriority(asynchronousCallback: MSExecAtPriorityFunctionCallback, priority: string, ...args: any[]): void; + isTaskScheduledAtPriorityOrHigher(priority: string): boolean; + execAtPriority(synchronousCallback: MSExecAtPriorityFunctionCallback, priority: string, ...args: any[]): any; + createNewView(uri: string): MSAppView; + getCurrentPriority(): string; + NORMAL: string; + HIGH: string; + IDLE: string; + CURRENT: string; +} +//declare var MSApp: { +// prototype: MSApp; +// NORMAL: string; +// HIGH: string; +// IDLE: string; +// CURRENT: string; +//} + +interface HTMLTrackElement { + readyState: number; + ERROR: number; + LOADING: number; + LOADED: number; + NONE: number; +} +//declare var HTMLTrackElement: { +// prototype: HTMLTrackElement; +// ERROR: number; +// LOADING: number; +// LOADED: number; +// NONE: number; +//} + +interface MSMediaKeySession extends EventTarget { + sessionId: string; + error: MSMediaKeyError; + keySystem: string; + close(): void; + update(key: Uint8Array): void; +} +declare var MSMediaKeySession: { + prototype: MSMediaKeySession; + new (): MSMediaKeySession; +} + +interface HTMLVideoElement { + videoPlaybackQuality: VideoPlaybackQuality; +} + +interface UnviewableContentIdentifiedEvent extends NavigationEvent { + referrer: string; +} +declare var UnviewableContentIdentifiedEvent: { + prototype: UnviewableContentIdentifiedEvent; + new (): UnviewableContentIdentifiedEvent; +} + +interface CryptoOperation extends EventTarget { + algorithm: Algorithm; + oncomplete: (ev: any) => any; + addEventListener(type: "complete", listener: (ev: any) => any, useCapture?: boolean): void; + onerror: (ev: any) => any; + addEventListener(type: "error", listener: (ev: any) => any, useCapture?: boolean): void; + onprogress: (ev: any) => any; + addEventListener(type: "progress", listener: (ev: any) => any, useCapture?: boolean): void; + onabort: (ev: any) => any; + addEventListener(type: "abort", listener: (ev: any) => any, useCapture?: boolean): void; + key: Key; + result: any; + abort(): void; + finish(): void; + process(buffer: ArrayBufferView): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; +} +declare var CryptoOperation: { + prototype: CryptoOperation; + new (): CryptoOperation; +} + +declare var onpageshow: (ev: PageTransitionEvent) => any; +declare function addEventListener(type: "pageshow", listener: (ev: PageTransitionEvent) => any, useCapture?: boolean): void; +declare var ondevicemotion: (ev: DeviceMotionEvent) => any; +declare function addEventListener(type: "devicemotion", listener: (ev: DeviceMotionEvent) => any, useCapture?: boolean): void; +declare var devicePixelRatio: number; +declare var msCrypto: Crypto; +declare var ondeviceorientation: (ev: DeviceOrientationEvent) => any; +declare function addEventListener(type: "deviceorientation", listener: (ev: DeviceOrientationEvent) => any, useCapture?: boolean): void; +declare var onmspointerenter: (ev: any) => any; +declare function addEventListener(type: "mspointerenter", listener: (ev: any) => any, useCapture?: boolean): void; +declare var onpagehide: (ev: PageTransitionEvent) => any; +declare function addEventListener(type: "pagehide", listener: (ev: PageTransitionEvent) => any, useCapture?: boolean): void; +declare var onmspointerleave: (ev: any) => any; +declare function addEventListener(type: "mspointerleave", listener: (ev: any) => any, useCapture?: boolean): void; + + +///////////////////////////// +/// WorkerGlobalScope APIs +///////////////////////////// +// TODO: These are only available in a Web Worker - should be in a separate lib file +declare function importScripts(...urls: string[]): void; + + +///////////////////////////// +/// Windows Script Host APIS +///////////////////////////// +declare var ActiveXObject: { new (s: string): any; }; + +interface ITextWriter { + Write(s: string): void; + WriteLine(s: string): void; + Close(): void; +} + +declare var WScript: { + Echo(s: any): void; + StdErr: ITextWriter; + StdOut: ITextWriter; + Arguments: { length: number; Item(n: number): string; }; + ScriptFullName: string; + Quit(exitCode?: number): number; +} + +/// for compatibility with IntelliJ +declare var undefined:undefined; \ No newline at end of file diff --git a/Pictures/Aptana-Coffee-Support.PNG b/Pictures/Aptana-Coffee-Support.PNG new file mode 100644 index 0000000..a41a2c7 Binary files /dev/null and b/Pictures/Aptana-Coffee-Support.PNG differ diff --git a/Pictures/Aptana-plugin-installation.png b/Pictures/Aptana-plugin-installation.png new file mode 100644 index 0000000..d25be34 Binary files /dev/null and b/Pictures/Aptana-plugin-installation.png differ diff --git a/Pictures/Aptana/Compare-With-Each-Other.png b/Pictures/Aptana/Compare-With-Each-Other.png new file mode 100644 index 0000000..ad547b8 Binary files /dev/null and b/Pictures/Aptana/Compare-With-Each-Other.png differ diff --git a/Pictures/auto-remove-trailing-spaces.PNG b/Pictures/auto-remove-trailing-spaces.PNG new file mode 100644 index 0000000..c918992 Binary files /dev/null and b/Pictures/auto-remove-trailing-spaces.PNG differ diff --git a/Quotes.md b/Quotes.md new file mode 100644 index 0000000..0425b7c --- /dev/null +++ b/Quotes.md @@ -0,0 +1,18 @@ + + +# Interesting quotes + +## GIMP + +http://en.wikipedia.org/wiki/GIMP + +> GIMP (GNU Image Manipulation Program) is an image retouching and editing tool[5] and is released under the LGPLv3 and later versions and the GPLv3 and later versions as free and open-source software. There are versions tailored for most operating systems including Linux, OS X, and Microsoft Windows. + +> GIMP has tools used for image retouching and editing, free-form drawing, resizing, cropping, photo-montages, converting between different image formats, and more specialized tasks. Animated images such as GIF and MPEG files can be created using an animation plugin. + +> The developers and maintainers of GIMP strive to create a high-end free software graphics application for the editing and creation of original images, photos, icons, graphical elements of web pages, and art for user interface elements. + +http://www.gimp.org/ + +Sponsoring symmetric painting mode2013-09-23 
image

Jehan Pagès, one of our active contributors, started a personal crowdfunding campaign to sponsor his work on symmetric painting in GIMP. You can find more information in his blog, and there's a video of a proof-of-concept implementation on YouTube. If you care about GIMP as a tool for digital painting, supporting this project is likely to benefit your workflow.

+

While we are not ready for a full-fledged crowdfunding campaign for GIMP yet, we think that this kind of focused campaigns, tailored for particular audiences, definitely have merit.

\ No newline at end of file diff --git a/README.md b/README.md index 2eb7338..ffe2f59 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ After installation you have more icons in Help -> About Eclipse Some recommended configuration (These steps are needed for every new workspace): -Moved to +Moved to ## Usage in pictures @@ -206,3 +206,6 @@ In case you plan to blog or tweet about the Eclipse Node.js IDE, please use the | Por favor, utilizar etiqueta #nodeclipse #enide | ツイートする時は、#nodeclipse #enide タグを使用してください。 | Bitte benutzen Sie tag #nodeclipse #enide um zu twiten. + +with-Eclipse logo + diff --git a/TODO-SAY_THANKS.md b/TODO-SAY_THANKS.md new file mode 100644 index 0000000..2ea5872 --- /dev/null +++ b/TODO-SAY_THANKS.md @@ -0,0 +1,14 @@ + + + + +## Say Thanks + +Say thanks and support keeping this project updated + +Donate Bitcoins + + + diff --git a/VERSION b/VERSION index f9a09d6..8076af5 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.4.25 \ No newline at end of file +0.15.1 \ No newline at end of file diff --git a/editors/Advanced_Content_Assist_JS_Preferences.png b/editors/Advanced_Content_Assist_JS_Preferences.png new file mode 100644 index 0000000..f4660a1 Binary files /dev/null and b/editors/Advanced_Content_Assist_JS_Preferences.png differ diff --git a/editors/Eclipse-Text-Editors-Preferences.PNG b/editors/Eclipse-Text-Editors-Preferences.PNG new file mode 100644 index 0000000..5c14bf2 Binary files /dev/null and b/editors/Eclipse-Text-Editors-Preferences.PNG differ diff --git a/editors/Eclipse-print-margin-column.PNG b/editors/Eclipse-print-margin-column.PNG new file mode 100644 index 0000000..b26bf8d Binary files /dev/null and b/editors/Eclipse-print-margin-column.PNG differ diff --git a/editors/JSDT-Save_Actions-Remove_traling_whitespace.png b/editors/JSDT-Save_Actions-Remove_traling_whitespace.png new file mode 100644 index 0000000..ab06c10 Binary files /dev/null and b/editors/JSDT-Save_Actions-Remove_traling_whitespace.png differ diff --git a/editors/JSDT.md b/editors/JSDT.md new file mode 100644 index 0000000..ce111b9 --- /dev/null +++ b/editors/JSDT.md @@ -0,0 +1,8 @@ + + + +JavaScript - Editor - Save Actions +![](JSDT-Save_Actions-Remove_traling_whitespace.png) + +Advanced Content Assist Preferences (Ctr+3 type adv) +![](Advanced_Content_Assist_JS_Preferences.png) diff --git a/p2files/Closure-by-Vincent.Simonet.p2f b/p2files/Closure-by-Vincent.Simonet.p2f new file mode 100644 index 0000000..54b9b68 --- /dev/null +++ b/p2files/Closure-by-Vincent.Simonet.p2f @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/p2files/JSHint.p2f b/p2files/JSHint.p2f new file mode 100644 index 0000000..cf6cb73 --- /dev/null +++ b/p2files/JSHint.p2f @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/p2files/NJSDT.p2f b/p2files/NJSDT.p2f new file mode 100644 index 0000000..a0a8744 --- /dev/null +++ b/p2files/NJSDT.p2f @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/p2files/bytecode-visualizer-by-drgarbage.p2f b/p2files/bytecode-visualizer-by-drgarbage.p2f new file mode 100644 index 0000000..ca52817 --- /dev/null +++ b/p2files/bytecode-visualizer-by-drgarbage.p2f @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/p2files/cucumber-JVM.p2f b/p2files/cucumber-JVM.p2f new file mode 100644 index 0000000..5b6767f --- /dev/null +++ b/p2files/cucumber-JVM.p2f @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/p2files/dart-editor-for-eclipse.p2f b/p2files/dart-editor-for-eclipse.p2f new file mode 100644 index 0000000..4cbe604 --- /dev/null +++ b/p2files/dart-editor-for-eclipse.p2f @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/p2files/easyshell.p2f b/p2files/easyshell.p2f new file mode 100644 index 0000000..df7f6ea --- /dev/null +++ b/p2files/easyshell.p2f @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/p2files/eclipserunner.p2f b/p2files/eclipserunner.p2f new file mode 100644 index 0000000..6e4abb6 --- /dev/null +++ b/p2files/eclipserunner.p2f @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/p2files/hudson-conn.p2f b/p2files/hudson-conn.p2f new file mode 100644 index 0000000..e4e701f --- /dev/null +++ b/p2files/hudson-conn.p2f @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/p2files/iconedit-pdetools.p2f b/p2files/iconedit-pdetools.p2f new file mode 100644 index 0000000..01655bd --- /dev/null +++ b/p2files/iconedit-pdetools.p2f @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/p2files/jsdt132.p2f b/p2files/jsdt132.p2f new file mode 100644 index 0000000..b0479e1 --- /dev/null +++ b/p2files/jsdt132.p2f @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/p2files/jsdt150.p2f b/p2files/jsdt150.p2f new file mode 100644 index 0000000..50f3483 --- /dev/null +++ b/p2files/jsdt150.p2f @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/p2files/languages.p2f b/p2files/languages.p2f new file mode 100644 index 0000000..45919f5 --- /dev/null +++ b/p2files/languages.p2f @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/p2files/mongo.p2f b/p2files/mongo.p2f new file mode 100644 index 0000000..d2d2674 --- /dev/null +++ b/p2files/mongo.p2f @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/p2files/mpc.p2f b/p2files/mpc.p2f new file mode 100644 index 0000000..6147457 --- /dev/null +++ b/p2files/mpc.p2f @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/p2files/open-closed-projects.p2f b/p2files/open-closed-projects.p2f new file mode 100644 index 0000000..8c64337 --- /dev/null +++ b/p2files/open-closed-projects.p2f @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/p2files/perforce.p2f b/p2files/perforce.p2f new file mode 100644 index 0000000..7fcfbab --- /dev/null +++ b/p2files/perforce.p2f @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/p2files/practicallymacro.p2f b/p2files/practicallymacro.p2f new file mode 100644 index 0000000..f78e0c5 --- /dev/null +++ b/p2files/practicallymacro.p2f @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/p2files/quicks-4.p2f b/p2files/quicks-4.p2f new file mode 100644 index 0000000..cdf02eb --- /dev/null +++ b/p2files/quicks-4.p2f @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/p2files/regexp-and-glance.p2f b/p2files/regexp-and-glance.p2f new file mode 100644 index 0000000..6073f9b --- /dev/null +++ b/p2files/regexp-and-glance.p2f @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/p2files/remote-explorer.p2f b/p2files/remote-explorer.p2f new file mode 100644 index 0000000..5370b5c --- /dev/null +++ b/p2files/remote-explorer.p2f @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/p2files/selection-explore.p2f b/p2files/selection-explore.p2f new file mode 100644 index 0000000..1078bfe --- /dev/null +++ b/p2files/selection-explore.p2f @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/p2files/yaml-editor.p2f b/p2files/yaml-editor.p2f new file mode 100644 index 0000000..9e720cd --- /dev/null +++ b/p2files/yaml-editor.p2f @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/sample/coffee.coffee b/sample/coffee.coffee new file mode 100644 index 0000000..113aa34 --- /dev/null +++ b/sample/coffee.coffee @@ -0,0 +1,28 @@ +# Assignment: +number = 42 +opposite = true + +# Conditions: +number = -42 if opposite + +# Functions: +square = (x) -> x * x + +# Arrays: +list = [1, 2, 3, 4, 5] + +# Objects: +math = + root: Math.sqrt + square: square + cube: (x) -> x * square x + +# Splats: +race = (winner, runners...) -> + print winner, runners + +# Existence: +alert "I knew it!" if elvis? + +# Array comprehensions: +cubes = (math.cube num for num in list) \ No newline at end of file diff --git a/sample/coffee.litcoffee b/sample/coffee.litcoffee new file mode 100644 index 0000000..113aa34 --- /dev/null +++ b/sample/coffee.litcoffee @@ -0,0 +1,28 @@ +# Assignment: +number = 42 +opposite = true + +# Conditions: +number = -42 if opposite + +# Functions: +square = (x) -> x * x + +# Arrays: +list = [1, 2, 3, 4, 5] + +# Objects: +math = + root: Math.sqrt + square: square + cube: (x) -> x * square x + +# Splats: +race = (winner, runners...) -> + print winner, runners + +# Existence: +alert "I knew it!" if elvis? + +# Array comprehensions: +cubes = (math.cube num for num in list) \ No newline at end of file