1// GENERATED CONTENT - DO NOT EDIT 2// Content was automatically extracted by Reffy into webref 3// (https://github.com/w3c/webref) 4// Source: DOM Standard (https://dom.spec.whatwg.org/) 5 6[Exposed=(Window,Worker,AudioWorklet)] 7interface Event { 8 constructor(DOMString type, optional EventInit eventInitDict = {}); 9 10 readonly attribute DOMString type; 11 readonly attribute EventTarget? target; 12 readonly attribute EventTarget? srcElement; // legacy 13 readonly attribute EventTarget? currentTarget; 14 sequence<EventTarget> composedPath(); 15 16 const unsigned short NONE = 0; 17 const unsigned short CAPTURING_PHASE = 1; 18 const unsigned short AT_TARGET = 2; 19 const unsigned short BUBBLING_PHASE = 3; 20 readonly attribute unsigned short eventPhase; 21 22 undefined stopPropagation(); 23 attribute boolean cancelBubble; // legacy alias of .stopPropagation() 24 undefined stopImmediatePropagation(); 25 26 readonly attribute boolean bubbles; 27 readonly attribute boolean cancelable; 28 attribute boolean returnValue; // legacy 29 undefined preventDefault(); 30 readonly attribute boolean defaultPrevented; 31 readonly attribute boolean composed; 32 33 [LegacyUnforgeable] readonly attribute boolean isTrusted; 34 readonly attribute DOMHighResTimeStamp timeStamp; 35 36 undefined initEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false); // legacy 37}; 38 39dictionary EventInit { 40 boolean bubbles = false; 41 boolean cancelable = false; 42 boolean composed = false; 43}; 44 45partial interface Window { 46 [Replaceable] readonly attribute (Event or undefined) event; // legacy 47}; 48 49[Exposed=(Window,Worker)] 50interface CustomEvent : Event { 51 constructor(DOMString type, optional CustomEventInit eventInitDict = {}); 52 53 readonly attribute any detail; 54 55 undefined initCustomEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false, optional any detail = null); // legacy 56}; 57 58dictionary CustomEventInit : EventInit { 59 any detail = null; 60}; 61 62[Exposed=(Window,Worker,AudioWorklet)] 63interface EventTarget { 64 constructor(); 65 66 undefined addEventListener(DOMString type, EventListener? callback, optional (AddEventListenerOptions or boolean) options = {}); 67 undefined removeEventListener(DOMString type, EventListener? callback, optional (EventListenerOptions or boolean) options = {}); 68 boolean dispatchEvent(Event event); 69}; 70 71callback interface EventListener { 72 undefined handleEvent(Event event); 73}; 74 75dictionary EventListenerOptions { 76 boolean capture = false; 77}; 78 79dictionary AddEventListenerOptions : EventListenerOptions { 80 boolean passive = false; 81 boolean once = false; 82 AbortSignal signal; 83}; 84 85[Exposed=(Window,Worker)] 86interface AbortController { 87 constructor(); 88 89 [SameObject] readonly attribute AbortSignal signal; 90 91 undefined abort(); 92}; 93 94[Exposed=(Window,Worker)] 95interface AbortSignal : EventTarget { 96 [NewObject] static AbortSignal abort(); 97 98 readonly attribute boolean aborted; 99 100 attribute EventHandler onabort; 101}; 102interface mixin NonElementParentNode { 103 Element? getElementById(DOMString elementId); 104}; 105Document includes NonElementParentNode; 106DocumentFragment includes NonElementParentNode; 107 108interface mixin DocumentOrShadowRoot { 109}; 110Document includes DocumentOrShadowRoot; 111ShadowRoot includes DocumentOrShadowRoot; 112 113interface mixin ParentNode { 114 [SameObject] readonly attribute HTMLCollection children; 115 readonly attribute Element? firstElementChild; 116 readonly attribute Element? lastElementChild; 117 readonly attribute unsigned long childElementCount; 118 119 [CEReactions, Unscopable] undefined prepend((Node or DOMString)... nodes); 120 [CEReactions, Unscopable] undefined append((Node or DOMString)... nodes); 121 [CEReactions, Unscopable] undefined replaceChildren((Node or DOMString)... nodes); 122 123 Element? querySelector(DOMString selectors); 124 [NewObject] NodeList querySelectorAll(DOMString selectors); 125}; 126Document includes ParentNode; 127DocumentFragment includes ParentNode; 128Element includes ParentNode; 129 130interface mixin NonDocumentTypeChildNode { 131 readonly attribute Element? previousElementSibling; 132 readonly attribute Element? nextElementSibling; 133}; 134Element includes NonDocumentTypeChildNode; 135CharacterData includes NonDocumentTypeChildNode; 136 137interface mixin ChildNode { 138 [CEReactions, Unscopable] undefined before((Node or DOMString)... nodes); 139 [CEReactions, Unscopable] undefined after((Node or DOMString)... nodes); 140 [CEReactions, Unscopable] undefined replaceWith((Node or DOMString)... nodes); 141 [CEReactions, Unscopable] undefined remove(); 142}; 143DocumentType includes ChildNode; 144Element includes ChildNode; 145CharacterData includes ChildNode; 146 147interface mixin Slottable { 148 readonly attribute HTMLSlotElement? assignedSlot; 149}; 150Element includes Slottable; 151Text includes Slottable; 152 153[Exposed=Window] 154interface NodeList { 155 getter Node? item(unsigned long index); 156 readonly attribute unsigned long length; 157 iterable<Node>; 158}; 159 160[Exposed=Window, LegacyUnenumerableNamedProperties] 161interface HTMLCollection { 162 readonly attribute unsigned long length; 163 getter Element? item(unsigned long index); 164 getter Element? namedItem(DOMString name); 165}; 166 167[Exposed=Window] 168interface MutationObserver { 169 constructor(MutationCallback callback); 170 171 undefined observe(Node target, optional MutationObserverInit options = {}); 172 undefined disconnect(); 173 sequence<MutationRecord> takeRecords(); 174}; 175 176callback MutationCallback = undefined (sequence<MutationRecord> mutations, MutationObserver observer); 177 178dictionary MutationObserverInit { 179 boolean childList = false; 180 boolean attributes; 181 boolean characterData; 182 boolean subtree = false; 183 boolean attributeOldValue; 184 boolean characterDataOldValue; 185 sequence<DOMString> attributeFilter; 186}; 187 188[Exposed=Window] 189interface MutationRecord { 190 readonly attribute DOMString type; 191 [SameObject] readonly attribute Node target; 192 [SameObject] readonly attribute NodeList addedNodes; 193 [SameObject] readonly attribute NodeList removedNodes; 194 readonly attribute Node? previousSibling; 195 readonly attribute Node? nextSibling; 196 readonly attribute DOMString? attributeName; 197 readonly attribute DOMString? attributeNamespace; 198 readonly attribute DOMString? oldValue; 199}; 200 201[Exposed=Window] 202interface Node : EventTarget { 203 const unsigned short ELEMENT_NODE = 1; 204 const unsigned short ATTRIBUTE_NODE = 2; 205 const unsigned short TEXT_NODE = 3; 206 const unsigned short CDATA_SECTION_NODE = 4; 207 const unsigned short ENTITY_REFERENCE_NODE = 5; // legacy 208 const unsigned short ENTITY_NODE = 6; // legacy 209 const unsigned short PROCESSING_INSTRUCTION_NODE = 7; 210 const unsigned short COMMENT_NODE = 8; 211 const unsigned short DOCUMENT_NODE = 9; 212 const unsigned short DOCUMENT_TYPE_NODE = 10; 213 const unsigned short DOCUMENT_FRAGMENT_NODE = 11; 214 const unsigned short NOTATION_NODE = 12; // legacy 215 readonly attribute unsigned short nodeType; 216 readonly attribute DOMString nodeName; 217 218 readonly attribute USVString baseURI; 219 220 readonly attribute boolean isConnected; 221 readonly attribute Document? ownerDocument; 222 Node getRootNode(optional GetRootNodeOptions options = {}); 223 readonly attribute Node? parentNode; 224 readonly attribute Element? parentElement; 225 boolean hasChildNodes(); 226 [SameObject] readonly attribute NodeList childNodes; 227 readonly attribute Node? firstChild; 228 readonly attribute Node? lastChild; 229 readonly attribute Node? previousSibling; 230 readonly attribute Node? nextSibling; 231 232 [CEReactions] attribute DOMString? nodeValue; 233 [CEReactions] attribute DOMString? textContent; 234 [CEReactions] undefined normalize(); 235 236 [CEReactions, NewObject] Node cloneNode(optional boolean deep = false); 237 boolean isEqualNode(Node? otherNode); 238 boolean isSameNode(Node? otherNode); // legacy alias of === 239 240 const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01; 241 const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02; 242 const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04; 243 const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08; 244 const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10; 245 const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20; 246 unsigned short compareDocumentPosition(Node other); 247 boolean contains(Node? other); 248 249 DOMString? lookupPrefix(DOMString? namespace); 250 DOMString? lookupNamespaceURI(DOMString? prefix); 251 boolean isDefaultNamespace(DOMString? namespace); 252 253 [CEReactions] Node insertBefore(Node node, Node? child); 254 [CEReactions] Node appendChild(Node node); 255 [CEReactions] Node replaceChild(Node node, Node child); 256 [CEReactions] Node removeChild(Node child); 257}; 258 259dictionary GetRootNodeOptions { 260 boolean composed = false; 261}; 262 263[Exposed=Window] 264interface Document : Node { 265 constructor(); 266 267 [SameObject] readonly attribute DOMImplementation implementation; 268 readonly attribute USVString URL; 269 readonly attribute USVString documentURI; 270 readonly attribute DOMString compatMode; 271 readonly attribute DOMString characterSet; 272 readonly attribute DOMString charset; // legacy alias of .characterSet 273 readonly attribute DOMString inputEncoding; // legacy alias of .characterSet 274 readonly attribute DOMString contentType; 275 276 readonly attribute DocumentType? doctype; 277 readonly attribute Element? documentElement; 278 HTMLCollection getElementsByTagName(DOMString qualifiedName); 279 HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString localName); 280 HTMLCollection getElementsByClassName(DOMString classNames); 281 282 [CEReactions, NewObject] Element createElement(DOMString localName, optional (DOMString or ElementCreationOptions) options = {}); 283 [CEReactions, NewObject] Element createElementNS(DOMString? namespace, DOMString qualifiedName, optional (DOMString or ElementCreationOptions) options = {}); 284 [NewObject] DocumentFragment createDocumentFragment(); 285 [NewObject] Text createTextNode(DOMString data); 286 [NewObject] CDATASection createCDATASection(DOMString data); 287 [NewObject] Comment createComment(DOMString data); 288 [NewObject] ProcessingInstruction createProcessingInstruction(DOMString target, DOMString data); 289 290 [CEReactions, NewObject] Node importNode(Node node, optional boolean deep = false); 291 [CEReactions] Node adoptNode(Node node); 292 293 [NewObject] Attr createAttribute(DOMString localName); 294 [NewObject] Attr createAttributeNS(DOMString? namespace, DOMString qualifiedName); 295 296 [NewObject] Event createEvent(DOMString interface); // legacy 297 298 [NewObject] Range createRange(); 299 300 // NodeFilter.SHOW_ALL = 0xFFFFFFFF 301 [NewObject] NodeIterator createNodeIterator(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null); 302 [NewObject] TreeWalker createTreeWalker(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null); 303}; 304 305[Exposed=Window] 306interface XMLDocument : Document {}; 307 308dictionary ElementCreationOptions { 309 DOMString is; 310}; 311 312[Exposed=Window] 313interface DOMImplementation { 314 [NewObject] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId); 315 [NewObject] XMLDocument createDocument(DOMString? namespace, [LegacyNullToEmptyString] DOMString qualifiedName, optional DocumentType? doctype = null); 316 [NewObject] Document createHTMLDocument(optional DOMString title); 317 318 boolean hasFeature(); // useless; always returns true 319}; 320 321[Exposed=Window] 322interface DocumentType : Node { 323 readonly attribute DOMString name; 324 readonly attribute DOMString publicId; 325 readonly attribute DOMString systemId; 326}; 327 328[Exposed=Window] 329interface DocumentFragment : Node { 330 constructor(); 331}; 332 333[Exposed=Window] 334interface ShadowRoot : DocumentFragment { 335 readonly attribute ShadowRootMode mode; 336 readonly attribute boolean delegatesFocus; 337 readonly attribute SlotAssignmentMode slotAssignment; 338 readonly attribute Element host; 339 attribute EventHandler onslotchange; 340}; 341 342enum ShadowRootMode { "open", "closed" }; 343enum SlotAssignmentMode { "manual", "named" }; 344 345[Exposed=Window] 346interface Element : Node { 347 readonly attribute DOMString? namespaceURI; 348 readonly attribute DOMString? prefix; 349 readonly attribute DOMString localName; 350 readonly attribute DOMString tagName; 351 352 [CEReactions] attribute DOMString id; 353 [CEReactions] attribute DOMString className; 354 [SameObject, PutForwards=value] readonly attribute DOMTokenList classList; 355 [CEReactions, Unscopable] attribute DOMString slot; 356 357 boolean hasAttributes(); 358 [SameObject] readonly attribute NamedNodeMap attributes; 359 sequence<DOMString> getAttributeNames(); 360 DOMString? getAttribute(DOMString qualifiedName); 361 DOMString? getAttributeNS(DOMString? namespace, DOMString localName); 362 [CEReactions] undefined setAttribute(DOMString qualifiedName, DOMString value); 363 [CEReactions] undefined setAttributeNS(DOMString? namespace, DOMString qualifiedName, DOMString value); 364 [CEReactions] undefined removeAttribute(DOMString qualifiedName); 365 [CEReactions] undefined removeAttributeNS(DOMString? namespace, DOMString localName); 366 [CEReactions] boolean toggleAttribute(DOMString qualifiedName, optional boolean force); 367 boolean hasAttribute(DOMString qualifiedName); 368 boolean hasAttributeNS(DOMString? namespace, DOMString localName); 369 370 Attr? getAttributeNode(DOMString qualifiedName); 371 Attr? getAttributeNodeNS(DOMString? namespace, DOMString localName); 372 [CEReactions] Attr? setAttributeNode(Attr attr); 373 [CEReactions] Attr? setAttributeNodeNS(Attr attr); 374 [CEReactions] Attr removeAttributeNode(Attr attr); 375 376 ShadowRoot attachShadow(ShadowRootInit init); 377 readonly attribute ShadowRoot? shadowRoot; 378 379 Element? closest(DOMString selectors); 380 boolean matches(DOMString selectors); 381 boolean webkitMatchesSelector(DOMString selectors); // legacy alias of .matches 382 383 HTMLCollection getElementsByTagName(DOMString qualifiedName); 384 HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString localName); 385 HTMLCollection getElementsByClassName(DOMString classNames); 386 387 [CEReactions] Element? insertAdjacentElement(DOMString where, Element element); // legacy 388 undefined insertAdjacentText(DOMString where, DOMString data); // legacy 389}; 390 391dictionary ShadowRootInit { 392 required ShadowRootMode mode; 393 boolean delegatesFocus = false; 394 SlotAssignmentMode slotAssignment = "named"; 395}; 396 397[Exposed=Window, 398 LegacyUnenumerableNamedProperties] 399interface NamedNodeMap { 400 readonly attribute unsigned long length; 401 getter Attr? item(unsigned long index); 402 getter Attr? getNamedItem(DOMString qualifiedName); 403 Attr? getNamedItemNS(DOMString? namespace, DOMString localName); 404 [CEReactions] Attr? setNamedItem(Attr attr); 405 [CEReactions] Attr? setNamedItemNS(Attr attr); 406 [CEReactions] Attr removeNamedItem(DOMString qualifiedName); 407 [CEReactions] Attr removeNamedItemNS(DOMString? namespace, DOMString localName); 408}; 409 410[Exposed=Window] 411interface Attr : Node { 412 readonly attribute DOMString? namespaceURI; 413 readonly attribute DOMString? prefix; 414 readonly attribute DOMString localName; 415 readonly attribute DOMString name; 416 [CEReactions] attribute DOMString value; 417 418 readonly attribute Element? ownerElement; 419 420 readonly attribute boolean specified; // useless; always returns true 421}; 422[Exposed=Window] 423interface CharacterData : Node { 424 attribute [LegacyNullToEmptyString] DOMString data; 425 readonly attribute unsigned long length; 426 DOMString substringData(unsigned long offset, unsigned long count); 427 undefined appendData(DOMString data); 428 undefined insertData(unsigned long offset, DOMString data); 429 undefined deleteData(unsigned long offset, unsigned long count); 430 undefined replaceData(unsigned long offset, unsigned long count, DOMString data); 431}; 432 433[Exposed=Window] 434interface Text : CharacterData { 435 constructor(optional DOMString data = ""); 436 437 [NewObject] Text splitText(unsigned long offset); 438 readonly attribute DOMString wholeText; 439}; 440 441[Exposed=Window] 442interface CDATASection : Text { 443}; 444[Exposed=Window] 445interface ProcessingInstruction : CharacterData { 446 readonly attribute DOMString target; 447}; 448[Exposed=Window] 449interface Comment : CharacterData { 450 constructor(optional DOMString data = ""); 451}; 452 453[Exposed=Window] 454interface AbstractRange { 455 readonly attribute Node startContainer; 456 readonly attribute unsigned long startOffset; 457 readonly attribute Node endContainer; 458 readonly attribute unsigned long endOffset; 459 readonly attribute boolean collapsed; 460}; 461 462dictionary StaticRangeInit { 463 required Node startContainer; 464 required unsigned long startOffset; 465 required Node endContainer; 466 required unsigned long endOffset; 467}; 468 469[Exposed=Window] 470interface StaticRange : AbstractRange { 471 constructor(StaticRangeInit init); 472}; 473 474[Exposed=Window] 475interface Range : AbstractRange { 476 constructor(); 477 478 readonly attribute Node commonAncestorContainer; 479 480 undefined setStart(Node node, unsigned long offset); 481 undefined setEnd(Node node, unsigned long offset); 482 undefined setStartBefore(Node node); 483 undefined setStartAfter(Node node); 484 undefined setEndBefore(Node node); 485 undefined setEndAfter(Node node); 486 undefined collapse(optional boolean toStart = false); 487 undefined selectNode(Node node); 488 undefined selectNodeContents(Node node); 489 490 const unsigned short START_TO_START = 0; 491 const unsigned short START_TO_END = 1; 492 const unsigned short END_TO_END = 2; 493 const unsigned short END_TO_START = 3; 494 short compareBoundaryPoints(unsigned short how, Range sourceRange); 495 496 [CEReactions] undefined deleteContents(); 497 [CEReactions, NewObject] DocumentFragment extractContents(); 498 [CEReactions, NewObject] DocumentFragment cloneContents(); 499 [CEReactions] undefined insertNode(Node node); 500 [CEReactions] undefined surroundContents(Node newParent); 501 502 [NewObject] Range cloneRange(); 503 undefined detach(); 504 505 boolean isPointInRange(Node node, unsigned long offset); 506 short comparePoint(Node node, unsigned long offset); 507 508 boolean intersectsNode(Node node); 509 510 stringifier; 511}; 512 513[Exposed=Window] 514interface NodeIterator { 515 [SameObject] readonly attribute Node root; 516 readonly attribute Node referenceNode; 517 readonly attribute boolean pointerBeforeReferenceNode; 518 readonly attribute unsigned long whatToShow; 519 readonly attribute NodeFilter? filter; 520 521 Node? nextNode(); 522 Node? previousNode(); 523 524 undefined detach(); 525}; 526 527[Exposed=Window] 528interface TreeWalker { 529 [SameObject] readonly attribute Node root; 530 readonly attribute unsigned long whatToShow; 531 readonly attribute NodeFilter? filter; 532 attribute Node currentNode; 533 534 Node? parentNode(); 535 Node? firstChild(); 536 Node? lastChild(); 537 Node? previousSibling(); 538 Node? nextSibling(); 539 Node? previousNode(); 540 Node? nextNode(); 541}; 542[Exposed=Window] 543callback interface NodeFilter { 544 // Constants for acceptNode() 545 const unsigned short FILTER_ACCEPT = 1; 546 const unsigned short FILTER_REJECT = 2; 547 const unsigned short FILTER_SKIP = 3; 548 549 // Constants for whatToShow 550 const unsigned long SHOW_ALL = 0xFFFFFFFF; 551 const unsigned long SHOW_ELEMENT = 0x1; 552 const unsigned long SHOW_ATTRIBUTE = 0x2; 553 const unsigned long SHOW_TEXT = 0x4; 554 const unsigned long SHOW_CDATA_SECTION = 0x8; 555 const unsigned long SHOW_ENTITY_REFERENCE = 0x10; // legacy 556 const unsigned long SHOW_ENTITY = 0x20; // legacy 557 const unsigned long SHOW_PROCESSING_INSTRUCTION = 0x40; 558 const unsigned long SHOW_COMMENT = 0x80; 559 const unsigned long SHOW_DOCUMENT = 0x100; 560 const unsigned long SHOW_DOCUMENT_TYPE = 0x200; 561 const unsigned long SHOW_DOCUMENT_FRAGMENT = 0x400; 562 const unsigned long SHOW_NOTATION = 0x800; // legacy 563 564 unsigned short acceptNode(Node node); 565}; 566 567[Exposed=Window] 568interface DOMTokenList { 569 readonly attribute unsigned long length; 570 getter DOMString? item(unsigned long index); 571 boolean contains(DOMString token); 572 [CEReactions] undefined add(DOMString... tokens); 573 [CEReactions] undefined remove(DOMString... tokens); 574 [CEReactions] boolean toggle(DOMString token, optional boolean force); 575 [CEReactions] boolean replace(DOMString token, DOMString newToken); 576 boolean supports(DOMString token); 577 [CEReactions] stringifier attribute DOMString value; 578 iterable<DOMString>; 579}; 580 581[Exposed=Window] 582interface XPathResult { 583 const unsigned short ANY_TYPE = 0; 584 const unsigned short NUMBER_TYPE = 1; 585 const unsigned short STRING_TYPE = 2; 586 const unsigned short BOOLEAN_TYPE = 3; 587 const unsigned short UNORDERED_NODE_ITERATOR_TYPE = 4; 588 const unsigned short ORDERED_NODE_ITERATOR_TYPE = 5; 589 const unsigned short UNORDERED_NODE_SNAPSHOT_TYPE = 6; 590 const unsigned short ORDERED_NODE_SNAPSHOT_TYPE = 7; 591 const unsigned short ANY_UNORDERED_NODE_TYPE = 8; 592 const unsigned short FIRST_ORDERED_NODE_TYPE = 9; 593 594 readonly attribute unsigned short resultType; 595 readonly attribute unrestricted double numberValue; 596 readonly attribute DOMString stringValue; 597 readonly attribute boolean booleanValue; 598 readonly attribute Node? singleNodeValue; 599 readonly attribute boolean invalidIteratorState; 600 readonly attribute unsigned long snapshotLength; 601 602 Node? iterateNext(); 603 Node? snapshotItem(unsigned long index); 604}; 605 606[Exposed=Window] 607interface XPathExpression { 608 // XPathResult.ANY_TYPE = 0 609 XPathResult evaluate(Node contextNode, optional unsigned short type = 0, optional XPathResult? result = null); 610}; 611 612callback interface XPathNSResolver { 613 DOMString? lookupNamespaceURI(DOMString? prefix); 614}; 615 616interface mixin XPathEvaluatorBase { 617 [NewObject] XPathExpression createExpression(DOMString expression, optional XPathNSResolver? resolver = null); 618 XPathNSResolver createNSResolver(Node nodeResolver); 619 // XPathResult.ANY_TYPE = 0 620 XPathResult evaluate(DOMString expression, Node contextNode, optional XPathNSResolver? resolver = null, optional unsigned short type = 0, optional XPathResult? result = null); 621}; 622Document includes XPathEvaluatorBase; 623 624[Exposed=Window] 625interface XPathEvaluator { 626 constructor(); 627}; 628 629XPathEvaluator includes XPathEvaluatorBase; 630 631[Exposed=Window] 632interface XSLTProcessor { 633 constructor(); 634 undefined importStylesheet(Node style); 635 [CEReactions] DocumentFragment transformToFragment(Node source, Document output); 636 [CEReactions] Document transformToDocument(Node source); 637 undefined setParameter([LegacyNullToEmptyString] DOMString namespaceURI, DOMString localName, any value); 638 any getParameter([LegacyNullToEmptyString] DOMString namespaceURI, DOMString localName); 639 undefined removeParameter([LegacyNullToEmptyString] DOMString namespaceURI, DOMString localName); 640 undefined clearParameters(); 641 undefined reset(); 642}; 643