| 1 | /* |
| 2 | * Copyright 2008 Closure Compiler Authors |
| 3 | * |
| 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 |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 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. |
| 15 | */ |
| 16 | |
| 17 | /** |
| 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. |
| 21 | * |
| 22 | * When a non-standard extension appears in both Gecko and IE, we put |
| 23 | * it in gecko_dom.js |
| 24 | * |
| 25 | * @externs |
| 26 | */ |
| 27 | |
| 28 | // TODO(nicksantos): Rewrite all the DOM interfaces as interfaces, instead |
| 29 | // of kludging them as an inheritance hierarchy. |
| 30 | |
| 31 | /** |
| 32 | * @constructor |
| 33 | * @extends {Document} |
| 34 | * @see http://msdn.microsoft.com/en-us/library/ms757878(VS.85).aspx |
| 35 | */ |
| 36 | function XMLDOMDocument() {} |
| 37 | |
| 38 | /** |
| 39 | * @type {boolean} |
| 40 | * @see http://msdn.microsoft.com/en-us/library/ms761398(VS.85).aspx |
| 41 | */ |
| 42 | XMLDOMDocument.prototype.async; |
| 43 | |
| 44 | /** |
| 45 | * @type {!Function} |
| 46 | * @see http://msdn.microsoft.com/en-us/library/ms762647(VS.85).aspx |
| 47 | */ |
| 48 | XMLDOMDocument.prototype.ondataavailable; |
| 49 | |
| 50 | /** |
| 51 | * @type {!Function} |
| 52 | * @see http://msdn.microsoft.com/en-us/library/ms764640(VS.85).aspx |
| 53 | */ |
| 54 | XMLDOMDocument.prototype.onreadystatechange; |
| 55 | |
| 56 | /** |
| 57 | * @type {!Function} |
| 58 | * @see http://msdn.microsoft.com/en-us/library/ms753795(VS.85).aspx |
| 59 | */ |
| 60 | XMLDOMDocument.prototype.ontransformnode; |
| 61 | |
| 62 | /** |
| 63 | * @type {Object} |
| 64 | * @see http://msdn.microsoft.com/en-us/library/ms756041(VS.85).aspx |
| 65 | */ |
| 66 | XMLDOMDocument.prototype.parseError; |
| 67 | |
| 68 | /** |
| 69 | * @type {boolean} |
| 70 | * @see http://msdn.microsoft.com/en-us/library/ms761353(VS.85).aspx |
| 71 | */ |
| 72 | XMLDOMDocument.prototype.preserveWhiteSpace; |
| 73 | |
| 74 | /** |
| 75 | * @type {number} |
| 76 | * @see http://msdn.microsoft.com/en-us/library/ms753702(VS.85).aspx |
| 77 | */ |
| 78 | XMLDOMDocument.prototype.readyState; |
| 79 | |
| 80 | /** |
| 81 | * @see http://msdn.microsoft.com/en-us/library/ms762283(VS.85).aspx |
| 82 | * @type {boolean} |
| 83 | */ |
| 84 | XMLDOMDocument.prototype.resolveExternals; |
| 85 | |
| 86 | /** |
| 87 | * @see http://msdn.microsoft.com/en-us/library/ms760290(v=vs.85).aspx |
| 88 | * @param {string} name |
| 89 | * @param {*} value |
| 90 | */ |
| 91 | XMLDOMDocument.prototype.setProperty = function(name, value) {}; |
| 92 | |
| 93 | /** |
| 94 | * @type {string} |
| 95 | * @see http://msdn.microsoft.com/en-us/library/ms767669(VS.85).aspx |
| 96 | */ |
| 97 | XMLDOMDocument.prototype.url; |
| 98 | |
| 99 | /** |
| 100 | * @type {boolean} |
| 101 | * @see http://msdn.microsoft.com/en-us/library/ms762791(VS.85).aspx |
| 102 | */ |
| 103 | XMLDOMDocument.prototype.validateOnParse; |
| 104 | |
| 105 | /** |
| 106 | * @see http://msdn.microsoft.com/en-us/library/ms763830(VS.85).aspx |
| 107 | */ |
| 108 | XMLDOMDocument.prototype.abort = function() {}; |
| 109 | |
| 110 | /** |
| 111 | * @param {*} type |
| 112 | * @param {string} name |
| 113 | * @param {string} namespaceURI |
| 114 | * @return {Node} |
| 115 | * @see http://msdn.microsoft.com/en-us/library/ms757901(VS.85).aspx |
| 116 | * @nosideeffects |
| 117 | */ |
| 118 | XMLDOMDocument.prototype.createNode = function(type, name, namespaceURI) {}; |
| 119 | |
| 120 | /** |
| 121 | * @param {string} xmlSource |
| 122 | * @return {boolean} |
| 123 | * @see http://msdn.microsoft.com/en-us/library/ms762722(VS.85).aspx |
| 124 | * @override |
| 125 | */ |
| 126 | XMLDOMDocument.prototype.load = function(xmlSource) {}; |
| 127 | |
| 128 | /** |
| 129 | * @param {string} xmlString |
| 130 | * @return {boolean} |
| 131 | * @see http://msdn.microsoft.com/en-us/library/ms754585(VS.85).aspx |
| 132 | * @override |
| 133 | */ |
| 134 | XMLDOMDocument.prototype.loadXML = function(xmlString) {}; |
| 135 | |
| 136 | /** |
| 137 | * @param {string} id |
| 138 | * @return {Node} |
| 139 | * @see http://msdn.microsoft.com/en-us/library/ms766397(VS.85).aspx |
| 140 | */ |
| 141 | XMLDOMDocument.prototype.nodeFromID = function(id) {}; |
| 142 | |
| 143 | //============================================================================== |
| 144 | // XMLNode methods and properties |
| 145 | // In a real DOM hierarchy, XMLDOMDocument inherits from XMLNode and Document. |
| 146 | // Since we can't express that in our type system, we put XMLNode properties |
| 147 | // on Node. |
| 148 | |
| 149 | /** |
| 150 | * @type {string} |
| 151 | * @see http://msdn.microsoft.com/en-us/library/ms767570(VS.85).aspx |
| 152 | */ |
| 153 | Node.prototype.baseName; |
| 154 | |
| 155 | /** |
| 156 | * @type {?string} |
| 157 | * @see http://msdn.microsoft.com/en-us/library/ms762763(VS.85).aspx |
| 158 | */ |
| 159 | Node.prototype.dataType; |
| 160 | |
| 161 | /** |
| 162 | * @type {Node} |
| 163 | * @see http://msdn.microsoft.com/en-us/library/ms764733(VS.85).aspx |
| 164 | */ |
| 165 | Node.prototype.definition; |
| 166 | |
| 167 | /** |
| 168 | * IE5 used document instead of ownerDocument. |
| 169 | * Old versions of WebKit used document instead of contentDocument. |
| 170 | * @type {Document} |
| 171 | */ |
| 172 | Node.prototype.document; |
| 173 | |
| 174 | |
| 175 | /** |
| 176 | * Inserts the given HTML text into the element at the location. |
| 177 | * @param {string} sWhere Where to insert the HTML text, one of 'beforeBegin', |
| 178 | * 'afterBegin', 'beforeEnd', 'afterEnd'. |
| 179 | * @param {string} sText HTML text to insert. |
| 180 | * @see http://msdn.microsoft.com/en-us/library/ms536452(VS.85).aspx |
| 181 | */ |
| 182 | Node.prototype.insertAdjacentHTML = function(sWhere, sText) {}; |
| 183 | |
| 184 | |
| 185 | /** |
| 186 | * @type {*} |
| 187 | * @see http://msdn.microsoft.com/en-us/library/ms762308(VS.85).aspx |
| 188 | */ |
| 189 | Node.prototype.nodeTypedValue; |
| 190 | |
| 191 | /** |
| 192 | * @type {string} |
| 193 | * @see http://msdn.microsoft.com/en-us/library/ms757895(VS.85).aspx |
| 194 | */ |
| 195 | Node.prototype.nodeTypeString; |
| 196 | |
| 197 | /** |
| 198 | * @type {boolean} |
| 199 | * @see http://msdn.microsoft.com/en-us/library/ms762237(VS.85).aspx |
| 200 | */ |
| 201 | Node.prototype.parsed; |
| 202 | |
| 203 | /** |
| 204 | * @type {Element} |
| 205 | * @see http://msdn.microsoft.com/en-us/library/ms534327(VS.85).aspx |
| 206 | */ |
| 207 | Node.prototype.parentElement; |
| 208 | |
| 209 | /** |
| 210 | * @type {boolean} |
| 211 | * @see http://msdn.microsoft.com/en-us/library/ms753816(VS.85).aspx |
| 212 | */ |
| 213 | Node.prototype.specified; |
| 214 | |
| 215 | /** |
| 216 | * @type {string} |
| 217 | * @see http://msdn.microsoft.com/en-us/library/ms762687(VS.85).aspx |
| 218 | */ |
| 219 | Node.prototype.text; |
| 220 | |
| 221 | /** |
| 222 | * @type {string} |
| 223 | * @see http://msdn.microsoft.com/en-us/library/ms755989(VS.85).aspx |
| 224 | */ |
| 225 | Node.prototype.xml; |
| 226 | |
| 227 | /** |
| 228 | * @param {string} expression An XPath expression. |
| 229 | * @return {NodeList} |
| 230 | * @see http://msdn.microsoft.com/en-us/library/ms754523(VS.85).aspx |
| 231 | * @nosideeffects |
| 232 | */ |
| 233 | Node.prototype.selectNodes = function(expression) {}; |
| 234 | |
| 235 | /** |
| 236 | * @param {string} expression An XPath expression. |
| 237 | * @return {Node} |
| 238 | * @see http://msdn.microsoft.com/en-us/library/ms757846(VS.85).aspx |
| 239 | * @nosideeffects |
| 240 | */ |
| 241 | Node.prototype.selectSingleNode = function(expression) {}; |
| 242 | |
| 243 | /** |
| 244 | * @param {Node} stylesheet XSLT stylesheet. |
| 245 | * @return {string} |
| 246 | * @see http://msdn.microsoft.com/en-us/library/ms761399(VS.85).aspx |
| 247 | * @nosideeffects |
| 248 | */ |
| 249 | Node.prototype.transformNode = function(stylesheet) {}; |
| 250 | |
| 251 | /** |
| 252 | * @param {Node} stylesheet XSLT stylesheet. |
| 253 | * @param {Object} outputObject |
| 254 | * @see http://msdn.microsoft.com/en-us/library/ms766561(VS.85).aspx |
| 255 | */ |
| 256 | Node.prototype.transformNodeToObject = |
| 257 | function(stylesheet, outputObject) {}; |
| 258 | |
| 259 | //============================================================================== |
| 260 | // Node methods |
| 261 | |
| 262 | /** |
| 263 | * @param {boolean=} opt_bRemoveChildren Whether to remove the entire sub-tree. |
| 264 | * Defaults to false. |
| 265 | * @return {Node} The object that was removed. |
| 266 | * @see http://msdn.microsoft.com/en-us/library/ms536708(VS.85).aspx |
| 267 | */ |
| 268 | Node.prototype.removeNode = function(opt_bRemoveChildren) {}; |
| 269 | |
| 270 | /** |
| 271 | * @constructor |
| 272 | */ |
| 273 | function ClipboardData() {} |
| 274 | |
| 275 | /** |
| 276 | * @see http://msdn.microsoft.com/en-us/library/ms535220(VS.85).aspx |
| 277 | * @param {string} type Type of clipboard data to clear. 'Text' or |
| 278 | * 'URL' or 'File' or 'HTML' or 'Image'. |
| 279 | */ |
| 280 | ClipboardData.prototype.clearData = function(type) {}; |
| 281 | |
| 282 | /** |
| 283 | * @see http://msdn.microsoft.com/en-us/library/ms535220(VS.85).aspx |
| 284 | * @param {string} type Type of clipboard data to set ('Text' or 'URL'). |
| 285 | * @param {string} data Data to set |
| 286 | * @return {boolean} Whether the data were set correctly. |
| 287 | */ |
| 288 | ClipboardData.prototype.setData = function(type, data) {}; |
| 289 | |
| 290 | /** |
| 291 | * @see http://msdn.microsoft.com/en-us/library/ms535220(VS.85).aspx |
| 292 | * @param {string} type Type of clipboard data to get ('Text' or 'URL'). |
| 293 | * @return {string} The current data |
| 294 | */ |
| 295 | ClipboardData.prototype.getData = function(type) { }; |
| 296 | |
| 297 | /** @type {function(new:ActiveXObject, string, string=)} */ |
| 298 | Window.prototype.ActiveXObject; |
| 299 | |
| 300 | /** |
| 301 | * @type {!Window} |
| 302 | * @see https://developer.mozilla.org/en/DOM/window |
| 303 | */ |
| 304 | var window; |
| 305 | |
| 306 | /** |
| 307 | * @param {number|undefined|null} immediateID |
| 308 | * @see https://developer.mozilla.org/en-US/docs/DOM/window.clearImmediate |
| 309 | * @see http://msdn.microsoft.com/en-us/library/ie/hh924825(v=vs.85).aspx |
| 310 | */ |
| 311 | Window.prototype.clearImmediate = function(immediateID) {}; |
| 312 | |
| 313 | /** |
| 314 | * @see http://msdn.microsoft.com/en-us/library/ms535220(VS.85).aspx |
| 315 | * @type ClipboardData |
| 316 | */ |
| 317 | Window.prototype.clipboardData; |
| 318 | |
| 319 | /** |
| 320 | * @see http://msdn.microsoft.com/en-us/library/ms533724(VS.85).aspx |
| 321 | */ |
| 322 | Window.prototype.dialogHeight; |
| 323 | |
| 324 | /** |
| 325 | * @see http://msdn.microsoft.com/en-us/library/ms533725(VS.85).aspx |
| 326 | */ |
| 327 | Window.prototype.dialogLeft; |
| 328 | |
| 329 | /** |
| 330 | * @see http://msdn.microsoft.com/en-us/library/ms533726(VS.85).aspx |
| 331 | */ |
| 332 | Window.prototype.dialogTop; |
| 333 | |
| 334 | /** |
| 335 | * @see http://msdn.microsoft.com/en-us/library/ms533727(VS.85).aspx |
| 336 | */ |
| 337 | Window.prototype.dialogWidth; |
| 338 | |
| 339 | /** |
| 340 | * @see http://msdn.microsoft.com/en-us/library/ms535863(VS.85).aspx |
| 341 | */ |
| 342 | Window.prototype.event; |
| 343 | |
| 344 | /** |
| 345 | * @see http://msdn.microsoft.com/en-us/library/cc197012(VS.85).aspx |
| 346 | */ |
| 347 | Window.prototype.maxConnectionsPer1_0Server; |
| 348 | |
| 349 | /** |
| 350 | * @see http://msdn.microsoft.com/en-us/library/cc197013(VS.85).aspx |
| 351 | */ |
| 352 | Window.prototype.maxConnectionsPerServer; |
| 353 | |
| 354 | /** |
| 355 | * @see http://msdn.microsoft.com/en-us/library/ms534198(VS.85).aspx |
| 356 | */ |
| 357 | Window.prototype.offscreenBuffering; |
| 358 | |
| 359 | /** |
| 360 | * @see http://msdn.microsoft.com/en-us/library/ms534389(VS.85).aspx |
| 361 | */ |
| 362 | Window.prototype.screenLeft; |
| 363 | |
| 364 | /** |
| 365 | * @see http://msdn.microsoft.com/en-us/library/ms534389(VS.85).aspx |
| 366 | */ |
| 367 | Window.prototype.screenTop; |
| 368 | |
| 369 | /** |
| 370 | * @type {function(new:XDomainRequest)} |
| 371 | * @see http://msdn.microsoft.com/en-us/library/cc287985(VS.85).aspx |
| 372 | */ |
| 373 | Window.prototype.XDomainRequest; |
| 374 | |
| 375 | /** |
| 376 | * @type {function(new:XMLHttpRequest)} |
| 377 | * @see http://msdn.microsoft.com/en-us/library/ms535157(VS.85).aspx |
| 378 | */ |
| 379 | Window.prototype.XMLHttpRequest; |
| 380 | |
| 381 | // Functions |
| 382 | |
| 383 | /** |
| 384 | * @param {string} event |
| 385 | * @param {Function} handler |
| 386 | * @see http://msdn.microsoft.com/en-us/library/ms536343(VS.85).aspx |
| 387 | */ |
| 388 | Window.prototype.attachEvent; |
| 389 | |
| 390 | /** |
| 391 | * @see http://msdn.microsoft.com/en-us/library/ms536392(VS.85).aspx |
| 392 | */ |
| 393 | Window.prototype.createPopup; |
| 394 | |
| 395 | /** |
| 396 | * @see http://msdn.microsoft.com/en-us/library/ms536411(VS.85).aspx |
| 397 | */ |
| 398 | Window.prototype.detachEvent; |
| 399 | |
| 400 | /** |
| 401 | * @see http://msdn.microsoft.com/en-us/library/ms536420(VS.85).aspx |
| 402 | */ |
| 403 | Window.prototype.execScript; |
| 404 | |
| 405 | /** |
| 406 | * @see http://msdn.microsoft.com/en-us/library/ms536425(VS.85).aspx |
| 407 | */ |
| 408 | Window.prototype.focus; |
| 409 | |
| 410 | /** |
| 411 | * @param {number} x |
| 412 | * @param {number} y |
| 413 | * @see http://msdn.microsoft.com/en-us/library/ms536618(VS.85).aspx |
| 414 | */ |
| 415 | Window.prototype.moveBy = function(x, y) {}; |
| 416 | |
| 417 | /** |
| 418 | * @param {number} x |
| 419 | * @param {number} y |
| 420 | * @see http://msdn.microsoft.com/en-us/library/ms536626(VS.85).aspx |
| 421 | */ |
| 422 | Window.prototype.moveTo = function(x, y) {}; |
| 423 | |
| 424 | /** |
| 425 | * @see http://msdn.microsoft.com/en-us/library/ms536638(VS.85).aspx |
| 426 | */ |
| 427 | Window.prototype.navigate; |
| 428 | |
| 429 | /** |
| 430 | * @param {*=} opt_url |
| 431 | * @param {string=} opt_windowName |
| 432 | * @param {string=} opt_windowFeatures |
| 433 | * @param {boolean=} opt_replace |
| 434 | * @return {Window} |
| 435 | * @see http://msdn.microsoft.com/en-us/library/ms536651(VS.85).aspx |
| 436 | */ |
| 437 | Window.prototype.open = function(opt_url, opt_windowName, opt_windowFeatures, |
| 438 | opt_replace) {}; |
| 439 | |
| 440 | /** |
| 441 | * @see http://msdn.microsoft.com/en-us/library/ms536672(VS.85).aspx |
| 442 | */ |
| 443 | Window.prototype.print = function() {}; |
| 444 | |
| 445 | /** |
| 446 | * @param {string} message |
| 447 | * @param {string=} opt_defValue |
| 448 | * @return {?string} |
| 449 | * @see http://msdn.microsoft.com/en-us/library/ms536673(VS.85).aspx |
| 450 | */ |
| 451 | Window.prototype.prompt = function(message, opt_defValue) {}; |
| 452 | |
| 453 | /** |
| 454 | * @param {number} width |
| 455 | * @param {number} height |
| 456 | * @see http://msdn.microsoft.com/en-us/library/ms536722(VS.85).aspx |
| 457 | */ |
| 458 | Window.prototype.resizeBy = function(width, height) {}; |
| 459 | |
| 460 | /** |
| 461 | * @param {number} width |
| 462 | * @param {number} height |
| 463 | * @see http://msdn.microsoft.com/en-us/library/ms536723(VS.85).aspx |
| 464 | */ |
| 465 | Window.prototype.resizeTo = function(width, height) {}; |
| 466 | |
| 467 | /** |
| 468 | * @see http://msdn.microsoft.com/en-us/library/ms536738(VS.85).aspx |
| 469 | */ |
| 470 | Window.prototype.setActive; |
| 471 | |
| 472 | /** |
| 473 | * @param {function()} callback |
| 474 | * @return {number} |
| 475 | * @see https://developer.mozilla.org/en-US/docs/DOM/window.setImmediate |
| 476 | * @see http://msdn.microsoft.com/en-us/library/ie/hh773176(v=vs.85).aspx |
| 477 | */ |
| 478 | Window.prototype.setImmediate = function(callback) {}; |
| 479 | |
| 480 | /** |
| 481 | * @see http://msdn.microsoft.com/en-us/library/ms536758(VS.85).aspx |
| 482 | */ |
| 483 | Window.prototype.showHelp; |
| 484 | |
| 485 | /** |
| 486 | * @see http://msdn.microsoft.com/en-us/library/ms536761(VS.85).aspx |
| 487 | */ |
| 488 | Window.prototype.showModelessDialog; |
| 489 | |
| 490 | /** |
| 491 | * @see http://msdn.microsoft.com/en-us/library/ms535246%28v=vs.85%29.aspx |
| 492 | * @const |
| 493 | */ |
| 494 | Window.prototype.external; |
| 495 | |
| 496 | /** |
| 497 | * @constructor |
| 498 | */ |
| 499 | function History() { }; |
| 500 | |
| 501 | /** |
| 502 | * @see http://msdn.microsoft.com/en-us/library/ms535864(VS.85).aspx |
| 503 | * @param {number|string} delta The number of entries to go back, or |
| 504 | * the URL to which to go back. (URL form is supported only in IE) |
| 505 | */ |
| 506 | History.prototype.go = function(delta) {}; |
| 507 | |
| 508 | /** |
| 509 | * @see http://msdn.microsoft.com/en-us/library/ms535864(VS.85).aspx |
| 510 | * @param {number=} opt_distance The number of entries to go back |
| 511 | * (Mozilla doesn't support distance -- use #go instead) |
| 512 | */ |
| 513 | History.prototype.back = function(opt_distance) {}; |
| 514 | |
| 515 | /** |
| 516 | * @see http://msdn.microsoft.com/en-us/library/ms535864(VS.85).aspx |
| 517 | * @type {number} |
| 518 | */ |
| 519 | History.prototype.length; |
| 520 | |
| 521 | /** |
| 522 | * @see http://msdn.microsoft.com/en-us/library/ms535864(VS.85).aspx |
| 523 | */ |
| 524 | History.prototype.forward = function() {}; |
| 525 | |
| 526 | /** |
| 527 | * @type {boolean} |
| 528 | * @implicitCast |
| 529 | * @see http://msdn.microsoft.com/en-us/library/ie/ms533072(v=vs.85).aspx |
| 530 | */ |
| 531 | HTMLFrameElement.prototype.allowTransparency; |
| 532 | |
| 533 | /** |
| 534 | * @see http://msdn.microsoft.com/en-us/library/ms533692(VS.85).aspx |
| 535 | */ |
| 536 | HTMLFrameElement.prototype.contentWindow; |
| 537 | |
| 538 | /** |
| 539 | * @type {boolean} |
| 540 | * @implicitCast |
| 541 | * @see http://msdn.microsoft.com/en-us/library/ie/ms533072(v=vs.85).aspx |
| 542 | */ |
| 543 | HTMLIFrameElement.prototype.allowTransparency; |
| 544 | |
| 545 | /** |
| 546 | * @see http://msdn.microsoft.com/en-us/library/ms533692(VS.85).aspx |
| 547 | */ |
| 548 | HTMLIFrameElement.prototype.contentWindow; |
| 549 | |
| 550 | /** |
| 551 | * @see http://msdn.microsoft.com/en-us/library/ms536385(VS.85).aspx |
| 552 | */ |
| 553 | HTMLBodyElement.prototype.createControlRange; |
| 554 | |
| 555 | /** |
| 556 | * @constructor |
| 557 | */ |
| 558 | function ControlRange() {} |
| 559 | |
| 560 | ControlRange.prototype.add; |
| 561 | ControlRange.prototype.addElement; |
| 562 | ControlRange.prototype.execCommand; |
| 563 | ControlRange.prototype.item; |
| 564 | ControlRange.prototype.queryCommandEnabled; |
| 565 | ControlRange.prototype.queryCommandIndeterm; |
| 566 | ControlRange.prototype.queryCommandState; |
| 567 | ControlRange.prototype.queryCommandSupported; |
| 568 | ControlRange.prototype.queryCommandValue; |
| 569 | ControlRange.prototype.remove; |
| 570 | ControlRange.prototype.scrollIntoView; |
| 571 | ControlRange.prototype.select; |
| 572 | |
| 573 | /** |
| 574 | * @constructor |
| 575 | * @see http://msdn.microsoft.com/en-us/library/ms535872.aspx |
| 576 | */ |
| 577 | function TextRange() {} |
| 578 | |
| 579 | /** |
| 580 | * @see http://msdn.microsoft.com/en-us/library/ms533538(VS.85).aspx |
| 581 | */ |
| 582 | TextRange.prototype.boundingHeight; |
| 583 | |
| 584 | /** |
| 585 | * @see http://msdn.microsoft.com/en-us/library/ms533539(VS.85).aspx |
| 586 | */ |
| 587 | TextRange.prototype.boundingLeft; |
| 588 | |
| 589 | /** |
| 590 | * @see http://msdn.microsoft.com/en-us/library/ms533540(VS.85).aspx |
| 591 | */ |
| 592 | TextRange.prototype.boundingTop; |
| 593 | |
| 594 | /** |
| 595 | * @see http://msdn.microsoft.com/en-us/library/ms533541(VS.85).aspx |
| 596 | */ |
| 597 | TextRange.prototype.boundingWidth; |
| 598 | |
| 599 | /** |
| 600 | * @see http://msdn.microsoft.com/en-us/library/ms533874(VS.85).aspx |
| 601 | */ |
| 602 | TextRange.prototype.htmlText; |
| 603 | |
| 604 | /** |
| 605 | * @see http://msdn.microsoft.com/en-us/library/ms534200(VS.85).aspx |
| 606 | */ |
| 607 | TextRange.prototype.offsetLeft; |
| 608 | |
| 609 | /** |
| 610 | * @see http://msdn.microsoft.com/en-us/library/ms534303(VS.85).aspx |
| 611 | */ |
| 612 | TextRange.prototype.offsetTop; |
| 613 | |
| 614 | /** |
| 615 | * @see http://msdn.microsoft.com/en-us/library/ms534676(VS.85).aspx |
| 616 | */ |
| 617 | TextRange.prototype.text; |
| 618 | |
| 619 | /** |
| 620 | * @see http://msdn.microsoft.com/en-us/library/ms536371(VS.85).aspx |
| 621 | */ |
| 622 | TextRange.prototype.collapse; |
| 623 | |
| 624 | /** |
| 625 | * @see http://msdn.microsoft.com/en-us/library/ms536373(VS.85).aspx |
| 626 | */ |
| 627 | TextRange.prototype.compareEndPoints; |
| 628 | |
| 629 | /** |
| 630 | * @see http://msdn.microsoft.com/en-us/library/ms536416(VS.85).aspx |
| 631 | */ |
| 632 | TextRange.prototype.duplicate; |
| 633 | |
| 634 | /** |
| 635 | * @see http://msdn.microsoft.com/en-us/library/ms536419(VS.85).aspx |
| 636 | */ |
| 637 | TextRange.prototype.execCommand; |
| 638 | |
| 639 | /** |
| 640 | * @see http://msdn.microsoft.com/en-us/library/ms536421(VS.85).aspx |
| 641 | */ |
| 642 | TextRange.prototype.expand; |
| 643 | |
| 644 | /** |
| 645 | * @see http://msdn.microsoft.com/en-us/library/ms536422(VS.85).aspx |
| 646 | */ |
| 647 | TextRange.prototype.findText; |
| 648 | |
| 649 | /** |
| 650 | * @see http://msdn.microsoft.com/en-us/library/ms536432(VS.85).aspx |
| 651 | */ |
| 652 | TextRange.prototype.getBookmark; |
| 653 | |
| 654 | /** |
| 655 | * @see http://msdn.microsoft.com/en-us/library/ms536433(VS.85).aspx |
| 656 | */ |
| 657 | TextRange.prototype.getBoundingClientRect; |
| 658 | |
| 659 | /** |
| 660 | * @see http://msdn.microsoft.com/en-us/library/ms536435(VS.85).aspx |
| 661 | */ |
| 662 | TextRange.prototype.getClientRects; |
| 663 | |
| 664 | /** |
| 665 | * @see http://msdn.microsoft.com/en-us/library/ms536450(VS.85).aspx |
| 666 | */ |
| 667 | TextRange.prototype.inRange; |
| 668 | |
| 669 | /** |
| 670 | * @see http://msdn.microsoft.com/en-us/library/ms536458(VS.85).aspx |
| 671 | */ |
| 672 | TextRange.prototype.isEqual; |
| 673 | |
| 674 | /** |
| 675 | * @see http://msdn.microsoft.com/en-us/library/ms536616(VS.85).aspx |
| 676 | */ |
| 677 | TextRange.prototype.move; |
| 678 | |
| 679 | /** |
| 680 | * @see http://msdn.microsoft.com/en-us/library/ms536620(VS.85).aspx |
| 681 | */ |
| 682 | TextRange.prototype.moveEnd; |
| 683 | |
| 684 | /** |
| 685 | * @see http://msdn.microsoft.com/en-us/library/ms536623(VS.85).aspx |
| 686 | */ |
| 687 | TextRange.prototype.moveStart; |
| 688 | |
| 689 | /** |
| 690 | * @see http://msdn.microsoft.com/en-us/library/ms536628(VS.85).aspx |
| 691 | */ |
| 692 | TextRange.prototype.moveToBookmark; |
| 693 | |
| 694 | /** |
| 695 | * @see http://msdn.microsoft.com/en-us/library/ms536630(VS.85).aspx |
| 696 | */ |
| 697 | TextRange.prototype.moveToElementText; |
| 698 | |
| 699 | /** |
| 700 | * @see http://msdn.microsoft.com/en-us/library/ms536632(VS.85).aspx |
| 701 | */ |
| 702 | TextRange.prototype.moveToPoint; |
| 703 | |
| 704 | /** |
| 705 | * @see http://msdn.microsoft.com/en-us/library/ms536654(VS.85).aspx |
| 706 | */ |
| 707 | TextRange.prototype.parentElement; |
| 708 | |
| 709 | /** |
| 710 | * @see http://msdn.microsoft.com/en-us/library/ms536656(VS.85).aspx |
| 711 | */ |
| 712 | TextRange.prototype.pasteHTML; |
| 713 | |
| 714 | /** |
| 715 | * @see http://msdn.microsoft.com/en-us/library/ms536676(VS.85).aspx |
| 716 | */ |
| 717 | TextRange.prototype.queryCommandEnabled; |
| 718 | |
| 719 | /** |
| 720 | * @see http://msdn.microsoft.com/en-us/library/ms536678(VS.85).aspx |
| 721 | */ |
| 722 | TextRange.prototype.queryCommandIndeterm; |
| 723 | |
| 724 | /** |
| 725 | * @see http://msdn.microsoft.com/en-us/library/ms536679(VS.85).aspx |
| 726 | */ |
| 727 | TextRange.prototype.queryCommandState; |
| 728 | |
| 729 | /** |
| 730 | * @see http://msdn.microsoft.com/en-us/library/ms536681(VS.85).aspx |
| 731 | */ |
| 732 | TextRange.prototype.queryCommandSupported; |
| 733 | |
| 734 | /** |
| 735 | * @see http://msdn.microsoft.com/en-us/library/ms536683(VS.85).aspx |
| 736 | */ |
| 737 | TextRange.prototype.queryCommandValue; |
| 738 | |
| 739 | /** |
| 740 | * @see http://msdn.microsoft.com/en-us/library/ms536730(VS.85).aspx |
| 741 | */ |
| 742 | TextRange.prototype.scrollIntoView; |
| 743 | |
| 744 | /** |
| 745 | * @see http://msdn.microsoft.com/en-us/library/ms536735(VS.85).aspx |
| 746 | */ |
| 747 | TextRange.prototype.select; |
| 748 | |
| 749 | /** |
| 750 | * @see http://msdn.microsoft.com/en-us/library/ms536745(VS.85).aspx |
| 751 | */ |
| 752 | TextRange.prototype.setEndPoint; |
| 753 | |
| 754 | /** |
| 755 | * @return {undefined} |
| 756 | * @see http://msdn.microsoft.com/en-us/library/ms536418(VS.85).aspx |
| 757 | */ |
| 758 | Selection.prototype.clear = function() {}; |
| 759 | |
| 760 | /** |
| 761 | * @return {TextRange|ControlRange} |
| 762 | * @see http://msdn.microsoft.com/en-us/library/ms536394(VS.85).aspx |
| 763 | */ |
| 764 | Selection.prototype.createRange = function() {}; |
| 765 | |
| 766 | /** |
| 767 | * @return {Array.<TextRange>} |
| 768 | * @see http://msdn.microsoft.com/en-us/library/ms536396(VS.85).aspx |
| 769 | */ |
| 770 | Selection.prototype.createRangeCollection = function() {}; |
| 771 | |
| 772 | /** |
| 773 | * @constructor |
| 774 | * @see http://msdn.microsoft.com/en-us/library/ms537447(VS.85).aspx |
| 775 | */ |
| 776 | function controlRange() {} |
| 777 | |
| 778 | |
| 779 | Document.prototype.loadXML; |
| 780 | |
| 781 | |
| 782 | // http://msdn.microsoft.com/en-us/library/ms531073(VS.85).aspx |
| 783 | |
| 784 | /** |
| 785 | * @see http://msdn.microsoft.com/en-us/library/ms533065(VS.85).aspx |
| 786 | */ |
| 787 | Document.prototype.activeElement; |
| 788 | |
| 789 | /** |
| 790 | * @see http://msdn.microsoft.com/en-us/library/ms533553(VS.85).aspx |
| 791 | */ |
| 792 | Document.prototype.charset; |
| 793 | |
| 794 | /** |
| 795 | * @see http://msdn.microsoft.com/en-us/library/ms533693(VS.85).aspx |
| 796 | */ |
| 797 | Document.prototype.cookie; |
| 798 | |
| 799 | /** |
| 800 | * @see http://msdn.microsoft.com/en-us/library/ms533714(VS.85).aspx |
| 801 | */ |
| 802 | Document.prototype.defaultCharset; |
| 803 | |
| 804 | /** |
| 805 | * @see http://msdn.microsoft.com/en-us/library/ms533731(VS.85).aspx |
| 806 | */ |
| 807 | Document.prototype.dir; |
| 808 | |
| 809 | /** |
| 810 | * @see http://msdn.microsoft.com/en-us/library/cc196988(VS.85).aspx |
| 811 | */ |
| 812 | Document.prototype.documentMode; |
| 813 | |
| 814 | /** |
| 815 | * @see http://msdn.microsoft.com/en-us/library/ms533747(VS.85).aspx |
| 816 | */ |
| 817 | Document.prototype.expando; |
| 818 | |
| 819 | /** |
| 820 | * @see http://msdn.microsoft.com/en-us/library/ms533750(VS.85).aspx |
| 821 | */ |
| 822 | Document.prototype.fileCreatedDate; |
| 823 | |
| 824 | /** |
| 825 | * @see http://msdn.microsoft.com/en-us/library/ms533751(VS.85).aspx |
| 826 | */ |
| 827 | Document.prototype.fileModifiedDate; |
| 828 | |
| 829 | /** |
| 830 | * @see http://msdn.microsoft.com/en-us/library/ms533752(VS.85).aspx |
| 831 | */ |
| 832 | Document.prototype.fileSize; |
| 833 | |
| 834 | /** |
| 835 | * @see http://msdn.microsoft.com/en-us/library/ms534331(VS.85).aspx |
| 836 | */ |
| 837 | Document.prototype.parentWindow; |
| 838 | |
| 839 | /** |
| 840 | * @see http://msdn.microsoft.com/en-us/library/ms534353(VS.85).aspx |
| 841 | */ |
| 842 | Document.prototype.protocol; |
| 843 | |
| 844 | /** |
| 845 | * @type {string} |
| 846 | * @see http://msdn.microsoft.com/en-us/library/ms534359(VS.85).aspx |
| 847 | */ |
| 848 | Document.prototype.readyState; |
| 849 | |
| 850 | /** |
| 851 | * @type {Selection} |
| 852 | * @see http://msdn.microsoft.com/en-us/library/ms535869(VS.85).aspx |
| 853 | */ |
| 854 | Document.prototype.selection; |
| 855 | |
| 856 | /** |
| 857 | * @see http://msdn.microsoft.com/en-us/library/ms534704(VS.85).aspx |
| 858 | */ |
| 859 | Document.prototype.uniqueID; |
| 860 | |
| 861 | /** |
| 862 | * @see http://msdn.microsoft.com/en-us/library/ms534708(VS.85).aspx |
| 863 | */ |
| 864 | Document.prototype.URL; |
| 865 | |
| 866 | /** |
| 867 | * @see http://msdn.microsoft.com/en-us/library/ms534709(VS.85).aspx |
| 868 | */ |
| 869 | Document.prototype.URLUnencoded; |
| 870 | |
| 871 | /** |
| 872 | * @see http://msdn.microsoft.com/en-us/library/ms535155(VS.85).aspx |
| 873 | */ |
| 874 | Document.prototype.XMLDocument; |
| 875 | |
| 876 | /** |
| 877 | * @see http://msdn.microsoft.com/en-us/library/ms535163(VS.85).aspx |
| 878 | */ |
| 879 | Document.prototype.XSLDocument; |
| 880 | |
| 881 | // functions |
| 882 | |
| 883 | /** |
| 884 | * @param {string} event |
| 885 | * @param {Function} handler |
| 886 | * @see http://msdn.microsoft.com/en-us/library/ms536343(VS.85).aspx |
| 887 | */ |
| 888 | Document.prototype.attachEvent; |
| 889 | |
| 890 | /** |
| 891 | * @see http://msdn.microsoft.com/en-us/library/ms536390(VS.85).aspx |
| 892 | */ |
| 893 | Document.prototype.createEventObject; |
| 894 | |
| 895 | /** |
| 896 | * @see http://msdn.microsoft.com/en-us/library/ms531194(VS.85).aspx |
| 897 | */ |
| 898 | Document.prototype.createStyleSheet; |
| 899 | |
| 900 | /** |
| 901 | * @see http://msdn.microsoft.com/en-us/library/ms536411(VS.85).aspx |
| 902 | */ |
| 903 | Document.prototype.detachEvent; |
| 904 | |
| 905 | /** |
| 906 | * @see http://msdn.microsoft.com/en-us/library/ms536425(VS.85).aspx |
| 907 | */ |
| 908 | Document.prototype.focus; |
| 909 | |
| 910 | /** |
| 911 | * @see http://msdn.microsoft.com/en-us/library/ms536447(VS.85).aspx |
| 912 | * @return {boolean} |
| 913 | */ |
| 914 | Document.prototype.hasFocus = function() {}; |
| 915 | |
| 916 | /** |
| 917 | * @see http://msdn.microsoft.com/en-us/library/ms536614(VS.85).aspx |
| 918 | */ |
| 919 | Document.prototype.mergeAttributes; |
| 920 | |
| 921 | /** |
| 922 | * @see http://msdn.microsoft.com/en-us/library/ms536685(VS.85).aspx |
| 923 | */ |
| 924 | Document.prototype.recalc; |
| 925 | |
| 926 | /** |
| 927 | * @see http://msdn.microsoft.com/en-us/library/ms536689(VS.85).aspx |
| 928 | */ |
| 929 | Document.prototype.releaseCapture; |
| 930 | |
| 931 | /** |
| 932 | * @see http://msdn.microsoft.com/en-us/library/ms536738(VS.85).aspx |
| 933 | */ |
| 934 | Document.prototype.setActive; |
| 935 | |
| 936 | |
| 937 | // collections |
| 938 | |
| 939 | /** |
| 940 | * @see http://msdn.microsoft.com/en-us/library/ms537434(VS.85).aspx |
| 941 | */ |
| 942 | Document.prototype.all; |
| 943 | |
| 944 | /** |
| 945 | * @see http://msdn.microsoft.com/en-us/library/ms537445(VS.85).aspx |
| 946 | */ |
| 947 | Document.prototype.childNodes; |
| 948 | |
| 949 | /** |
| 950 | * @see http://msdn.microsoft.com/en-us/library/ms537459(VS.85).aspx |
| 951 | */ |
| 952 | Document.prototype.frames; |
| 953 | |
| 954 | /** |
| 955 | * @see http://msdn.microsoft.com/en-us/library/ms537461(VS.85).aspx |
| 956 | */ |
| 957 | Document.prototype.images; |
| 958 | |
| 959 | /** |
| 960 | * @see http://msdn.microsoft.com/en-us/library/ms537470(VS.85).aspx |
| 961 | */ |
| 962 | Document.prototype.namespaces; |
| 963 | |
| 964 | /** |
| 965 | * @see http://msdn.microsoft.com/en-us/library/ms537487(VS.85).aspx |
| 966 | */ |
| 967 | Document.prototype.scripts; |
| 968 | |
| 969 | /** |
| 970 | * @param {string} sUrl |
| 971 | * @return {number} |
| 972 | * @see http://msdn.microsoft.com/en-us/library/ms535922(VS.85).aspx |
| 973 | */ |
| 974 | Element.prototype.addBehavior = function(sUrl) {}; |
| 975 | |
| 976 | /** |
| 977 | * @param {string} event |
| 978 | * @param {Function} handler |
| 979 | * @see http://msdn.microsoft.com/en-us/library/mm536343(v=vs.85).aspx |
| 980 | */ |
| 981 | Element.prototype.attachEvent; |
| 982 | |
| 983 | /** |
| 984 | * @type {boolean} |
| 985 | * @see http://msdn.microsoft.com/en-us/library/ms533546(VS.85).aspx |
| 986 | */ |
| 987 | Element.prototype.canHaveChildren; |
| 988 | |
| 989 | /** |
| 990 | * @param {number} iCoordX Integer that specifies the client window coordinate |
| 991 | * of x. |
| 992 | * @param {number} iCoordY Integer that specifies the client window coordinate |
| 993 | * of y. |
| 994 | * @return {string} The component of an element located at the specified |
| 995 | * coordinates. |
| 996 | * @see http://msdn.microsoft.com/en-us/library/ms536375(VS.85).aspx |
| 997 | * @nosideeffects |
| 998 | */ |
| 999 | Element.prototype.componentFromPoint = function(iCoordX, iCoordY) {}; |
| 1000 | |
| 1001 | /** |
| 1002 | * @param {Element} el The element to check |
| 1003 | * @return {boolean} If the element is contained within this one. |
| 1004 | * @see http://msdn.microsoft.com/en-us/library/ms536377(VS.85).aspx |
| 1005 | * @nosideeffects |
| 1006 | */ |
| 1007 | Element.prototype.contains = function(el) {}; |
| 1008 | |
| 1009 | /** |
| 1010 | * @type {boolean} |
| 1011 | * @see http://msdn.microsoft.com/en-us/library/ms533690(VS.85).aspx |
| 1012 | */ |
| 1013 | Element.prototype.contentEditable; |
| 1014 | |
| 1015 | /** |
| 1016 | * @return {TextRange} |
| 1017 | * @see http://msdn.microsoft.com/en-us/library/ms536401(VS.85).aspx |
| 1018 | */ |
| 1019 | Element.prototype.createTextRange; |
| 1020 | |
| 1021 | /** |
| 1022 | * @see http://msdn.microsoft.com/en-us/library/ms535231(VS.85).aspx |
| 1023 | */ |
| 1024 | Element.prototype.currentStyle; |
| 1025 | |
| 1026 | /** |
| 1027 | * @param {string=} opt_action |
| 1028 | * @see http://msdn.microsoft.com/en-us/library/ms536414%28VS.85%29.aspx |
| 1029 | */ |
| 1030 | Element.prototype.doScroll = function(opt_action) {}; |
| 1031 | |
| 1032 | /** |
| 1033 | * @see http://msdn.microsoft.com/en-us/library/ms536423(VS.85).aspx |
| 1034 | */ |
| 1035 | Element.prototype.fireEvent; |
| 1036 | |
| 1037 | /** |
| 1038 | * @type {boolean} |
| 1039 | * @see http://msdn.microsoft.com/en-us/library/ms533783(VS.85).aspx |
| 1040 | */ |
| 1041 | Element.prototype.hideFocus; |
| 1042 | |
| 1043 | /** |
| 1044 | * @see http://msdn.microsoft.com/en-us/library/ms533899.aspx |
| 1045 | */ |
| 1046 | Element.prototype.innerText; |
| 1047 | |
| 1048 | /** |
| 1049 | * @see http://msdn.microsoft.com/en-us/library/ms537838(VS.85).aspx |
| 1050 | */ |
| 1051 | Element.prototype.isContentEditable; |
| 1052 | |
| 1053 | /** |
| 1054 | * @param {number} pointerId Id of the pointer that is assign to the element. |
| 1055 | * @see http://msdn.microsoft.com/en-us/library/ie/hh771882(v=vs.85).aspx |
| 1056 | */ |
| 1057 | Element.prototype.msSetPointerCapture = function(pointerId) {}; |
| 1058 | |
| 1059 | /** |
| 1060 | * @param {number} pointerId |
| 1061 | * @see http://msdn.microsoft.com/en-us/library/ie/hh771880.aspx |
| 1062 | */ |
| 1063 | Element.prototype.msReleasePointerCapture = function(pointerId) {}; |
| 1064 | |
| 1065 | /** |
| 1066 | * @type {?function(Event)} |
| 1067 | * @see http://msdn.microsoft.com/en-us/library/ms536903(v=vs.85).aspx |
| 1068 | */ |
| 1069 | Element.prototype.onbeforedeactivate; |
| 1070 | |
| 1071 | /** |
| 1072 | * @type {?function(Event)} |
| 1073 | * @see http://msdn.microsoft.com/en-us/library/ms536945(VS.85).aspx |
| 1074 | */ |
| 1075 | Element.prototype.onmouseenter; |
| 1076 | |
| 1077 | /** |
| 1078 | * @type {?function(Event)} |
| 1079 | * @see http://msdn.microsoft.com/en-us/library/ms536946(VS.85).aspx |
| 1080 | */ |
| 1081 | Element.prototype.onmouseleave; |
| 1082 | |
| 1083 | /** |
| 1084 | * @type {?function(Event)} |
| 1085 | * @see http://msdn.microsoft.com/en-us/library/ms536969(VS.85).aspx |
| 1086 | */ |
| 1087 | Element.prototype.onselectstart; |
| 1088 | |
| 1089 | /** |
| 1090 | * @see http://msdn.microsoft.com/en-us/library/aa752326(VS.85).aspx |
| 1091 | */ |
| 1092 | Element.prototype.outerHTML; |
| 1093 | |
| 1094 | /** |
| 1095 | * @type {string} |
| 1096 | * @see http://msdn.microsoft.com/en-us/library/ms534359(VS.85).aspx |
| 1097 | */ |
| 1098 | Element.prototype.readyState; |
| 1099 | |
| 1100 | /** |
| 1101 | * @see http://msdn.microsoft.com/en-us/library/ms536689(VS.85).aspx |
| 1102 | */ |
| 1103 | Element.prototype.releaseCapture = function() {}; |
| 1104 | |
| 1105 | /** |
| 1106 | * @param {number} iID |
| 1107 | * @return {boolean} |
| 1108 | * @see http://msdn.microsoft.com/en-us/library/ms536700(VS.85).aspx |
| 1109 | */ |
| 1110 | Element.prototype.removeBehavior = function(iID) {}; |
| 1111 | |
| 1112 | /** |
| 1113 | * @see http://msdn.microsoft.com/en-us/library/aa703996(VS.85).aspx |
| 1114 | */ |
| 1115 | Element.prototype.runtimeStyle; |
| 1116 | |
| 1117 | /** |
| 1118 | * @param {boolean=} opt_bContainerCapture Events originating in a container are |
| 1119 | * captured by the container. Defaults to true. |
| 1120 | * @see http://msdn.microsoft.com/en-us/library/ms536742(VS.85).aspx |
| 1121 | */ |
| 1122 | Element.prototype.setCapture = function(opt_bContainerCapture) {}; |
| 1123 | |
| 1124 | /** |
| 1125 | * @see http://msdn.microsoft.com/en-us/library/ms534635(VS.85).aspx |
| 1126 | */ |
| 1127 | Element.prototype.sourceIndex; |
| 1128 | |
| 1129 | /** |
| 1130 | * @type {string} |
| 1131 | * @see http://msdn.microsoft.com/en-us/library/ms537840.aspx |
| 1132 | */ |
| 1133 | Element.prototype.unselectable; |
| 1134 | |
| 1135 | /** |
| 1136 | * @constructor |
| 1137 | * @see http://msdn.microsoft.com/en-us/library/aa752462(v=vs.85).aspx |
| 1138 | */ |
| 1139 | function HTMLFiltersCollection() {} |
| 1140 | |
| 1141 | /** |
| 1142 | * @see http://msdn.microsoft.com/en-us/library/aa752463(v=vs.85).aspx |
| 1143 | * @type {number} |
| 1144 | */ |
| 1145 | HTMLFiltersCollection.prototype.length; |
| 1146 | |
| 1147 | /** |
| 1148 | * @see http://msdn.microsoft.com/en-us/library/ms537452(v=vs.85).aspx |
| 1149 | * @type {HTMLFiltersCollection} |
| 1150 | */ |
| 1151 | Element.prototype.filters; |
| 1152 | |
| 1153 | /** |
| 1154 | * @constructor |
| 1155 | * @see http://msdn.microsoft.com/en-us/library/ms532853(v=vs.85).aspx |
| 1156 | */ |
| 1157 | function HTMLFilter() {} |
| 1158 | |
| 1159 | /** |
| 1160 | * @see http://msdn.microsoft.com/en-us/library/ms532954(v=vs.85).aspx |
| 1161 | */ |
| 1162 | HTMLFilter.prototype.apply = function() {}; |
| 1163 | |
| 1164 | /** |
| 1165 | * @constructor |
| 1166 | * @extends {HTMLFilter} |
| 1167 | * @see http://msdn.microsoft.com/en-us/library/ms532967(v=vs.85).aspx |
| 1168 | */ |
| 1169 | function AlphaFilter() {} |
| 1170 | |
| 1171 | /** |
| 1172 | * @see http://msdn.microsoft.com/en-us/library/ms532910(v=vs.85).aspx |
| 1173 | * @type {number} |
| 1174 | */ |
| 1175 | AlphaFilter.prototype.Opacity; |
| 1176 | |
| 1177 | /** |
| 1178 | * @constructor |
| 1179 | * @extends {HTMLFilter} |
| 1180 | * @see http://msdn.microsoft.com/en-us/library/ms532969(v=vs.85).aspx |
| 1181 | */ |
| 1182 | function AlphaImageLoaderFilter() {} |
| 1183 | |
| 1184 | /** |
| 1185 | * @see http://msdn.microsoft.com/en-us/library/ms532920(v=vs.85).aspx |
| 1186 | * @type {string} |
| 1187 | */ |
| 1188 | AlphaImageLoaderFilter.prototype.sizingMethod; |
| 1189 | |
| 1190 | /** |
| 1191 | * @constructor |
| 1192 | * @see http://msdn.microsoft.com/en-us/library/ms535866(VS.85).aspx |
| 1193 | */ |
| 1194 | function Location() {} |
| 1195 | |
| 1196 | /** |
| 1197 | * @see http://trac.webkit.org/changeset/113945 |
| 1198 | * @type {DOMStringList} |
| 1199 | */ |
| 1200 | Location.prototype.ancestorOrigins; |
| 1201 | |
| 1202 | /** |
| 1203 | * @see http://msdn.microsoft.com/en-us/library/ms533775(VS.85).aspx |
| 1204 | * @type {string} |
| 1205 | */ |
| 1206 | Location.prototype.hash; |
| 1207 | |
| 1208 | /** |
| 1209 | * @see http://msdn.microsoft.com/en-us/library/ms533784(VS.85).aspx |
| 1210 | * @type {string} |
| 1211 | */ |
| 1212 | Location.prototype.host; |
| 1213 | |
| 1214 | /** |
| 1215 | * @see http://msdn.microsoft.com/en-us/library/ms533785(VS.85).aspx |
| 1216 | * @type {string} |
| 1217 | */ |
| 1218 | Location.prototype.hostname; |
| 1219 | |
| 1220 | /** |
| 1221 | * @see http://msdn.microsoft.com/en-us/library/ms533867(VS.85).aspx |
| 1222 | * @type {string} |
| 1223 | */ |
| 1224 | Location.prototype.href; |
| 1225 | |
| 1226 | /** |
| 1227 | * @see https://docs.google.com/document/view?id=1r_VTFKApVOaNIkocrg0z-t7lZgzisTuGTXkdzAk4gLU&hl=en |
| 1228 | * @type {string} |
| 1229 | */ |
| 1230 | Location.prototype.origin; |
| 1231 | |
| 1232 | /** |
| 1233 | * @see http://msdn.microsoft.com/en-us/library/ms534332(VS.85).aspx |
| 1234 | * @type {string} |
| 1235 | */ |
| 1236 | Location.prototype.pathname; |
| 1237 | |
| 1238 | /** |
| 1239 | * @see http://msdn.microsoft.com/en-us/library/ms534342(VS.85).aspx |
| 1240 | */ |
| 1241 | Location.prototype.port; |
| 1242 | |
| 1243 | /** |
| 1244 | * @see http://msdn.microsoft.com/en-us/library/ms534353(VS.85).aspx |
| 1245 | * @type {string} |
| 1246 | */ |
| 1247 | Location.prototype.protocol; |
| 1248 | |
| 1249 | /** |
| 1250 | * @see http://msdn.microsoft.com/en-us/library/ms534620(VS.85).aspx |
| 1251 | * @type {string} |
| 1252 | */ |
| 1253 | Location.prototype.search; |
| 1254 | |
| 1255 | /** |
| 1256 | * @see http://msdn.microsoft.com/en-us/library/ms536342(VS.85).aspx |
| 1257 | * @param {string} url |
| 1258 | */ |
| 1259 | Location.prototype.assign = function(url) {}; |
| 1260 | |
| 1261 | /** |
| 1262 | * @param {boolean=} opt_forceReload If true, reloads the page from |
| 1263 | * the server. Defaults to false. |
| 1264 | * @see http://msdn.microsoft.com/en-us/library/ms536691(VS.85).aspx |
| 1265 | */ |
| 1266 | Location.prototype.reload = function(opt_forceReload) {}; |
| 1267 | |
| 1268 | /** |
| 1269 | * @param {string} url |
| 1270 | * @see http://msdn.microsoft.com/en-us/library/ms536712(VS.85).aspx |
| 1271 | */ |
| 1272 | Location.prototype.replace = function(url) {}; |
| 1273 | |
| 1274 | |
| 1275 | // For IE, returns an object representing key-value pairs for all the global |
| 1276 | // variables prefixed with str, e.g. test* |
| 1277 | |
| 1278 | /** @param {*=} opt_str */ |
| 1279 | function RuntimeObject(opt_str) {} |
| 1280 | |
| 1281 | |
| 1282 | /** |
| 1283 | * @type {StyleSheet} |
| 1284 | * @see http://msdn.microsoft.com/en-us/library/dd347030(VS.85).aspx |
| 1285 | */ |
| 1286 | HTMLStyleElement.prototype.styleSheet; |
| 1287 | |
| 1288 | |
| 1289 | /** |
| 1290 | * IE implements Cross Origin Resource Sharing (cross-domain XMLHttpRequests) |
| 1291 | * via the XDomainRequest object. |
| 1292 | * |
| 1293 | * @constructor |
| 1294 | * @see http://msdn.microsoft.com/en-us/library/cc288060(v=vs.85).aspx |
| 1295 | * @see http://www.w3.org/TR/cors/ |
| 1296 | */ |
| 1297 | function XDomainRequest() {} |
| 1298 | |
| 1299 | /** |
| 1300 | * Aborts the request. |
| 1301 | * @see http://msdn.microsoft.com/en-us/library/cc288129(v=vs.85).aspx |
| 1302 | */ |
| 1303 | XDomainRequest.prototype.abort = function() {}; |
| 1304 | |
| 1305 | /** |
| 1306 | * Sets the method and URL for the request. |
| 1307 | * @param {string} bstrMethod Either "GET" or "POST" |
| 1308 | * @param {string} bstrUrl The target URL |
| 1309 | * @see http://msdn.microsoft.com/en-us/library/cc288168(v=vs.85).aspx |
| 1310 | */ |
| 1311 | XDomainRequest.prototype.open = function(bstrMethod, bstrUrl) {}; |
| 1312 | |
| 1313 | /** |
| 1314 | * Sends the request. |
| 1315 | * @param {string=} varBody The POST body to send to the server. If omitted, |
| 1316 | * the behavior is identical to sending an empty string. |
| 1317 | * @see http://msdn.microsoft.com/en-us/library/cc288207(v=vs.85).aspx |
| 1318 | */ |
| 1319 | XDomainRequest.prototype.send = function(varBody) {}; |
| 1320 | |
| 1321 | /** |
| 1322 | * Called if the request could not be completed. Note that error information is |
| 1323 | * not available. |
| 1324 | * @see http://msdn.microsoft.com/en-us/library/ms536930%28v=VS.85%29.aspx |
| 1325 | * @type {?function()} |
| 1326 | */ |
| 1327 | XDomainRequest.prototype.onerror; |
| 1328 | |
| 1329 | /** |
| 1330 | * Called when the response has finished. |
| 1331 | * @see http://msdn.microsoft.com/en-us/library/ms536942%28v=VS.85%29.aspx |
| 1332 | * @type {?function()} |
| 1333 | */ |
| 1334 | XDomainRequest.prototype.onload; |
| 1335 | |
| 1336 | /** |
| 1337 | * Called every time part of the response has been received. |
| 1338 | * @see http://msdn.microsoft.com/en-us/library/cc197058%28v=VS.85%29.aspx |
| 1339 | * @type {?function()} |
| 1340 | */ |
| 1341 | XDomainRequest.prototype.onprogress; |
| 1342 | |
| 1343 | /** |
| 1344 | * Called if the timeout period has elapsed. |
| 1345 | * @see http://msdn.microsoft.com/en-us/library/cc197061%28v=VS.85%29.aspx |
| 1346 | * @type {?function()} |
| 1347 | */ |
| 1348 | XDomainRequest.prototype.ontimeout; |
| 1349 | |
| 1350 | /** |
| 1351 | * The current response body. |
| 1352 | * @see http://msdn.microsoft.com/en-us/library/cc287956%28v=VS.85%29.aspx |
| 1353 | * @type {string} |
| 1354 | */ |
| 1355 | XDomainRequest.prototype.responseText; |
| 1356 | |
| 1357 | /** |
| 1358 | * The timeout (in milliseconds) for the request. |
| 1359 | * @type {number} |
| 1360 | */ |
| 1361 | XDomainRequest.prototype.timeout; |
| 1362 | |
| 1363 | /** |
| 1364 | * The Content-Type of the response, or an empty string. |
| 1365 | * @type {string} |
| 1366 | */ |
| 1367 | XDomainRequest.prototype.contentType; |
| 1368 | |
| 1369 | /** |
| 1370 | * @type {string} |
| 1371 | * @see http://msdn.microsoft.com/en-us/library/ms533542(v=vs.85).aspx |
| 1372 | */ |
| 1373 | Navigator.prototype.browserLanguage; |
| 1374 | |
| 1375 | /** |
| 1376 | * @type {boolean} |
| 1377 | * @see http://blogs.msdn.com/b/ie/archive/2011/09/20/touch-input-for-ie10-and-metro-style-apps.aspx |
| 1378 | */ |
| 1379 | Navigator.prototype.msPointerEnabled; |
| 1380 | |
| 1381 | /** |
| 1382 | * @type {number} |
| 1383 | * @see http://msdn.microsoft.com/en-us/library/ms533721(v=vs.85).aspx |
| 1384 | */ |
| 1385 | Screen.prototype.deviceXDPI; |