2 * Copyright 2008 The Closure Compiler Authors
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 * @fileoverview Definitions for all the extensions over the
19 * W3C's DOM specification by IE in JScript. This file depends on
20 * w3c_dom2.js. The whole file has NOT been fully type annotated.
22 * When a non-standard extension appears in both Gecko and IE, we put
26 * @author stevey@google.com (Steve Yegge)
29 // TODO(nicksantos): Rewrite all the DOM interfaces as interfaces, instead
30 // of kludging them as an inheritance hierarchy.
35 * @see http://msdn.microsoft.com/en-us/library/ms757878(VS.85).aspx
37 function XMLDOMDocument() {}
41 * @see http://msdn.microsoft.com/en-us/library/ms761398(VS.85).aspx
43 XMLDOMDocument.prototype.async;
47 * @see http://msdn.microsoft.com/en-us/library/ms762647(VS.85).aspx
49 XMLDOMDocument.prototype.ondataavailable;
53 * @see http://msdn.microsoft.com/en-us/library/ms764640(VS.85).aspx
55 XMLDOMDocument.prototype.onreadystatechange;
59 * @see http://msdn.microsoft.com/en-us/library/ms753795(VS.85).aspx
61 XMLDOMDocument.prototype.ontransformnode;
65 * @see http://msdn.microsoft.com/en-us/library/ms756041(VS.85).aspx
67 XMLDOMDocument.prototype.parseError;
71 * @see http://msdn.microsoft.com/en-us/library/ms761353(VS.85).aspx
73 XMLDOMDocument.prototype.preserveWhiteSpace;
77 * @see http://msdn.microsoft.com/en-us/library/ms753702(VS.85).aspx
79 XMLDOMDocument.prototype.readyState;
82 * @see http://msdn.microsoft.com/en-us/library/ms762283(VS.85).aspx
85 XMLDOMDocument.prototype.resolveExternals;
88 * @see http://msdn.microsoft.com/en-us/library/ms760290(v=vs.85).aspx
89 * @param {string} name
92 XMLDOMDocument.prototype.setProperty = function(name, value) {};
96 * @see http://msdn.microsoft.com/en-us/library/ms767669(VS.85).aspx
98 XMLDOMDocument.prototype.url;
102 * @see http://msdn.microsoft.com/en-us/library/ms762791(VS.85).aspx
104 XMLDOMDocument.prototype.validateOnParse;
107 * @see http://msdn.microsoft.com/en-us/library/ms763830(VS.85).aspx
109 XMLDOMDocument.prototype.abort = function() {};
113 * @param {string} name
114 * @param {string} namespaceURI
116 * @see http://msdn.microsoft.com/en-us/library/ms757901(VS.85).aspx
119 XMLDOMDocument.prototype.createNode = function(type, name, namespaceURI) {};
122 * @param {string} xmlSource
124 * @see http://msdn.microsoft.com/en-us/library/ms762722(VS.85).aspx
127 XMLDOMDocument.prototype.load = function(xmlSource) {};
130 * @param {string} xmlString
132 * @see http://msdn.microsoft.com/en-us/library/ms754585(VS.85).aspx
135 XMLDOMDocument.prototype.loadXML = function(xmlString) {};
140 * @see http://msdn.microsoft.com/en-us/library/ms766397(VS.85).aspx
142 XMLDOMDocument.prototype.nodeFromID = function(id) {};
144 //==============================================================================
145 // XMLNode methods and properties
146 // In a real DOM hierarchy, XMLDOMDocument inherits from XMLNode and Document.
147 // Since we can't express that in our type system, we put XMLNode properties
152 * @see http://msdn.microsoft.com/en-us/library/ms767570(VS.85).aspx
154 Node.prototype.baseName;
158 * @see http://msdn.microsoft.com/en-us/library/ms762763(VS.85).aspx
160 Node.prototype.dataType;
164 * @see http://msdn.microsoft.com/en-us/library/ms764733(VS.85).aspx
166 Node.prototype.definition;
169 * IE5 used document instead of ownerDocument.
170 * Old versions of WebKit used document instead of contentDocument.
173 Node.prototype.document;
177 * Inserts the given HTML text into the element at the location.
178 * @param {string} sWhere Where to insert the HTML text, one of 'beforeBegin',
179 * 'afterBegin', 'beforeEnd', 'afterEnd'.
180 * @param {string} sText HTML text to insert.
181 * @see http://msdn.microsoft.com/en-us/library/ms536452(VS.85).aspx
183 Node.prototype.insertAdjacentHTML = function(sWhere, sText) {};
188 * @see http://msdn.microsoft.com/en-us/library/ms762308(VS.85).aspx
190 Node.prototype.nodeTypedValue;
194 * @see http://msdn.microsoft.com/en-us/library/ms757895(VS.85).aspx
196 Node.prototype.nodeTypeString;
200 * @see http://msdn.microsoft.com/en-us/library/ms762237(VS.85).aspx
202 Node.prototype.parsed;
206 * @see http://msdn.microsoft.com/en-us/library/ms534327(VS.85).aspx
208 Node.prototype.parentElement;
212 * @see http://msdn.microsoft.com/en-us/library/ms753816(VS.85).aspx
214 Node.prototype.specified;
218 * @see http://msdn.microsoft.com/en-us/library/ms762687(VS.85).aspx
224 * @see http://msdn.microsoft.com/en-us/library/ms755989(VS.85).aspx
229 * @param {string} expression An XPath expression.
231 * @see http://msdn.microsoft.com/en-us/library/ms754523(VS.85).aspx
234 Node.prototype.selectNodes = function(expression) {};
237 * @param {string} expression An XPath expression.
239 * @see http://msdn.microsoft.com/en-us/library/ms757846(VS.85).aspx
242 Node.prototype.selectSingleNode = function(expression) {};
245 * @param {Node} stylesheet XSLT stylesheet.
247 * @see http://msdn.microsoft.com/en-us/library/ms761399(VS.85).aspx
250 Node.prototype.transformNode = function(stylesheet) {};
253 * @param {Node} stylesheet XSLT stylesheet.
254 * @param {Object} outputObject
255 * @see http://msdn.microsoft.com/en-us/library/ms766561(VS.85).aspx
257 Node.prototype.transformNodeToObject =
258 function(stylesheet, outputObject) {};
260 //==============================================================================
264 * @param {boolean=} opt_bRemoveChildren Whether to remove the entire sub-tree.
266 * @return {Node} The object that was removed.
267 * @see http://msdn.microsoft.com/en-us/library/ms536708(VS.85).aspx
269 Node.prototype.removeNode = function(opt_bRemoveChildren) {};
274 function ClipboardData() {}
277 * @see http://msdn.microsoft.com/en-us/library/ms535220(VS.85).aspx
278 * @param {string=} opt_type Type of clipboard data to clear. 'Text' or
279 * 'URL' or 'File' or 'HTML' or 'Image'.
281 ClipboardData.prototype.clearData = function(opt_type) {};
284 * @see http://msdn.microsoft.com/en-us/library/ms535220(VS.85).aspx
285 * @param {string} type Type of clipboard data to set ('Text' or 'URL').
286 * @param {string} data Data to set
287 * @return {boolean} Whether the data were set correctly.
289 ClipboardData.prototype.setData = function(type, data) {};
292 * @see http://msdn.microsoft.com/en-us/library/ms535220(VS.85).aspx
293 * @param {string} type Type of clipboard data to get ('Text' or 'URL').
294 * @return {string} The current data
296 ClipboardData.prototype.getData = function(type) { };
300 * @see https://developer.mozilla.org/en/DOM/window
305 * @see http://msdn.microsoft.com/en-us/library/ms535220(VS.85).aspx
306 * @type ClipboardData
308 Window.prototype.clipboardData;
311 * @see http://msdn.microsoft.com/en-us/library/ms533724(VS.85).aspx
313 Window.prototype.dialogHeight;
316 * @see http://msdn.microsoft.com/en-us/library/ms533725(VS.85).aspx
318 Window.prototype.dialogLeft;
321 * @see http://msdn.microsoft.com/en-us/library/ms533726(VS.85).aspx
323 Window.prototype.dialogTop;
326 * @see http://msdn.microsoft.com/en-us/library/ms533727(VS.85).aspx
328 Window.prototype.dialogWidth;
331 * @see http://msdn.microsoft.com/en-us/library/ms535863(VS.85).aspx
333 Window.prototype.event;
336 * @see http://msdn.microsoft.com/en-us/library/cc197012(VS.85).aspx
338 Window.prototype.maxConnectionsPer1_0Server;
341 * @see http://msdn.microsoft.com/en-us/library/cc197013(VS.85).aspx
343 Window.prototype.maxConnectionsPerServer;
346 * @see http://msdn.microsoft.com/en-us/library/ms534198(VS.85).aspx
348 Window.prototype.offscreenBuffering;
351 * @see http://msdn.microsoft.com/en-us/library/ms534389(VS.85).aspx
353 Window.prototype.screenLeft;
356 * @see http://msdn.microsoft.com/en-us/library/ms534389(VS.85).aspx
358 Window.prototype.screenTop;
363 * @param {string} event
364 * @param {Function} handler
365 * @see http://msdn.microsoft.com/en-us/library/ms536343(VS.85).aspx
367 Window.prototype.attachEvent;
370 * @see http://msdn.microsoft.com/en-us/library/ms536392(VS.85).aspx
372 Window.prototype.createPopup;
375 * @param {string} event
376 * @param {Function} handler
377 * @see http://msdn.microsoft.com/en-us/library/ms536411(VS.85).aspx
379 Window.prototype.detachEvent;
382 * @see http://msdn.microsoft.com/en-us/library/ms536420(VS.85).aspx
384 Window.prototype.execScript;
387 * @see http://msdn.microsoft.com/en-us/library/ms536425(VS.85).aspx
389 Window.prototype.focus;
394 * @see http://msdn.microsoft.com/en-us/library/ms536618(VS.85).aspx
396 Window.prototype.moveBy = function(x, y) {};
401 * @see http://msdn.microsoft.com/en-us/library/ms536626(VS.85).aspx
403 Window.prototype.moveTo = function(x, y) {};
406 * @see http://msdn.microsoft.com/en-us/library/ms536638(VS.85).aspx
408 Window.prototype.navigate;
411 * @param {*=} opt_url
412 * @param {string=} opt_windowName
413 * @param {string=} opt_windowFeatures
414 * @param {boolean=} opt_replace
416 * @see http://msdn.microsoft.com/en-us/library/ms536651(VS.85).aspx
418 Window.prototype.open = function(opt_url, opt_windowName, opt_windowFeatures,
422 * @see http://msdn.microsoft.com/en-us/library/ms536672(VS.85).aspx
424 Window.prototype.print = function() {};
427 * @param {number} width
428 * @param {number} height
429 * @see http://msdn.microsoft.com/en-us/library/ms536722(VS.85).aspx
431 Window.prototype.resizeBy = function(width, height) {};
434 * @param {number} width
435 * @param {number} height
436 * @see http://msdn.microsoft.com/en-us/library/ms536723(VS.85).aspx
438 Window.prototype.resizeTo = function(width, height) {};
441 * @see http://msdn.microsoft.com/en-us/library/ms536738(VS.85).aspx
443 Window.prototype.setActive;
446 * @see http://msdn.microsoft.com/en-us/library/ms536758(VS.85).aspx
448 Window.prototype.showHelp;
451 * @see http://msdn.microsoft.com/en-us/library/ms536761(VS.85).aspx
453 Window.prototype.showModelessDialog;
456 * @see http://msdn.microsoft.com/en-us/library/ms535246%28v=vs.85%29.aspx
459 Window.prototype.external;
464 function History() { };
467 * @see http://msdn.microsoft.com/en-us/library/ms535864(VS.85).aspx
468 * @param {number|string} delta The number of entries to go back, or
469 * the URL to which to go back. (URL form is supported only in IE)
471 History.prototype.go = function(delta) {};
474 * @see http://msdn.microsoft.com/en-us/library/ms535864(VS.85).aspx
475 * @param {number=} opt_distance The number of entries to go back
476 * (Mozilla doesn't support distance -- use #go instead)
478 History.prototype.back = function(opt_distance) {};
481 * @see http://msdn.microsoft.com/en-us/library/ms535864(VS.85).aspx
484 History.prototype.length;
487 * @see http://msdn.microsoft.com/en-us/library/ms535864(VS.85).aspx
489 History.prototype.forward = function() {};
494 * @see http://msdn.microsoft.com/en-us/library/ie/ms533072(v=vs.85).aspx
496 HTMLFrameElement.prototype.allowTransparency;
500 * @see http://msdn.microsoft.com/en-us/library/ms533692(VS.85).aspx
502 HTMLFrameElement.prototype.contentWindow;
507 * @see http://msdn.microsoft.com/en-us/library/ie/ms533072(v=vs.85).aspx
509 HTMLIFrameElement.prototype.allowTransparency;
513 * @see http://msdn.microsoft.com/en-us/library/ms533692(VS.85).aspx
515 HTMLIFrameElement.prototype.contentWindow;
518 * @see http://msdn.microsoft.com/en-us/library/ms536385(VS.85).aspx
520 HTMLBodyElement.prototype.createControlRange;
524 * @see http://msdn.microsoft.com/en-us/library/ms534359(VS.85).aspx
526 HTMLScriptElement.prototype.readyState;
530 * @see http://msdn.microsoft.com/en-us/library/ms534359(VS.85).aspx
532 HTMLIFrameElement.prototype.readyState;
536 * @see http://msdn.microsoft.com/en-us/library/ms534359(VS.85).aspx
538 HTMLImageElement.prototype.readyState;
542 * @see http://msdn.microsoft.com/en-us/library/ms534359(VS.85).aspx
544 HTMLObjectElement.prototype.readyState;
550 function ControlRange() {}
552 ControlRange.prototype.add;
553 ControlRange.prototype.addElement;
554 ControlRange.prototype.execCommand;
555 ControlRange.prototype.item;
556 ControlRange.prototype.queryCommandEnabled;
557 ControlRange.prototype.queryCommandIndeterm;
558 ControlRange.prototype.queryCommandState;
559 ControlRange.prototype.queryCommandSupported;
560 ControlRange.prototype.queryCommandValue;
561 ControlRange.prototype.remove;
562 ControlRange.prototype.scrollIntoView;
563 ControlRange.prototype.select;
567 * @see http://msdn.microsoft.com/en-us/library/ms535872.aspx
569 function TextRange() {}
572 * @see http://msdn.microsoft.com/en-us/library/ms533538(VS.85).aspx
574 TextRange.prototype.boundingHeight;
577 * @see http://msdn.microsoft.com/en-us/library/ms533539(VS.85).aspx
579 TextRange.prototype.boundingLeft;
582 * @see http://msdn.microsoft.com/en-us/library/ms533540(VS.85).aspx
584 TextRange.prototype.boundingTop;
587 * @see http://msdn.microsoft.com/en-us/library/ms533541(VS.85).aspx
589 TextRange.prototype.boundingWidth;
592 * @see http://msdn.microsoft.com/en-us/library/ms533874(VS.85).aspx
594 TextRange.prototype.htmlText;
597 * @see http://msdn.microsoft.com/en-us/library/ms534200(VS.85).aspx
599 TextRange.prototype.offsetLeft;
602 * @see http://msdn.microsoft.com/en-us/library/ms534303(VS.85).aspx
604 TextRange.prototype.offsetTop;
607 * @see http://msdn.microsoft.com/en-us/library/ms534676(VS.85).aspx
609 TextRange.prototype.text;
612 * @see http://msdn.microsoft.com/en-us/library/ms536371(VS.85).aspx
614 TextRange.prototype.collapse;
617 * @see http://msdn.microsoft.com/en-us/library/ms536373(VS.85).aspx
619 TextRange.prototype.compareEndPoints;
622 * @see http://msdn.microsoft.com/en-us/library/ms536416(VS.85).aspx
624 TextRange.prototype.duplicate;
627 * @see http://msdn.microsoft.com/en-us/library/ms536419(VS.85).aspx
629 TextRange.prototype.execCommand;
632 * @see http://msdn.microsoft.com/en-us/library/ms536421(VS.85).aspx
634 TextRange.prototype.expand;
637 * @see http://msdn.microsoft.com/en-us/library/ms536422(VS.85).aspx
639 TextRange.prototype.findText;
642 * @see http://msdn.microsoft.com/en-us/library/ms536432(VS.85).aspx
644 TextRange.prototype.getBookmark;
647 * @see http://msdn.microsoft.com/en-us/library/ms536433(VS.85).aspx
649 TextRange.prototype.getBoundingClientRect;
652 * @see http://msdn.microsoft.com/en-us/library/ms536435(VS.85).aspx
654 TextRange.prototype.getClientRects;
657 * @see http://msdn.microsoft.com/en-us/library/ms536450(VS.85).aspx
659 TextRange.prototype.inRange;
662 * @see http://msdn.microsoft.com/en-us/library/ms536458(VS.85).aspx
664 TextRange.prototype.isEqual;
667 * @see http://msdn.microsoft.com/en-us/library/ms536616(VS.85).aspx
669 TextRange.prototype.move;
672 * @see http://msdn.microsoft.com/en-us/library/ms536620(VS.85).aspx
674 TextRange.prototype.moveEnd;
677 * @see http://msdn.microsoft.com/en-us/library/ms536623(VS.85).aspx
679 TextRange.prototype.moveStart;
682 * @see http://msdn.microsoft.com/en-us/library/ms536628(VS.85).aspx
684 TextRange.prototype.moveToBookmark;
687 * @see http://msdn.microsoft.com/en-us/library/ms536630(VS.85).aspx
689 TextRange.prototype.moveToElementText;
692 * @see http://msdn.microsoft.com/en-us/library/ms536632(VS.85).aspx
694 TextRange.prototype.moveToPoint;
697 * @see http://msdn.microsoft.com/en-us/library/ms536654(VS.85).aspx
699 TextRange.prototype.parentElement;
702 * @see http://msdn.microsoft.com/en-us/library/ms536656(VS.85).aspx
704 TextRange.prototype.pasteHTML;
707 * @see http://msdn.microsoft.com/en-us/library/ms536676(VS.85).aspx
709 TextRange.prototype.queryCommandEnabled;
712 * @see http://msdn.microsoft.com/en-us/library/ms536678(VS.85).aspx
714 TextRange.prototype.queryCommandIndeterm;
717 * @see http://msdn.microsoft.com/en-us/library/ms536679(VS.85).aspx
719 TextRange.prototype.queryCommandState;
722 * @see http://msdn.microsoft.com/en-us/library/ms536681(VS.85).aspx
724 TextRange.prototype.queryCommandSupported;
727 * @see http://msdn.microsoft.com/en-us/library/ms536683(VS.85).aspx
729 TextRange.prototype.queryCommandValue;
732 * @see http://msdn.microsoft.com/en-us/library/ms536730(VS.85).aspx
734 TextRange.prototype.scrollIntoView;
737 * @see http://msdn.microsoft.com/en-us/library/ms536735(VS.85).aspx
739 TextRange.prototype.select;
742 * @see http://msdn.microsoft.com/en-us/library/ms536745(VS.85).aspx
744 TextRange.prototype.setEndPoint;
747 * @return {undefined}
748 * @see http://msdn.microsoft.com/en-us/library/ms536418(VS.85).aspx
750 Selection.prototype.clear = function() {};
753 * @return {TextRange|ControlRange}
754 * @see http://msdn.microsoft.com/en-us/library/ms536394(VS.85).aspx
756 Selection.prototype.createRange = function() {};
759 * @return {Array.<TextRange>}
760 * @see http://msdn.microsoft.com/en-us/library/ms536396(VS.85).aspx
762 Selection.prototype.createRangeCollection = function() {};
766 * @see http://msdn.microsoft.com/en-us/library/ms537447(VS.85).aspx
768 function controlRange() {}
771 Document.prototype.loadXML;
774 // http://msdn.microsoft.com/en-us/library/ms531073(VS.85).aspx
777 * @see http://msdn.microsoft.com/en-us/library/ms533065(VS.85).aspx
779 Document.prototype.activeElement;
782 * @see http://msdn.microsoft.com/en-us/library/ms533553(VS.85).aspx
784 Document.prototype.charset;
787 * @see http://msdn.microsoft.com/en-us/library/ms533693(VS.85).aspx
789 Document.prototype.cookie;
792 * @see http://msdn.microsoft.com/en-us/library/ms533714(VS.85).aspx
794 Document.prototype.defaultCharset;
797 * @see http://msdn.microsoft.com/en-us/library/ms533731(VS.85).aspx
799 Document.prototype.dir;
802 * @see http://msdn.microsoft.com/en-us/library/cc196988(VS.85).aspx
804 Document.prototype.documentMode;
807 * @see http://msdn.microsoft.com/en-us/library/ms533747(VS.85).aspx
809 Document.prototype.expando;
812 * @see http://msdn.microsoft.com/en-us/library/ms533750(VS.85).aspx
814 Document.prototype.fileCreatedDate;
817 * @see http://msdn.microsoft.com/en-us/library/ms533751(VS.85).aspx
819 Document.prototype.fileModifiedDate;
822 * @see http://msdn.microsoft.com/en-us/library/ms533752(VS.85).aspx
824 Document.prototype.fileSize;
827 * @see http://msdn.microsoft.com/en-us/library/ms534331(VS.85).aspx
829 Document.prototype.parentWindow;
832 * @see http://msdn.microsoft.com/en-us/library/ms534353(VS.85).aspx
834 Document.prototype.protocol;
838 * @see http://msdn.microsoft.com/en-us/library/ms534359(VS.85).aspx
840 HTMLDocument.prototype.readyState;
844 * @see http://msdn.microsoft.com/en-us/library/ms535869(VS.85).aspx
846 Document.prototype.selection;
849 * @see http://msdn.microsoft.com/en-us/library/ms534704(VS.85).aspx
851 Document.prototype.uniqueID;
854 * @see http://msdn.microsoft.com/en-us/library/ms534709(VS.85).aspx
856 Document.prototype.URLUnencoded;
859 * @see http://msdn.microsoft.com/en-us/library/ms535155(VS.85).aspx
861 Document.prototype.XMLDocument;
864 * @see http://msdn.microsoft.com/en-us/library/ms535163(VS.85).aspx
866 Document.prototype.XSLDocument;
871 * @param {string} event
872 * @param {Function} handler
873 * @see http://msdn.microsoft.com/en-us/library/ms536343(VS.85).aspx
875 Document.prototype.attachEvent;
878 * @see http://msdn.microsoft.com/en-us/library/ms536390(VS.85).aspx
880 Document.prototype.createEventObject;
883 * @see http://msdn.microsoft.com/en-us/library/ms531194(VS.85).aspx
885 Document.prototype.createStyleSheet;
888 * @param {string} event
889 * @param {Function} handler
890 * @see http://msdn.microsoft.com/en-us/library/ms536411(VS.85).aspx
892 Document.prototype.detachEvent;
895 * @see http://msdn.microsoft.com/en-us/library/ms536425(VS.85).aspx
897 Document.prototype.focus;
900 * @see http://msdn.microsoft.com/en-us/library/ms536447(VS.85).aspx
903 Document.prototype.hasFocus = function() {};
906 * @see http://msdn.microsoft.com/en-us/library/ms536614(VS.85).aspx
908 Document.prototype.mergeAttributes;
911 * @see http://msdn.microsoft.com/en-us/library/ms536685(VS.85).aspx
913 Document.prototype.recalc;
916 * @see http://msdn.microsoft.com/en-us/library/ms536689(VS.85).aspx
918 Document.prototype.releaseCapture;
921 * @see http://msdn.microsoft.com/en-us/library/ms536738(VS.85).aspx
923 Document.prototype.setActive;
929 * @see http://msdn.microsoft.com/en-us/library/ms537434(VS.85).aspx
931 Document.prototype.all;
934 * @see http://msdn.microsoft.com/en-us/library/ms537445(VS.85).aspx
936 Document.prototype.childNodes;
939 * @see http://msdn.microsoft.com/en-us/library/ms537459(VS.85).aspx
941 Document.prototype.frames;
944 * @see http://msdn.microsoft.com/en-us/library/ms537470(VS.85).aspx
946 Document.prototype.namespaces;
949 * @see http://msdn.microsoft.com/en-us/library/ms537487(VS.85).aspx
951 Document.prototype.scripts;
954 * @param {string} sUrl
956 * @see http://msdn.microsoft.com/en-us/library/ms535922(VS.85).aspx
958 Element.prototype.addBehavior = function(sUrl) {};
961 * @param {string} event
962 * @param {Function} handler
963 * @see http://msdn.microsoft.com/en-us/library/mm536343(v=vs.85).aspx
965 Element.prototype.attachEvent;
969 * @see http://msdn.microsoft.com/en-us/library/ms533546(VS.85).aspx
971 Element.prototype.canHaveChildren;
975 * @see http://msdn.microsoft.com/en-us/library/ms533559(v=vs.85).aspx
977 Element.prototype.classid;
980 * @param {number} iCoordX Integer that specifies the client window coordinate
982 * @param {number} iCoordY Integer that specifies the client window coordinate
984 * @return {string} The component of an element located at the specified
986 * @see http://msdn.microsoft.com/en-us/library/ms536375(VS.85).aspx
989 Element.prototype.componentFromPoint = function(iCoordX, iCoordY) {};
994 * @see http://msdn.microsoft.com/en-us/library/ms533690(VS.85).aspx
996 Element.prototype.contentEditable;
999 * @return {TextRange}
1000 * @see http://msdn.microsoft.com/en-us/library/ms536401(VS.85).aspx
1002 Element.prototype.createTextRange;
1005 * @see http://msdn.microsoft.com/en-us/library/ms535231(VS.85).aspx
1007 Element.prototype.currentStyle;
1010 * @param {string} event
1011 * @param {Function} handler
1012 * @see http://msdn.microsoft.com/en-us/library/ie/ms536411(v=vs.85).aspx
1014 Element.prototype.detachEvent;
1017 * @param {string=} opt_action
1018 * @see http://msdn.microsoft.com/en-us/library/ms536414%28VS.85%29.aspx
1020 Element.prototype.doScroll = function(opt_action) {};
1023 * @see http://msdn.microsoft.com/en-us/library/ms536423(VS.85).aspx
1025 Element.prototype.fireEvent;
1029 * @see http://msdn.microsoft.com/en-us/library/ms533783(VS.85).aspx
1031 Element.prototype.hideFocus;
1034 * @see http://msdn.microsoft.com/en-us/library/ms533899.aspx
1036 Element.prototype.innerText;
1039 * @see http://msdn.microsoft.com/en-us/library/ms537838(VS.85).aspx
1041 Element.prototype.isContentEditable;
1044 * @see http://msdn.microsoft.com/en-us/library/ms531395(v=vs.85).aspx
1045 * NOTE: Left untyped to avoid conflict with subclasses.
1047 Element.prototype.load;
1050 * @param {number} pointerId Id of the pointer that is assign to the element.
1051 * @see http://msdn.microsoft.com/en-us/library/ie/hh771882(v=vs.85).aspx
1053 Element.prototype.msSetPointerCapture = function(pointerId) {};
1056 * @param {number} pointerId
1057 * @see http://msdn.microsoft.com/en-us/library/ie/hh771880.aspx
1059 Element.prototype.msReleasePointerCapture = function(pointerId) {};
1062 * @type {?function(Event)}
1063 * @see http://msdn.microsoft.com/en-us/library/ms536903(v=vs.85).aspx
1065 Element.prototype.onbeforedeactivate;
1068 * @type {?function(Event)}
1069 * @see http://msdn.microsoft.com/en-us/library/ms536945(VS.85).aspx
1071 Element.prototype.onmouseenter;
1074 * @type {?function(Event)}
1075 * @see http://msdn.microsoft.com/en-us/library/ms536946(VS.85).aspx
1077 Element.prototype.onmouseleave;
1080 * @type {?function(Event)}
1081 * @see http://msdn.microsoft.com/en-us/library/ms536969(VS.85).aspx
1083 Element.prototype.onselectstart;
1087 * @see http://msdn.microsoft.com/en-us/library/aa752326(VS.85).aspx
1089 Element.prototype.outerHTML;
1092 * @see http://msdn.microsoft.com/en-us/library/ms536689(VS.85).aspx
1094 Element.prototype.releaseCapture = function() {};
1097 * @param {number} iID
1099 * @see http://msdn.microsoft.com/en-us/library/ms536700(VS.85).aspx
1101 Element.prototype.removeBehavior = function(iID) {};
1104 * @see http://msdn.microsoft.com/en-us/library/aa703996(VS.85).aspx
1106 Element.prototype.runtimeStyle;
1109 * @param {string} sStoreName The arbitrary name assigned to a persistent object
1110 * in a UserData store.
1111 * @see http://msdn.microsoft.com/en-us/library/ms531403(v=vs.85).aspx
1113 Element.prototype.save = function(sStoreName) {};
1116 * @param {boolean=} opt_bContainerCapture Events originating in a container are
1117 * captured by the container. Defaults to true.
1118 * @see http://msdn.microsoft.com/en-us/library/ms536742(VS.85).aspx
1120 Element.prototype.setCapture = function(opt_bContainerCapture) {};
1123 * @see http://msdn.microsoft.com/en-us/library/ms534635(VS.85).aspx
1125 Element.prototype.sourceIndex;
1129 * @see http://msdn.microsoft.com/en-us/library/ms537840.aspx
1131 Element.prototype.unselectable;
1135 * @see http://msdn.microsoft.com/en-us/library/aa752462(v=vs.85).aspx
1137 function HTMLFiltersCollection() {}
1140 * @see http://msdn.microsoft.com/en-us/library/aa752463(v=vs.85).aspx
1143 HTMLFiltersCollection.prototype.length;
1146 * @see http://msdn.microsoft.com/en-us/library/ms537452(v=vs.85).aspx
1147 * @type {HTMLFiltersCollection}
1149 Element.prototype.filters;
1153 * @see http://msdn.microsoft.com/en-us/library/ms532853(v=vs.85).aspx
1155 function HTMLFilter() {}
1158 * @see http://msdn.microsoft.com/en-us/library/ms532954(v=vs.85).aspx
1160 HTMLFilter.prototype.apply = function() {};
1164 * @extends {HTMLFilter}
1165 * @see http://msdn.microsoft.com/en-us/library/ms532967(v=vs.85).aspx
1167 function AlphaFilter() {}
1170 * @see http://msdn.microsoft.com/en-us/library/ms532910(v=vs.85).aspx
1173 AlphaFilter.prototype.Opacity;
1177 * @extends {HTMLFilter}
1178 * @see http://msdn.microsoft.com/en-us/library/ms532969(v=vs.85).aspx
1180 function AlphaImageLoaderFilter() {}
1183 * @see http://msdn.microsoft.com/en-us/library/ms532920(v=vs.85).aspx
1186 AlphaImageLoaderFilter.prototype.sizingMethod;
1190 * @see http://msdn.microsoft.com/en-us/library/ms535866(VS.85).aspx
1192 function Location() {}
1195 * @see http://trac.webkit.org/changeset/113945
1196 * @type {DOMStringList}
1198 Location.prototype.ancestorOrigins;
1201 * @see http://msdn.microsoft.com/en-us/library/ms533775(VS.85).aspx
1204 Location.prototype.hash;
1207 * @see http://msdn.microsoft.com/en-us/library/ms533784(VS.85).aspx
1210 Location.prototype.host;
1213 * @see http://msdn.microsoft.com/en-us/library/ms533785(VS.85).aspx
1216 Location.prototype.hostname;
1219 * @see http://msdn.microsoft.com/en-us/library/ms533867(VS.85).aspx
1222 Location.prototype.href;
1225 * @see https://docs.google.com/document/view?id=1r_VTFKApVOaNIkocrg0z-t7lZgzisTuGTXkdzAk4gLU&hl=en
1228 Location.prototype.origin;
1231 * @see http://msdn.microsoft.com/en-us/library/ms534332(VS.85).aspx
1234 Location.prototype.pathname;
1237 * @see http://msdn.microsoft.com/en-us/library/ms534342(VS.85).aspx
1239 Location.prototype.port;
1242 * @see http://msdn.microsoft.com/en-us/library/ms534353(VS.85).aspx
1245 Location.prototype.protocol;
1248 * @see http://msdn.microsoft.com/en-us/library/ms534620(VS.85).aspx
1251 Location.prototype.search;
1254 * @see http://msdn.microsoft.com/en-us/library/ms536342(VS.85).aspx
1255 * @param {string} url
1257 Location.prototype.assign = function(url) {};
1260 * @param {boolean=} opt_forceReload If true, reloads the page from
1261 * the server. Defaults to false.
1262 * @see http://msdn.microsoft.com/en-us/library/ms536691(VS.85).aspx
1264 Location.prototype.reload = function(opt_forceReload) {};
1267 * @param {string} url
1268 * @see http://msdn.microsoft.com/en-us/library/ms536712(VS.85).aspx
1270 Location.prototype.replace = function(url) {};
1273 // For IE, returns an object representing key-value pairs for all the global
1274 // variables prefixed with str, e.g. test*
1276 /** @param {*=} opt_str */
1277 function RuntimeObject(opt_str) {}
1281 * @type {StyleSheet}
1282 * @see http://msdn.microsoft.com/en-us/library/dd347030(VS.85).aspx
1284 HTMLStyleElement.prototype.styleSheet;
1288 * IE implements Cross Origin Resource Sharing (cross-domain XMLHttpRequests)
1289 * via the XDomainRequest object.
1292 * @see http://msdn.microsoft.com/en-us/library/cc288060(v=vs.85).aspx
1293 * @see http://www.w3.org/TR/cors/
1295 function XDomainRequest() {}
1298 * Aborts the request.
1299 * @see http://msdn.microsoft.com/en-us/library/cc288129(v=vs.85).aspx
1301 XDomainRequest.prototype.abort = function() {};
1304 * Sets the method and URL for the request.
1305 * @param {string} bstrMethod Either "GET" or "POST"
1306 * @param {string} bstrUrl The target URL
1307 * @see http://msdn.microsoft.com/en-us/library/cc288168(v=vs.85).aspx
1309 XDomainRequest.prototype.open = function(bstrMethod, bstrUrl) {};
1312 * Sends the request.
1313 * @param {string=} varBody The POST body to send to the server. If omitted,
1314 * the behavior is identical to sending an empty string.
1315 * @see http://msdn.microsoft.com/en-us/library/cc288207(v=vs.85).aspx
1317 XDomainRequest.prototype.send = function(varBody) {};
1320 * Called if the request could not be completed. Note that error information is
1322 * @see http://msdn.microsoft.com/en-us/library/ms536930%28v=VS.85%29.aspx
1323 * @type {?function()}
1325 XDomainRequest.prototype.onerror;
1328 * Called when the response has finished.
1329 * @see http://msdn.microsoft.com/en-us/library/ms536942%28v=VS.85%29.aspx
1330 * @type {?function()}
1332 XDomainRequest.prototype.onload;
1335 * Called every time part of the response has been received.
1336 * @see http://msdn.microsoft.com/en-us/library/cc197058%28v=VS.85%29.aspx
1337 * @type {?function()}
1339 XDomainRequest.prototype.onprogress;
1342 * Called if the timeout period has elapsed.
1343 * @see http://msdn.microsoft.com/en-us/library/cc197061%28v=VS.85%29.aspx
1344 * @type {?function()}
1346 XDomainRequest.prototype.ontimeout;
1349 * The current response body.
1350 * @see http://msdn.microsoft.com/en-us/library/cc287956%28v=VS.85%29.aspx
1353 XDomainRequest.prototype.responseText;
1356 * The timeout (in milliseconds) for the request.
1359 XDomainRequest.prototype.timeout;
1362 * The Content-Type of the response, or an empty string.
1365 XDomainRequest.prototype.contentType;
1369 * @see http://msdn.microsoft.com/en-us/library/ms533542(v=vs.85).aspx
1371 Navigator.prototype.browserLanguage;
1375 * @see http://blogs.msdn.com/b/ie/archive/2011/09/20/touch-input-for-ie10-and-metro-style-apps.aspx
1377 Navigator.prototype.msPointerEnabled;
1381 * @see http://msdn.microsoft.com/en-us/library/ms533721(v=vs.85).aspx
1383 Screen.prototype.deviceXDPI;
1387 * @see http://msdn.microsoft.com/en-us/library/ms534128%28v=vs.85%29.aspx
1389 Screen.prototype.logicalXDPI;
1393 * @see http://msdn.microsoft.com/en-us/library/ms534130%28v=vs.85%29.aspx
1395 Screen.prototype.logicalYDPI;