Upgrading happy-dom 1 to 2
Breaking1.18.2 → 2.55.0Breaking1Platform1New86Changed2Fixed57
BreakingUpgrade verdict
1 breaking change and a platform requirement change.
In plain terms
- The methods window.whenAsyncComplete and window.cancelAsync has been moved to window.happyDOM.whenAsyncComplete and window.happyDOM.cancelAsync.
- Changes removeChild to return the removed Node.
Must act 2 items need code or config changes
Adds css.escape ^1.5.1, sync-request ^6.1.0, webidl-conversions ^7.0.0, whatwg-encoding ^2.0.0.
Installs 68 packages in all (was 6).
What you must change
Breaking1
The methods window.whenAsyncComplete and window.cancelAsync has been moved to window.happyDOM.whenAsyncComplete and window.happyDOM.cancelAsync.
Platform1
Changes removeChild to return the removed Node.
API changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- added:
default class AsyncTaskManager - added:
method AsyncTaskManager.cancelAll(error?: Error): void - added:
method AsyncTaskManager.endTask(taskID: number): void - added:
method AsyncTaskManager.endTimer(timerID: NodeJS.Timeout): void - added:
method AsyncTaskManager.getTaskCount(): number - added:
method AsyncTaskManager.getTimerCount(): number - added:
method AsyncTaskManager.startTask(): number - added:
method AsyncTaskManager.startTimer(timerID: NodeJS.Timeout): void - added:
method AsyncTaskManager.whenComplete(): Promise<void>
- added:
readonly property Attr.ownerDocument: IDocument - added:
readonly property Attr.ownerElement: IElement - added:
readonly property Attr.specified = true
- added:
const _default: string[] - added:
default _default
- removed:
const _default: { HTMLTemplateElement: typeof HTMLTemplateElement; HTMLFormElement: typeof HTMLFormElement; HTMLInputElement: typeof HTMLInputElement; HTMLTextAreaElement: typ… - removed:
default _default
- changed:
const _default: { template: typeof HTMLTemplateElement; form: typeof HTMLFormElement; input: typeof HTMLInputElement; textarea: typeof HTMLTextAreaElement; script: typeof HTML… → const _default: { A: typeof HTMLElement; ABBR: typeof HTMLElement; ADDRESS: typeof HTMLElement; AREA: typeof HTMLElement; ARTICLE: typeof HTMLElement; ASIDE: typeof HTMLElemen…
- added:
const _default: string[] - added:
default _default
- added:
constructor CSS() - added:
default class CSS - added:
method CSS.escape(value: string): boolean - added:
method CSS.supports(_condition: string, _value?: string): boolean
- added:
method CSSStyleDeclaration.getPropertyValue(propertyName: string): string
- changed:
method CSSStyleSheet.insertRule(rule: string, index?: number): void → method CSSStyleSheet.insertRule(rule: string, index?: number): number
- added:
constructor CSSUnitValue(value: number, unit: string) - added:
default class CSSUnitValue - added:
property CSSUnitValue.unit: string - added:
property CSSUnitValue.value: number
- added:
const _default: string[] - added:
default _default
- added:
property CustomElementRegistry._callbacks: { [k: string]: (() => void)[] }
- changed:
method DOMImplementation.createDocument(): Document → method DOMImplementation.createDocument(): IDocument - changed:
method DOMImplementation.createHTMLDocument(): Document → method DOMImplementation.createHTMLDocument(): IDocument - changed:
property DOMImplementation._ownerDocument: Document → property DOMImplementation._ownerDocument: IDocument
- added:
constructor DOMTokenList(ownerElement: Element, attributeName: any) - added:
default class DOMTokenList implements IDOMTokenList - added:
get DOMTokenList.value(): string - added:
method DOMTokenList._updateIndices(): void - added:
method DOMTokenList.add(...tokens: string[]): void - added:
method DOMTokenList.contains(className: string): boolean - added:
method DOMTokenList.entries(): IterableIterator<[number, string]> - added:
method DOMTokenList.forEach(callback: (currentValue: any, currentIndex: any, listObj: any) => void, thisArg?: this): void - added:
method DOMTokenList.item(index: number | string): string - added:
method DOMTokenList.keys(): IterableIterator<number> - added:
method DOMTokenList.remove(...tokens: string[]): void - added:
method DOMTokenList.replace(token: string, newToken: string): boolean - added:
method DOMTokenList.supports(token: string): boolean - added:
method DOMTokenList.toggle(token: string, force?: boolean): boolean - added:
method DOMTokenList.values(): IterableIterator<string> - added:
readonly property DOMTokenList.length = 0 - added:
set DOMTokenList.value(value: string)
- added:
default interface IDOMTokenList - added:
method IDOMTokenList.add(...tokens: string[]): void - added:
method IDOMTokenList.contains(token: string): boolean - added:
method IDOMTokenList.entries(): IterableIterator<[number, string]> - added:
method IDOMTokenList.forEach(callback: (currentValue: any, currentIndex: any, listObj: any) => void, thisArg?: this): void - added:
method IDOMTokenList.item(index: number | string): string - added:
method IDOMTokenList.keys(): IterableIterator<number> - added:
method IDOMTokenList.remove(...tokens: string[]): void - added:
method IDOMTokenList.replace(token: string, newToken: string): boolean - added:
method IDOMTokenList.supports(token: string): boolean - added:
method IDOMTokenList.toggle(token: string, force?: boolean): boolean - added:
method IDOMTokenList.values(): IterableIterator<string> - added:
property IDOMTokenList.value: string - added:
readonly property IDOMTokenList.length: number
- added:
readonly property DataTransferItemList.DataTransferItem: DataTransferItem[]
- removed:
default class ErrorEvent extends Event - removed:
property ErrorEvent.error: Error
- changed:
default abstract class EventTarget → default abstract class EventTarget implements IEventTarget - changed:
method EventTarget.addEventListener(type: string, listener: (event: Event) => void): void → method EventTarget.addEventListener(type: string, listener: ((event: Event) => void) | IEventListener): void - changed:
method EventTarget.removeEventListener(type: string, listener: (event: Event) => void): void → method EventTarget.removeEventListener(type: string, listener: ((event: Event) => void) | IEventListener): void - changed:
protected readonly property EventTarget._listeners: { [k: string]: ((event: Event) => void)[] } → readonly property EventTarget._listeners: { [k: string]: (((event: Event) => void) | IEventListener)[] } - added:
method EventTarget.attachEvent(type: string, listener: ((event: Event) => void) | IEventListener): void
- added:
default interface IEventListener - added:
method IEventListener.handleEvent(event: Event): void
- added:
default interface IEventTarget - added:
method IEventTarget.addEventListener(type: string, listener: ((event: Event) => void) | IEventListener): void - added:
method IEventTarget.dispatchEvent(event: Event): boolean - added:
method IEventTarget.removeEventListener(type: string, listener: ((event: Event) => void) | IEventListener): void
- added:
constructor AnimationEvent(type: string, eventInit?: IAnimationEventInit) - added:
default class AnimationEvent extends Event - added:
property AnimationEvent.animationName: string - added:
property AnimationEvent.elapsedTime: number - added:
property AnimationEvent.pseudoElement: string
- added:
method CustomEvent.initCustomEvent(type: string, bubbles?: boolean, cancelable?: boolean, detail?: object): void
- added:
default interface IAnimationEventInit extends IEventInit - added:
property IAnimationEventInit.animationName?: string - added:
property IAnimationEventInit.elapsedTime?: number - added:
property IAnimationEventInit.pseudoElement?: string
- added:
default interface IPointerEventInit extends IMouseEventInit - added:
property IPointerEventInit.height?: number - added:
property IPointerEventInit.isPrimary?: boolean - added:
property IPointerEventInit.pointerId?: number - added:
property IPointerEventInit.pointerType?: string - added:
property IPointerEventInit.pressure?: number - added:
property IPointerEventInit.tangentialPressure?: number - added:
property IPointerEventInit.tiltX?: number - added:
property IPointerEventInit.tiltY?: number - added:
property IPointerEventInit.twist?: number - added:
property IPointerEventInit.width?: number
- removed:
default interface IProgressEventInit extends IEventInit - removed:
property IProgressEventInit.lengthComputable?: boolean - removed:
property IProgressEventInit.loaded?: number - removed:
property IProgressEventInit.total?: number
- added:
default interface IProgressEventInit extends IEventInit - added:
property IProgressEventInit.lengthComputable?: boolean - added:
property IProgressEventInit.loaded?: number - added:
property IProgressEventInit.total?: number
- added:
default interface IStorageEventInit extends IEventInit - added:
property IStorageEventInit.key?: string - added:
property IStorageEventInit.newValue?: string - added:
property IStorageEventInit.oldValue?: string - added:
property IStorageEventInit.storageArea?: Storage
- added:
constructor PointerEvent(type: string, eventInit?: IPointerEventInit) - added:
default class PointerEvent extends MouseEvent - added:
readonly property PointerEvent.height: number - added:
readonly property PointerEvent.isPrimary: boolean - added:
readonly property PointerEvent.pointerId: number - added:
readonly property PointerEvent.pointerType: string - added:
readonly property PointerEvent.pressure: number - added:
readonly property PointerEvent.tangentialPressure: number - added:
readonly property PointerEvent.tiltX: number - added:
readonly property PointerEvent.tiltY: number - added:
readonly property PointerEvent.twist: number - added:
readonly property PointerEvent.width: number
- added:
constructor StorageEvent(type: string, eventInit?: IStorageEventInit) - added:
default class StorageEvent extends Event - added:
readonly property StorageEvent.key: string - added:
readonly property StorageEvent.newValue: string - added:
readonly property StorageEvent.oldValue: string - added:
readonly property StorageEvent.storageArea: Storage
- added:
member DOMExceptionNameEnum.hierarchyRequestError = 'HierarchyRequestError' - added:
member DOMExceptionNameEnum.indexSizeError = 'IndexSizeError' - added:
member DOMExceptionNameEnum.syntaxError = 'SyntaxError'
- added:
default class FetchHandler - added:
static method FetchHandler.fetch(document: IDocument, url: string, init?: IRequestInit): Promise<IResponse>
- added:
default class Headers extends NodeFetch.Headers implements IHeaders
- added:
default interface IAbortSignal - added:
property IAbortSignal.aborted: boolean - added:
property IAbortSignal.addEventListener: (type: 'abort', listener: (this: IAbortSignal, event: any) => any, options?: boolean | { capture?: boolean | undefined; once?: boolean | undefined; passive?: boolean | undefined }) => void - added:
property IAbortSignal.dispatchEvent: (event: any) => boolean - added:
property IAbortSignal.onabort: null | ((this: IAbortSignal, event: any) => void) - added:
property IAbortSignal.removeEventListener: (type: 'abort', listener: (this: IAbortSignal, event: any) => any, options?: boolean | { capture?: boolean | undefined }) => void
- added:
default interface IBody - added:
method IBody.arrayBuffer(): Promise<ArrayBuffer> - added:
method IBody.blob(): Promise<IBlob> - added:
method IBody.buffer(): Promise<Buffer> - added:
method IBody.json(): Promise<unknown> - added:
method IBody.text(): Promise<string> - added:
method IBody.textConverted(): Promise<string> - added:
readonly property IBody.body: NodeJS.ReadableStream - added:
readonly property IBody.bodyUsed: boolean - added:
readonly property IBody.size: number - added:
readonly property IBody.timeout: number
- added:
default interface IHeaders extends Iterable<[string, string]> - added:
method IHeaders.append(name: string, value: string): void - added:
method IHeaders.delete(name: string): void - added:
method IHeaders.entries(): IterableIterator<[string, string]> - added:
method IHeaders.forEach(callback: (value: string, name: string) => void): void - added:
method IHeaders.get(name: string): string | null - added:
method IHeaders.has(name: string): boolean - added:
method IHeaders.keys(): IterableIterator<string> - added:
method IHeaders.raw(): { [k: string]: string[] } - added:
method IHeaders.set(name: string, value: string): void - added:
method IHeaders.values(): IterableIterator<string> - added:
method IHeaders[Symbol.iterator](): Iterator<[string, string]>
- added:
default IHeadersInit - added:
type IHeadersInit = string[][] | { [key: string]: string } | IHeaders
- added:
default interface IRequest extends IBody - added:
method IRequest.clone(): IRequest - added:
readonly property IRequest.headers: IHeaders - added:
readonly property IRequest.method: string - added:
readonly property IRequest.redirect: 'error' | 'follow' | 'manual' - added:
readonly property IRequest.referrer: string - added:
readonly property IRequest.url: string
- added:
default interface IRequestInit - added:
property IRequestInit.body?: ArrayBuffer | ArrayBufferView | NodeJS.ReadableStream | string | URLSearchParams | IFormData | null - added:
property IRequestInit.headers?: IHeadersInit - added:
property IRequestInit.method?: string - added:
property IRequestInit.redirect?: 'error' | 'manual' | 'follow' - added:
property IRequestInit.signal?: IAbortSignal | null
- added:
default interface IResponse extends IBody - added:
method IResponse.clone(): IResponse - added:
readonly property IResponse.headers: IHeaders - added:
readonly property IResponse.ok: boolean - added:
readonly property IResponse.redirected: boolean - added:
readonly property IResponse.status: number - added:
readonly property IResponse.statusText: string - added:
readonly property IResponse.type: 'basic' | 'cors' | 'default' | 'error' | 'opaque' | 'opaqueredirect' - added:
readonly property IResponse.url: string
- added:
default interface IResponseInit - added:
property IResponseInit.headers?: IHeaders | string[][] | Record<string, string> - added:
property IResponseInit.status?: number - added:
property IResponseInit.statusText?: string
- added:
default class Request extends NodeFetch.Request implements IRequest - added:
method Request.arrayBuffer(): Promise<ArrayBuffer> - added:
method Request.blob(): Promise<IBlob> - added:
method Request.buffer(): Promise<Buffer> - added:
method Request.json(): Promise<unknown> - added:
method Request.text(): Promise<string> - added:
method Request.textConverted(): Promise<string> - added:
static property Request._ownerDocument: IDocument
- added:
default class ResourceFetchHandler - added:
static method ResourceFetchHandler.fetch(document: IDocument, url: string): Promise<string> - added:
static method ResourceFetchHandler.fetchSync(document: IDocument, url: string): string
- added:
default class Response extends NodeFetch.Response implements IResponse - added:
method Response.arrayBuffer(): Promise<ArrayBuffer> - added:
method Response.blob(): Promise<IBlob> - added:
method Response.buffer(): Promise<Buffer> - added:
method Response.json(): Promise<unknown> - added:
method Response.text(): Promise<string> - added:
method Response.textConverted(): Promise<string> - added:
static property Response._ownerDocument: IDocument
- changed:
default class Blob → default class Blob implements IBlob - added:
method Blob.text(): Promise<string>
- removed:
default FileReaderFormatEnum - removed:
enum FileReaderFormatEnum - removed:
member FileReaderFormatEnum.done = 2 - removed:
member FileReaderFormatEnum.empty = 0 - removed:
member FileReaderFormatEnum.loading = 1 - added:
default FileReaderReadyStateEnum - added:
enum FileReaderReadyStateEnum - added:
member FileReaderReadyStateEnum.done = 2 - added:
member FileReaderReadyStateEnum.empty = 0 - added:
member FileReaderReadyStateEnum.loading = 1
- added:
default interface IBlob - added:
method IBlob.slice(start?: number, end?: number): IBlob - added:
method IBlob.text(): Promise<string> - added:
readonly property IBlob.size: number - added:
readonly property IBlob.type: string
- added:
default interface IFormData extends Stream.Readable - added:
method IFormData.append(key: string, value: unknown, options?: IAppendOptions | string): void - added:
method IFormData.getBoundary(): string - added:
method IFormData.getBuffer(): Buffer - added:
method IFormData.getHeaders(userHeaders?: IHeaders): { [key: string]: IHeaders } - added:
method IFormData.getLength(callback: (err: Error | null, length: number) => void): void - added:
method IFormData.getLengthSync(): number - added:
method IFormData.hasKnownLength(): boolean - added:
method IFormData.setBoundary(boundary: string): void - added:
method IFormData.submit(params: string | ISubmitOptions, callback?: (error: Error | null, response: HTTP.IncomingMessage) => void): HTTP.ClientRequest
- removed:
export { CommentNode } - removed:
export { ElementTag } - removed:
export { SelfClosingElements } - removed:
export { TextNode } - removed:
export { UnclosedElements } - added:
export { AnimationEvent } - added:
export { AsyncTaskManager } - added:
export { Blob } - added:
export { CSSStyleDeclaration } - added:
export { Comment } - added:
export { CustomEvent } - added:
export { DOMException } - added:
export { DOMParser } - added:
export { DataTransfer } - added:
export { DataTransferItem } - added:
export { DataTransferItemList } - added:
export { ErrorEvent } - added:
export { Event } - added:
export { EventTarget } - added:
export { File } - added:
export { FileReader } - added:
export { FocusEvent } - added:
export { HTMLBaseElement } - added:
export { HTMLDocument } - added:
export { HTMLImageElement } - added:
export { HTMLLabelElement } - added:
export { HTMLLinkElement } - added:
export { HTMLMetaElement } - added:
export { HTMLScriptElement } - added:
export { HTMLSlotElement } - added:
export { HTMLStyleElement } - added:
export { History } - added:
export { IAnimationEventInit } - added:
export { IComment } - added:
export { ICustomEventInit } - added:
export { IDocument } - added:
export { IDocumentFragment } - added:
export { IDocumentType } - added:
export { IElement } - added:
export { IErrorEventInit } - added:
export { IEventInit } - added:
export { IEventListener } - added:
export { IFocusEventInit } - added:
export { IHTMLBaseElement } - added:
export { IHTMLCollection } - added:
export { IHTMLElement } - added:
export { IHTMLFormElement } - added:
export { IHTMLImageElement } - added:
export { IHTMLInputElement } - added:
export { IHTMLLabelElement } - added:
export { IHTMLLinkElement } - added:
export { IHTMLMetaElement } - added:
export { IHTMLSlotElement } - added:
export { IHTMLStyleElement } - added:
export { IHTMLTemplateElement } - added:
export { IHTMLTextAreaElement } - added:
export { IInputEventInit } - added:
export { IKeyboardEventInit } - added:
export { IMouseEventInit } - added:
export { INode } - added:
export { INodeList } - added:
export { IProgressEventInit } - added:
export { ISVGElement } - added:
export { ISVGGraphicsElement } - added:
export { ISVGSVGElement } - added:
export { IShadowRoot } - added:
export { IText } - added:
export { IUIEventInit } - added:
export { IWheelEventInit } - added:
export { IWindow } - added:
export { Image } - added:
export { InputEvent } - added:
export { KeyboardEvent } - added:
export { Location } - added:
export { MouseEvent } - added:
export { MutationObserver } - added:
export { NodeFilter } - added:
export { ProgressEvent } - added:
export { ResizeObserver } - added:
export { SVGDocument } - added:
export { SVGElement } - added:
export { SVGGraphicsElement } - added:
export { Screen } - added:
export { Selection } - added:
export { Storage } - added:
export { Text } - added:
export { UIEvent } - added:
export { URL } - added:
export { URLSearchParams } - added:
export { WheelEvent } - added:
export { XMLDocument }
- added:
default class RelativeURL - added:
static method RelativeURL.getAbsoluteURL(location: Location, url: string): string
- added:
default class MediaQueryList extends EventTarget - added:
get MediaQueryList.matches(): boolean - added:
get MediaQueryList.media(): string - added:
method MediaQueryList.addListener(callback: (event: Event) => void): void - added:
method MediaQueryList.removeListener(callback: (event: Event) => void): void - added:
property MediaQueryList._matches: boolean - added:
property MediaQueryList._media: string - added:
property MediaQueryList.onchange: (event: Event) => void
- changed:
method MutationObserver.observe(target: Node, options: IMutationObserverInit): void → method MutationObserver.observe(target: INode, options: IMutationObserverInit): void
- removed:
default MutationType - removed:
enum MutationType - removed:
member MutationType.attributes = 'attributes' - removed:
member MutationType.characterData = 'characterData' - removed:
member MutationType.childList = 'childList'
- added:
default MutationTypeEnum - added:
enum MutationTypeEnum - added:
member MutationTypeEnum.attributes = 'attributes' - added:
member MutationTypeEnum.characterData = 'characterData' - added:
member MutationTypeEnum.childList = 'childList'
- added:
constructor MimeType(description: string, enabledPlugin: Plugin, suffixes: string, type: string) - added:
default class MimeType - added:
method MimeType.toString(): string - added:
readonly property MimeType.description: string - added:
readonly property MimeType.enabledPlugin: Plugin - added:
readonly property MimeType.suffixes: string - added:
readonly property MimeType.type: string
- added:
constructor MimeTypeArray(mimeTypes: MimeType[]) - added:
default class MimeTypeArray - added:
index MimeTypeArray[n: number]: MimeType - added:
method MimeTypeArray.item(index: number): MimeType - added:
method MimeTypeArray.namedItem(name: string): MimeType - added:
method MimeTypeArray.toString(): string - added:
readonly property MimeTypeArray.length: number
- added:
default class Navigator - added:
method Navigator.toString(): string - added:
readonly property Navigator.appCodeName: string - added:
readonly property Navigator.appName: string - added:
readonly property Navigator.appVersion: string - added:
readonly property Navigator.cookieEnabled: boolean - added:
readonly property Navigator.credentials: string - added:
readonly property Navigator.doNotTrack: string - added:
readonly property Navigator.geolocation: string - added:
readonly property Navigator.hardwareConcurrency: number - added:
readonly property Navigator.language: string - added:
readonly property Navigator.languages: string[] - added:
readonly property Navigator.locks: string - added:
readonly property Navigator.maxTouchPoints: number - added:
readonly property Navigator.mimeTypes: MimeTypeArray - added:
readonly property Navigator.onLine: boolean - added:
readonly property Navigator.permissions: string - added:
readonly property Navigator.platform: string - added:
readonly property Navigator.plugins: PluginArray - added:
readonly property Navigator.product: string - added:
readonly property Navigator.productSub: string - added:
readonly property Navigator.userAgent: string - added:
readonly property Navigator.vendor: string - added:
readonly property Navigator.vendorSub: string - added:
readonly property Navigator.webdriver: boolean
- added:
constructor Plugin(mimeTypes: MimeType[], description: string, filename: string, name: string) - added:
default class Plugin - added:
index Plugin[n: number]: MimeType - added:
method Plugin.item(index: number): MimeType - added:
method Plugin.namedItem(name: string): MimeType - added:
method Plugin.toString(): string - added:
readonly property Plugin.description: string - added:
readonly property Plugin.filename: string - added:
readonly property Plugin.length: number - added:
readonly property Plugin.name: string
- added:
constructor PluginArray(plugins: Plugin[]) - added:
default class PluginArray - added:
index PluginArray[n: number]: Plugin - added:
method PluginArray.item(index: number): Plugin - added:
method PluginArray.namedItem(name: string): Plugin - added:
method PluginArray.refresh(): void - added:
method PluginArray.toString(): string - added:
readonly property PluginArray.length: number
- added:
constructor CharacterData(data?: string) - added:
default abstract class CharacterData extends Node implements ICharacterData - added:
get CharacterData.data(): string - added:
get CharacterData.length(): number - added:
get CharacterData.nextElementSibling(): IElement - added:
get CharacterData.nodeValue(): string - added:
get CharacterData.previousElementSibling(): IElement - added:
get CharacterData.textContent(): string - added:
method CharacterData.after(...nodes: (string | Node)[]): void - added:
method CharacterData.appendData(data: string): void - added:
method CharacterData.before(...nodes: (string | Node)[]): void - added:
method CharacterData.cloneNode(deep?: boolean): ICharacterData - added:
method CharacterData.deleteData(offset: number, count: number): void - added:
method CharacterData.insertData(offset: number, data: string): void - added:
method CharacterData.remove(): void - added:
method CharacterData.replaceData(offset: number, count: number, data: string): void - added:
method CharacterData.replaceWith(...nodes: (Node | string)[]): void - added:
method CharacterData.substringData(offset: number, count: number): string - added:
protected property CharacterData._data: string - added:
set CharacterData.data(data: string) - added:
set CharacterData.nodeValue(nodeValue: string) - added:
set CharacterData.textContent(textContent: string)
- changed:
default interface ICharacterData extends IChildNode, INonDocumentTypeChildNode → default interface ICharacterData extends INode, IChildNode, INonDocumentTypeChildNode - added:
method ICharacterData.cloneNode(deep?: boolean): ICharacterData
- changed:
static method NonDocumentChildNodeUtility.nextElementSibling(childNode: INonDocumentTypeChildNode): Element → static method NonDocumentChildNodeUtility.nextElementSibling(childNode: INonDocumentTypeChildNode): IElement - changed:
static method NonDocumentChildNodeUtility.previousElementSibling(childNode: INonDocumentTypeChildNode): Element → static method NonDocumentChildNodeUtility.previousElementSibling(childNode: INonDocumentTypeChildNode): IElement
- removed:
default class CommentNode extends Node implements ICharacterData - removed:
get CommentNode.data(): string - removed:
get CommentNode.length(): number - removed:
get CommentNode.nextElementSibling(): IElement - removed:
get CommentNode.nodeName(): string - removed:
get CommentNode.nodeValue(): string - removed:
get CommentNode.previousElementSibling(): IElement - removed:
get CommentNode.textContent(): string - removed:
method CommentNode.after(...nodes: (string | Node)[]): void - removed:
method CommentNode.appendData(data: string): void - removed:
method CommentNode.before(...nodes: (string | Node)[]): void - removed:
method CommentNode.cloneNode(deep?: boolean): CommentNode - removed:
method CommentNode.deleteData(offset: number, count: number): void - removed:
method CommentNode.insertData(offset: number, data: string): void - removed:
method CommentNode.remove(): void - removed:
method CommentNode.replaceData(offset: number, count: number, data: string): void - removed:
method CommentNode.replaceWith(...nodes: (Node | string)[]): void - removed:
method CommentNode.substringData(offset: number, count: number): string - removed:
method CommentNode.toString(): string - removed:
readonly property CommentNode.nodeType = 8 - removed:
set CommentNode.data(data: string) - removed:
set CommentNode.nodeValue(nodeValue: string) - removed:
set CommentNode.textContent(textContent: string)
- added:
default class Comment extends CharacterData implements IComment - added:
get Comment.nodeName(): string - added:
method Comment.cloneNode(deep?: boolean): IComment - added:
method Comment.toString(): string - added:
readonly property Comment.nodeType = 8
- added:
default interface IComment extends ICharacterData - added:
method IComment.cloneNode(deep?: boolean): IComment
- removed:
method DocumentFragment.getElementsByClassName(className: string): IElement[] - removed:
method DocumentFragment.getElementsByTagName(tagName: string): IElement[] - removed:
method DocumentFragment.getElementsByTagNameNS(namespaceURI: string, tagName: string): IElement[] - changed:
default class DocumentFragment extends Node implements IParentNode → default class DocumentFragment extends Node implements IDocumentFragment - changed:
method DocumentFragment.append(...nodes: (Node | string)[]): void → method DocumentFragment.append(...nodes: (INode | string)[]): void - changed:
method DocumentFragment.appendChild(node: Node): Node → method DocumentFragment.appendChild(node: INode): INode - changed:
method DocumentFragment.cloneNode(deep?: boolean): DocumentFragment → method DocumentFragment.cloneNode(deep?: boolean): IDocumentFragment - changed:
method DocumentFragment.insertBefore(newNode: Node, referenceNode?: Node): Node → method DocumentFragment.insertBefore(newNode: INode, referenceNode?: INode): INode - changed:
method DocumentFragment.prepend(...nodes: (Node | string)[]): void → method DocumentFragment.prepend(...nodes: (INode | string)[]): void - changed:
method DocumentFragment.removeChild(node: Node): void → method DocumentFragment.removeChild(node: INode): INode - changed:
method DocumentFragment.replaceChildren(...nodes: (Node | string)[]): void → method DocumentFragment.replaceChildren(...nodes: (INode | string)[]): void - changed:
readonly property DocumentFragment.children: IElement[] → readonly property DocumentFragment.children: IHTMLCollection<IElement> - added:
get DocumentFragment.textContent(): string - added:
method DocumentFragment.getElementById(id: string): IElement - added:
property DocumentFragment._rootNode: INode - added:
set DocumentFragment.textContent(textContent: string)
- added:
default interface IDocumentFragment extends INode - added:
method IDocumentFragment.append(...nodes: (INode | string)[]): void - added:
method IDocumentFragment.cloneNode(deep: boolean): IDocumentFragment - added:
method IDocumentFragment.getElementById(id: string): IElement - added:
method IDocumentFragment.prepend(...nodes: (INode | string)[]): void - added:
method IDocumentFragment.querySelector(selector: string): IElement - added:
method IDocumentFragment.querySelectorAll(selector: string): IElement[] - added:
method IDocumentFragment.replaceChildren(...nodes: (INode | string)[]): void - added:
readonly property IDocumentFragment.childElementCount: number - added:
readonly property IDocumentFragment.children: IElement[] - added:
readonly property IDocumentFragment.firstElementChild: IElement - added:
readonly property IDocumentFragment.lastElementChild: IElement
- added:
method IDocumentType.cloneNode(deep: boolean): IDocumentType
- removed:
property Document.defaultView: Window - removed:
protected property Document._isConnected: boolean - changed:
get Document.body(): HTMLElement → get Document.body(): IHTMLElement - changed:
get Document.doctype(): DocumentType → get Document.doctype(): IDocumentType - changed:
get Document.documentElement(): HTMLElement → get Document.documentElement(): IHTMLElement - changed:
get Document.firstElementChild(): Element → get Document.firstElementChild(): IElement - changed:
get Document.head(): HTMLElement → get Document.head(): IHTMLElement - changed:
get Document.lastElementChild(): Element → get Document.lastElementChild(): IElement - changed:
method Document.append(...nodes: (Node | string)[]): void → method Document.append(...nodes: (INode | string)[]): void - changed:
method Document.appendChild(node: Node): Node → method Document.appendChild(node: INode): INode - changed:
method Document.cloneNode(deep?: boolean): Document → method Document.cloneNode(deep?: boolean): IDocument - changed:
method Document.createComment(data: string): CommentNode → method Document.createComment(data?: string): IComment - changed:
method Document.createDocumentFragment(): DocumentFragment → method Document.createDocumentFragment(): IDocumentFragment - changed:
method Document.createElement(tagName: string, options?: { is: string }): Element → method Document.createElement(qualifiedName: string, options?: { is?: string }): IElement - changed:
method Document.createElementNS(namespaceURI: string, qualifiedName: string, options?: { is: string }): Element → method Document.createElementNS(namespaceURI: string, qualifiedName: string, options?: { is?: string }): IElement - changed:
method Document.createEvent(_type: string): Event → method Document.createEvent(type: string): Event - changed:
method Document.createTextNode(data: string): TextNode → method Document.createTextNode(data?: string): IText - changed:
method Document.createTreeWalker(root: Node, whatToShow?: number, filter?: INodeFilter): TreeWalker → method Document.createTreeWalker(root: INode, whatToShow?: number, filter?: INodeFilter): TreeWalker - changed:
method Document.getElementById(id: string): Element → method Document.getElementById(id: string): IElement - changed:
method Document.getElementsByClassName(className: string): Element[] → method Document.getElementsByClassName(className: string): IHTMLCollection<IElement> - changed:
method Document.getElementsByTagName(tagName: string): Element[] → method Document.getElementsByTagName(tagName: string): IHTMLCollection<IElement> - changed:
method Document.getElementsByTagNameNS(namespaceURI: string, tagName: string): Element[] → method Document.getElementsByTagNameNS(namespaceURI: string, tagName: string): IHTMLCollection<IElement> - changed:
method Document.importNode(node: Node, deep?: boolean): Node → method Document.importNode(node: INode, deep?: boolean): INode - changed:
method Document.insertBefore(newNode: Node, referenceNode?: Node): Node → method Document.insertBefore(newNode: INode, referenceNode?: INode): INode - changed:
method Document.open(): Document → method Document.open(): IDocument - changed:
method Document.prepend(...nodes: (Node | string)[]): void → method Document.prepend(...nodes: (INode | string)[]): void - changed:
method Document.querySelector(selector: string): Element → method Document.querySelector(selector: string): IElement - changed:
method Document.querySelectorAll(selector: string): Element[] → method Document.querySelectorAll(selector: string): INodeList<IElement> - changed:
method Document.removeChild(node: Node): void → method Document.removeChild(node: INode): INode - changed:
method Document.replaceChildren(...nodes: (Node | string)[]): void → method Document.replaceChildren(...nodes: (INode | string)[]): void - changed:
readonly property Document.children: Element[] → readonly property Document.children: IHTMLCollection<IElement> - added:
get Document.activeElement(): IHTMLElement - added:
get Document.characterSet(): string - added:
get Document.charset(): string - added:
get Document.defaultView(): Window - added:
get Document.location(): Location - added:
get Document.scripts(): IHTMLCollection<IHTMLScriptElement> - added:
get Document.scrollingElement(): IHTMLElement - added:
get Document.styleSheets(): CSSStyleSheet[] - added:
method Document.adoptNode(node: INode): INode - added:
method Document.dispatchEvent(event: Event): boolean - added:
method Document.getElementsByName(name: string): INodeList<IElement> - added:
method Document.getSelection(): Selection - added:
method Document.hasFocus(): boolean - added:
property Document._activeElement: IHTMLElement - added:
property Document._readyStateManager: DocumentReadyStateManager - added:
property Document.onreadystatechange: (event: Event) => void - added:
readonly property Document.isConnected: boolean - added:
readonly property Document.readyState = DocumentReadyStateEnum.interactive - added:
set Document.defaultView(defaultView: Window)
- added:
default DocumentReadyStateEnum - added:
enum DocumentReadyStateEnum - added:
member DocumentReadyStateEnum.complete = 'complete' - added:
member DocumentReadyStateEnum.interactive = 'interactive' - added:
member DocumentReadyStateEnum.loading = 'loading'
- added:
constructor DocumentReadyStateManager(window: IWindow) - added:
default class DocumentReadyStateManager - added:
method DocumentReadyStateManager.endTask(): void - added:
method DocumentReadyStateManager.startTask(): void - added:
method DocumentReadyStateManager.whenComplete(): Promise<void>
- changed:
method IDocument.createComment(data: string): ICharacterData → method IDocument.createComment(data?: string): ICharacterData - changed:
method IDocument.createDocumentFragment(): IParentNode → method IDocument.createDocumentFragment(): IDocumentFragment - changed:
method IDocument.createTextNode(data: string): ICharacterData → method IDocument.createTextNode(data?: string): ICharacterData - added:
method IDocument.adoptNode(node: INode): INode - added:
method IDocument.cloneNode(deep: boolean): IDocument - added:
method IDocument.getElementById(id: string): IElement - added:
method IDocument.getElementsByName(name: string): INodeList<IElement> - added:
method IDocument.getSelection(): Selection - added:
method IDocument.hasFocus(): boolean - added:
property IDocument.cookie: string - added:
property IDocument.onreadystatechange: (event: Event) => void - added:
readonly property IDocument.activeElement: IHTMLElement - added:
readonly property IDocument.characterSet: string - added:
readonly property IDocument.charset: string - added:
readonly property IDocument.location: Location - added:
readonly property IDocument.readyState: DocumentReadyStateEnum - added:
readonly property IDocument.scripts: IHTMLCollection<IHTMLScriptElement> - added:
readonly property IDocument.scrollingElement: IHTMLElement - added:
readonly property IDocument.styleSheets: CSSStyleSheet[]
- removed:
constructor ClassList(ownerElement: Element) - removed:
default class ClassList - removed:
method ClassList.add(...classNames: string[]): void - removed:
method ClassList.contains(className: string): boolean - removed:
method ClassList.remove(...classNames: string[]): void
- removed:
readonly property Element.classList: ClassList - removed:
static get Element.observedAttributes(): string[] - changed:
get Element.firstElementChild(): Element → get Element.firstElementChild(): IElement - changed:
get Element.lastElementChild(): Element → get Element.lastElementChild(): IElement - changed:
get Element.nextElementSibling(): Element → get Element.nextElementSibling(): IElement - changed:
get Element.previousElementSibling(): Element → get Element.previousElementSibling(): IElement - changed:
method Element.after(...nodes: (string | Node)[]): void → method Element.after(...nodes: (string | INode)[]): void - changed:
method Element.append(...nodes: (string | Node)[]): void → method Element.append(...nodes: (string | INode)[]): void - changed:
method Element.appendChild(node: Node): Node → method Element.appendChild(node: INode): INode - changed:
method Element.attachShadow(shadowRootInit: { mode: string }): ShadowRoot → method Element.attachShadow(shadowRootInit: { mode: string }): IShadowRoot - changed:
method Element.before(...nodes: (string | Node)[]): void → method Element.before(...nodes: (string | INode)[]): void - changed:
method Element.cloneNode(deep?: boolean): Element → method Element.cloneNode(deep?: boolean): IElement - changed:
method Element.getElementsByClassName(className: string): Element[] → method Element.getElementsByClassName(className: string): IHTMLCollection<IElement> - changed:
method Element.getElementsByTagName(tagName: string): Element[] → method Element.getElementsByTagName(tagName: string): IHTMLCollection<IElement> - changed:
method Element.getElementsByTagNameNS(namespaceURI: string, tagName: string): Element[] → method Element.getElementsByTagNameNS(namespaceURI: string, tagName: string): IHTMLCollection<IElement> - changed:
method Element.insertBefore(newNode: Node, referenceNode?: Node): Node → method Element.insertBefore(newNode: INode, referenceNode?: INode): INode - changed:
method Element.prepend(...nodes: (string | Node)[]): void → method Element.prepend(...nodes: (string | INode)[]): void - changed:
method Element.querySelector(selector: string): Element → method Element.querySelector(selector: string): IElement - changed:
method Element.querySelectorAll(selector: string): Element[] → method Element.querySelectorAll(selector: string): INodeList<IElement> - changed:
method Element.removeChild(node: Node): void → method Element.removeChild(node: INode): INode - changed:
method Element.replaceChildren(...nodes: (string | Node)[]): void → method Element.replaceChildren(...nodes: (string | INode)[]): void - changed:
method Element.replaceWith(...nodes: (Node | string)[]): void → method Element.replaceWith(...nodes: (INode | string)[]): void - changed:
property Element.children: Element[] → property Element.children: IHTMLCollection<IElement> - changed:
property Element.shadowRoot: ShadowRoot → property Element.shadowRoot: IShadowRoot - added:
get Element.classList(): IDOMTokenList - added:
get Element.slot(): string - added:
method Element.closest(selector: string): IElement - added:
method Element.getAttributeNames(): string[] - added:
method Element.getAttributeNodeNS(namespace: string, name: string): Attr - added:
method Element.getInnerHTML(options?: { includeShadowRoots?: boolean }): string - added:
method Element.insertAdjacentElement(position: TInsertAdjacentPositions, element: INode): INode | null - added:
method Element.insertAdjacentHTML(position: TInsertAdjacentPositions, text: string): void - added:
method Element.insertAdjacentText(position: TInsertAdjacentPositions, text: string): void - added:
method Element.removeAttributeNodeNS(attribute: Attr): void - added:
method Element.setAttributeNodeNS(attribute: Attr): Attr - added:
property Element._shadowRoot: IShadowRoot - added:
protected method Element._updateDomListIndices(): void - added:
set Element.slot(title: string) - added:
static property Element.observedAttributes: string[]
- added:
default class HTMLCollection extends Array implements IHTMLCollection<INode> - added:
method HTMLCollection.item(index: number): INode
- added:
default class HTMLCollectionFactory - added:
static method HTMLCollectionFactory.create(nodes?: IElement[]): IHTMLCollection<IElement>
- removed:
method IElement.getElementsByClassName(className: string): IElement[] - removed:
method IElement.getElementsByTagName(tagName: string): IElement[] - removed:
method IElement.getElementsByTagNameNS(namespaceURI: string, tagName: string): IElement[] - changed:
readonly property IElement.classList: ClassList → readonly property IElement.classList: IDOMTokenList - changed:
readonly property IElement.outerHTML: string → property IElement.outerHTML: string - added:
method IElement.cloneNode(deep: boolean): IElement - added:
method IElement.closest(selector: string): IElement - added:
method IElement.getAttributeNames(): string[] - added:
method IElement.getAttributeNodeNS(namespace: string, nodeName: string): Attr - added:
method IElement.getInnerHTML(options?: { includeShadowRoots?: boolean }): string - added:
method IElement.insertAdjacentElement(position: TInsertAdjacentPositions, node: INode): INode | null - added:
method IElement.insertAdjacentHTML(position: TInsertAdjacentPositions, text: string): void - added:
method IElement.insertAdjacentText(position: TInsertAdjacentPositions, text: string): void - added:
method IElement.removeAttributeNodeNS(attribute: Attr): void - added:
method IElement.setAttributeNodeNS(attribute: Attr): Attr - added:
property IElement.slot: string - added:
readonly property IElement.localName: string - added:
readonly property IElement.nodeName: string - added:
type TInsertAdjacentPositions = 'beforebegin' | 'afterbegin' | 'beforeend' | 'afterend'
- added:
default interface IHTMLCollection<T> extends Array<T> - added:
method IHTMLCollection.item(index: number): T
- added:
default class HTMLBaseElement extends HTMLElement implements IHTMLBaseElement - added:
get HTMLBaseElement.href(): string - added:
get HTMLBaseElement.target(): string - added:
method HTMLBaseElement.cloneNode(deep?: boolean): IHTMLBaseElement - added:
set HTMLBaseElement.href(href: string) - added:
set HTMLBaseElement.target(target: string)
- added:
default interface IHTMLBaseElement extends IHTMLElement - added:
method IHTMLBaseElement.cloneNode(deep: boolean): IHTMLBaseElement - added:
property IHTMLBaseElement.href: string - added:
property IHTMLBaseElement.target: string
- added:
default class HTMLDocument extends Document
- added:
default class DatasetUtility - added:
static method DatasetUtility.camelCaseToKebab(text: string): string - added:
static method DatasetUtility.kebabToCamelCase(text: string): string
- changed:
set HTMLElement.innerText(text: string) → set HTMLElement.innerText(innerText: string) - added:
method HTMLElement.cloneNode(deep?: boolean): IHTMLElement
- added:
method IHTMLElement.cloneNode(deep: boolean): IHTMLElement
- changed:
default class HTMLFormElement extends HTMLElement → default class HTMLFormElement extends HTMLElement implements IHTMLFormElement - changed:
get HTMLFormElement.elements(): Element[] → get HTMLFormElement.elements(): IElement[] - added:
method HTMLFormElement.cloneNode(deep?: boolean): IHTMLFormElement
- added:
default interface IHTMLFormElement extends IHTMLElement - added:
method IHTMLFormElement.checkValidity(): boolean - added:
method IHTMLFormElement.cloneNode(deep: boolean): IHTMLFormElement - added:
method IHTMLFormElement.reportValidity(): void - added:
method IHTMLFormElement.reset(): void - added:
method IHTMLFormElement.submit(): void - added:
property IHTMLFormElement.acceptCharset: string - added:
property IHTMLFormElement.action: string - added:
property IHTMLFormElement.autocomplete: string - added:
property IHTMLFormElement.elements: IElement[] - added:
property IHTMLFormElement.encoding: string - added:
property IHTMLFormElement.enctype: string - added:
property IHTMLFormElement.length: number - added:
property IHTMLFormElement.method: string - added:
property IHTMLFormElement.name: string - added:
property IHTMLFormElement.noValidate: string - added:
property IHTMLFormElement.target: string
- added:
default class HTMLImageElement extends HTMLElement implements IHTMLImageElement - added:
get HTMLImageElement.alt(): string - added:
get HTMLImageElement.currentSrc(): string - added:
get HTMLImageElement.height(): number - added:
get HTMLImageElement.isMap(): boolean - added:
get HTMLImageElement.referrerPolicy(): string - added:
get HTMLImageElement.sizes(): string - added:
get HTMLImageElement.src(): string - added:
get HTMLImageElement.srcset(): string - added:
get HTMLImageElement.useMap(): string - added:
get HTMLImageElement.width(): number - added:
method HTMLImageElement.cloneNode(deep?: boolean): IHTMLImageElement - added:
method HTMLImageElement.decode(): Promise<void> - added:
property HTMLImageElement.crossOrigin: any - added:
property HTMLImageElement.decoding: string - added:
property HTMLImageElement.loading: string - added:
readonly property HTMLImageElement.complete = false - added:
readonly property HTMLImageElement.naturalHeight = 0 - added:
readonly property HTMLImageElement.naturalWidth = 0 - added:
readonly property HTMLImageElement.tagName: string - added:
readonly property HTMLImageElement.x = 0 - added:
readonly property HTMLImageElement.y = 0 - added:
set HTMLImageElement.alt(alt: string) - added:
set HTMLImageElement.height(height: number) - added:
set HTMLImageElement.isMap(isMap: boolean) - added:
set HTMLImageElement.referrerPolicy(referrerPolicy: string) - added:
set HTMLImageElement.sizes(sizes: string) - added:
set HTMLImageElement.src(src: string) - added:
set HTMLImageElement.srcset(srcset: string) - added:
set HTMLImageElement.useMap(useMap: string) - added:
set HTMLImageElement.width(width: number)
- added:
default interface IHTMLImageElement extends IHTMLElement - added:
method IHTMLImageElement.cloneNode(deep: boolean): IHTMLImageElement - added:
method IHTMLImageElement.decode(): Promise<void> - added:
property IHTMLImageElement.alt: string - added:
property IHTMLImageElement.crossOrigin: string - added:
property IHTMLImageElement.decoding: string - added:
property IHTMLImageElement.height: number - added:
property IHTMLImageElement.isMap: boolean - added:
property IHTMLImageElement.loading: string - added:
property IHTMLImageElement.referrerPolicy: string - added:
property IHTMLImageElement.sizes: string - added:
property IHTMLImageElement.src: string - added:
property IHTMLImageElement.srcset: string - added:
property IHTMLImageElement.useMap: string - added:
property IHTMLImageElement.width: number - added:
readonly property IHTMLImageElement.complete: boolean - added:
readonly property IHTMLImageElement.currentSrc: string - added:
readonly property IHTMLImageElement.naturalHeight: number - added:
readonly property IHTMLImageElement.naturalWidth: number - added:
readonly property IHTMLImageElement.x: number - added:
readonly property IHTMLImageElement.y: number
- added:
constructor Image(width?: number, height?: number) - added:
default class Image extends HTMLImageElement
- removed:
get HTMLInputElement.defaultvalue(): string - removed:
property HTMLInputElement.defaultValue: string - removed:
set HTMLInputElement.defaultvalue(defaultvalue: string) - changed:
default class HTMLInputElement extends HTMLElement → default class HTMLInputElement extends HTMLElement implements IHTMLInputElement - changed:
get HTMLInputElement.form(): HTMLFormElement → get HTMLInputElement.form(): IHTMLFormElement - changed:
method HTMLInputElement.cloneNode(deep?: boolean): HTMLInputElement → method HTMLInputElement.cloneNode(deep?: boolean): IHTMLInputElement - changed:
method HTMLInputElement.setRangeText(replacement: any, start?: any, end?: any, selectionMode?: HTMLInputElementSelectionModeEnum): void → method HTMLInputElement.setRangeText(replacement: string, start?: number, end?: number, selectionMode?: HTMLInputElementSelectionModeEnum): void - added:
get HTMLInputElement.defaultValue(): string - added:
method HTMLInputElement.reportValidity(): void - added:
method HTMLInputElement.select(): void - added:
method HTMLInputElement.setCustomValidity(message: string): void - added:
method HTMLInputElement.stepDown(increment?: number): void - added:
method HTMLInputElement.stepUp(increment?: number): void - added:
set HTMLInputElement.defaultValue(defaultValue: string)
- added:
default class HTMLInputElementValueStepping - added:
static method HTMLInputElementValueStepping.step(type: string, value: string, direction: -1 | 1, increment?: number): string
- added:
default interface IHTMLInputElement extends IHTMLElement - added:
method IHTMLInputElement.checkValidity(): boolean - added:
method IHTMLInputElement.cloneNode(deep: boolean): IHTMLInputElement - added:
method IHTMLInputElement.reportValidity(): void - added:
method IHTMLInputElement.setCustomValidity(message: string): void - added:
method IHTMLInputElement.setRangeText(replacement: string, start: number, end: number, selectionMode: HTMLInputElementSelectionModeEnum): void - added:
method IHTMLInputElement.setSelectionRange(start: number, end: number, direction: string): void - added:
method IHTMLInputElement.stepDown(increment?: number): void - added:
method IHTMLInputElement.stepUp(increment?: number): void - added:
property IHTMLInputElement.accept: string - added:
property IHTMLInputElement.allowdirs: string - added:
property IHTMLInputElement.alt: string - added:
property IHTMLInputElement.autocomplete: string - added:
property IHTMLInputElement.autofocus: boolean - added:
property IHTMLInputElement.checked: boolean - added:
property IHTMLInputElement.defaultChecked: boolean - added:
property IHTMLInputElement.defaultValue: string - added:
property IHTMLInputElement.disabled: boolean - added:
property IHTMLInputElement.files: File[] - added:
property IHTMLInputElement.formAction: string - added:
property IHTMLInputElement.formMethod: string - added:
property IHTMLInputElement.formNoValidate: boolean - added:
property IHTMLInputElement.height: number - added:
property IHTMLInputElement.indeterminate: boolean - added:
property IHTMLInputElement.inputmode: string - added:
property IHTMLInputElement.max: string - added:
property IHTMLInputElement.maxLength: number - added:
property IHTMLInputElement.min: string - added:
property IHTMLInputElement.minLength: number - added:
property IHTMLInputElement.multiple: boolean - added:
property IHTMLInputElement.name: string - added:
property IHTMLInputElement.pattern: string - added:
property IHTMLInputElement.placeholder: string - added:
property IHTMLInputElement.readOnly: boolean - added:
property IHTMLInputElement.required: boolean - added:
property IHTMLInputElement.selectionDirection: string - added:
property IHTMLInputElement.selectionEnd: number - added:
property IHTMLInputElement.selectionStart: number - added:
property IHTMLInputElement.size: number - added:
property IHTMLInputElement.src: string - added:
property IHTMLInputElement.step: string - added:
property IHTMLInputElement.type: string - added:
property IHTMLInputElement.validationMessage: string - added:
property IHTMLInputElement.validity: ValidityState - added:
property IHTMLInputElement.value: string - added:
property IHTMLInputElement.valueAsDate: Date - added:
property IHTMLInputElement.valueAsNumber: number - added:
property IHTMLInputElement.width: number - added:
property IHTMLInputElement.willValidate: boolean - added:
readonly property IHTMLInputElement.form: IHTMLFormElement
- added:
default class HTMLLabelElement extends HTMLElement implements IHTMLLabelElement - added:
get HTMLLabelElement.control(): IHTMLElement - added:
get HTMLLabelElement.form(): IHTMLFormElement - added:
get HTMLLabelElement.htmlFor(): string - added:
method HTMLLabelElement.cloneNode(deep?: boolean): IHTMLLabelElement - added:
set HTMLLabelElement.htmlFor(htmlFor: string)
- added:
default interface IHTMLLabelElement extends IHTMLElement - added:
property IHTMLLabelElement.htmlFor: string - added:
readonly property IHTMLLabelElement.control: IHTMLElement - added:
readonly property IHTMLLabelElement.form: IHTMLFormElement
- added:
default class HTMLLinkElement extends HTMLElement implements IHTMLLinkElement - added:
get HTMLLinkElement.as(): string - added:
get HTMLLinkElement.crossOrigin(): string - added:
get HTMLLinkElement.href(): string - added:
get HTMLLinkElement.hreflang(): string - added:
get HTMLLinkElement.media(): string - added:
get HTMLLinkElement.referrerPolicy(): string - added:
get HTMLLinkElement.rel(): string - added:
get HTMLLinkElement.relList(): IDOMTokenList - added:
get HTMLLinkElement.type(): string - added:
method HTMLLinkElement._connectToNode(parentNode?: INode): void - added:
method HTMLLinkElement.setAttributeNode(attribute: Attr): Attr - added:
property HTMLLinkElement._evaluateCSS: boolean - added:
property HTMLLinkElement.onerror: (event: ErrorEvent) => void - added:
property HTMLLinkElement.onload: (event: Event) => void - added:
protected method HTMLLinkElement._updateDomListIndices(): void - added:
readonly property HTMLLinkElement.sheet: CSSStyleSheet - added:
set HTMLLinkElement.as(as: string) - added:
set HTMLLinkElement.crossOrigin(crossOrigin: string) - added:
set HTMLLinkElement.href(href: string) - added:
set HTMLLinkElement.hreflang(hreflang: string) - added:
set HTMLLinkElement.media(media: string) - added:
set HTMLLinkElement.referrerPolicy(referrerPolicy: string) - added:
set HTMLLinkElement.rel(rel: string) - added:
set HTMLLinkElement.type(type: string)
- added:
default interface IHTMLLinkElement extends IHTMLElement - added:
property IHTMLLinkElement.as: string - added:
property IHTMLLinkElement.crossOrigin: string - added:
property IHTMLLinkElement.href: string - added:
property IHTMLLinkElement.hreflang: string - added:
property IHTMLLinkElement.media: string - added:
property IHTMLLinkElement.referrerPolicy: string - added:
property IHTMLLinkElement.rel: string - added:
property IHTMLLinkElement.type: string - added:
readonly property IHTMLLinkElement.relList: IDOMTokenList - added:
readonly property IHTMLLinkElement.sheet: CSSStyleSheet
- added:
default class HTMLMetaElement extends HTMLElement implements IHTMLMetaElement - added:
get HTMLMetaElement.content(): string - added:
get HTMLMetaElement.httpEquiv(): string - added:
get HTMLMetaElement.name(): string - added:
get HTMLMetaElement.scheme(): string - added:
set HTMLMetaElement.content(content: string) - added:
set HTMLMetaElement.httpEquiv(httpEquiv: string) - added:
set HTMLMetaElement.name(name: string) - added:
set HTMLMetaElement.scheme(scheme: string)
- added:
default interface IHTMLMetaElement extends IHTMLElement - added:
property IHTMLMetaElement.content: string - added:
property IHTMLMetaElement.httpEquiv: string - added:
property IHTMLMetaElement.name: string - added:
property IHTMLMetaElement.scheme: string
- removed:
get HTMLScriptElement.isConnected(): boolean - removed:
set HTMLScriptElement.isConnected(isConnected: boolean) - changed:
default class HTMLScriptElement extends HTMLElement → default class HTMLScriptElement extends HTMLElement implements IHTMLScriptElement - added:
method HTMLScriptElement._connectToNode(parentNode?: INode): void - added:
method HTMLScriptElement.cloneNode(deep?: boolean): IHTMLScriptElement - added:
method HTMLScriptElement.setAttributeNode(attribute: Attr): Attr - added:
property HTMLScriptElement.onerror: (event: ErrorEvent) => void - added:
property HTMLScriptElement.onload: (event: Event) => void
- added:
default interface IHTMLScriptElement extends IHTMLElement - added:
method IHTMLScriptElement.cloneNode(deep: boolean): IHTMLScriptElement - added:
property IHTMLScriptElement.async: boolean - added:
property IHTMLScriptElement.charset: string - added:
property IHTMLScriptElement.defer: boolean - added:
property IHTMLScriptElement.lang: string - added:
property IHTMLScriptElement.src: string - added:
property IHTMLScriptElement.text: string - added:
property IHTMLScriptElement.type: string
- added:
default class ScriptUtility - added:
static method ScriptUtility.loadExternalScript(element: HTMLScriptElement): Promise<void>
- added:
default class HTMLSlotElement extends HTMLElement implements IHTMLSlotElement - added:
get HTMLSlotElement.name(): string - added:
method HTMLSlotElement.assign(..._nodes: Array<IText | IElement>): void - added:
method HTMLSlotElement.assignedElements(_options?: { flatten?: boolean }): IElement[] - added:
method HTMLSlotElement.assignedNodes(options?: { flatten?: boolean }): INode[] - added:
method HTMLSlotElement.cloneNode(deep?: boolean): IHTMLSlotElement - added:
set HTMLSlotElement.name(name: string)
- added:
default interface IHTMLSlotElement extends IHTMLElement - added:
method IHTMLSlotElement.assign(...nodes: Array<IText | IElement>): void - added:
method IHTMLSlotElement.assignedElements(options?: { flatten?: boolean }): IElement[] - added:
method IHTMLSlotElement.assignedNodes(options?: { flatten?: boolean }): INode[] - added:
method IHTMLSlotElement.cloneNode(deep: boolean): IHTMLSlotElement - added:
property IHTMLSlotElement.name: string
- added:
default class HTMLStyleElement extends HTMLElement implements IHTMLStyleElement - added:
get HTMLStyleElement.disabled(): boolean - added:
get HTMLStyleElement.media(): string - added:
get HTMLStyleElement.sheet(): CSSStyleSheet - added:
get HTMLStyleElement.type(): string - added:
set HTMLStyleElement.disabled(disabled: boolean) - added:
set HTMLStyleElement.media(media: string) - added:
set HTMLStyleElement.type(type: string)
- added:
default interface IHTMLStyleElement extends IHTMLElement - added:
property IHTMLStyleElement.disabled: boolean - added:
property IHTMLStyleElement.media: string - added:
property IHTMLStyleElement.type: string - added:
readonly property IHTMLStyleElement.sheet: CSSStyleSheet
- changed:
default class HTMLTemplateElement extends HTMLElement → default class HTMLTemplateElement extends HTMLElement implements IHTMLTemplateElement - changed:
get HTMLTemplateElement.content(): DocumentFragment → get HTMLTemplateElement.content(): IDocumentFragment - changed:
get HTMLTemplateElement.firstChild(): Node → get HTMLTemplateElement.firstChild(): INode - changed:
get HTMLTemplateElement.lastChild(): Node → get HTMLTemplateElement.lastChild(): INode - changed:
get HTMLTemplateElement.nextSibling(): Node → get HTMLTemplateElement.nextSibling(): INode - changed:
get HTMLTemplateElement.previousSibling(): Node → get HTMLTemplateElement.previousSibling(): INode - changed:
method HTMLTemplateElement.appendChild(node: Node): Node → method HTMLTemplateElement.appendChild(node: INode): INode - changed:
method HTMLTemplateElement.insertBefore(newNode: Node, referenceNode: Node): Node → method HTMLTemplateElement.insertBefore(newNode: INode, referenceNode: INode): INode - changed:
method HTMLTemplateElement.removeChild(node: Node): void → method HTMLTemplateElement.removeChild(node: Node): INode - changed:
method HTMLTemplateElement.replaceChild(newChild: Node, oldChild: Node): Node → method HTMLTemplateElement.replaceChild(newChild: INode, oldChild: INode): INode - added:
method HTMLTemplateElement.cloneNode(deep?: boolean): IHTMLTemplateElement
- added:
default interface IHTMLTemplateElement extends IHTMLElement - added:
method IHTMLTemplateElement.cloneNode(deep: boolean): IHTMLTemplateElement - added:
property IHTMLTemplateElement.content: IDocumentFragment
- changed:
default class HTMLTextAreaElement extends HTMLElement → default class HTMLTextAreaElement extends HTMLElement implements IHTMLTextAreaElement - changed:
get HTMLTextAreaElement.form(): HTMLFormElement → get HTMLTextAreaElement.form(): IHTMLFormElement - changed:
method HTMLTextAreaElement.cloneNode(deep?: boolean): HTMLTextAreaElement → method HTMLTextAreaElement.cloneNode(deep?: boolean): IHTMLTextAreaElement - changed:
method HTMLTextAreaElement.setRangeText(replacement: any, start?: any, end?: any, selectionMode?: HTMLInputElementSelectionModeEnum): void → method HTMLTextAreaElement.setRangeText(replacement: string, start?: number, end?: number, selectionMode?: HTMLInputElementSelectionModeEnum): void
- added:
default interface IHTMLTextAreaElement extends IHTMLElement - added:
method IHTMLTextAreaElement.checkValidity(): boolean - added:
method IHTMLTextAreaElement.cloneNode(deep: boolean): IHTMLTextAreaElement - added:
method IHTMLTextAreaElement.setRangeText(replacement: string, start: number, end: number, selectionMode: HTMLInputElementSelectionModeEnum): void - added:
method IHTMLTextAreaElement.setSelectionRange(start: number, end: number, direction: string): void - added:
property IHTMLTextAreaElement.autocomplete: string - added:
property IHTMLTextAreaElement.autofocus: boolean - added:
property IHTMLTextAreaElement.cols: string - added:
property IHTMLTextAreaElement.defaultValue: string - added:
property IHTMLTextAreaElement.disabled: boolean - added:
property IHTMLTextAreaElement.inputmode: string - added:
property IHTMLTextAreaElement.maxLength: number - added:
property IHTMLTextAreaElement.minLength: number - added:
property IHTMLTextAreaElement.name: string - added:
property IHTMLTextAreaElement.placeholder: string - added:
property IHTMLTextAreaElement.readOnly: boolean - added:
property IHTMLTextAreaElement.required: boolean - added:
property IHTMLTextAreaElement.rows: string - added:
property IHTMLTextAreaElement.selectionDirection: string - added:
property IHTMLTextAreaElement.selectionEnd: number - added:
property IHTMLTextAreaElement.selectionStart: number - added:
property IHTMLTextAreaElement.textLength: number - added:
property IHTMLTextAreaElement.value: string - added:
readonly property IHTMLTextAreaElement.form: IHTMLFormElement - added:
readonly property IHTMLTextAreaElement.type: string
- added:
default class HTMLUnknownElement extends HTMLElement implements IHTMLElement - added:
method HTMLUnknownElement._connectToNode(parentNode?: INode): void
- changed:
default interface INode → default interface INode extends IEventTarget - changed:
method INode.insertBefore(newNode: INode, referenceNode?: INode): INode → method INode.insertBefore(newNode: INode, referenceNode?: INode | null): INode - changed:
method INode.removeChild(node: INode): void → method INode.removeChild(node: INode): INode - changed:
property INode.isConnected: boolean → readonly property INode.isConnected: boolean - changed:
readonly property INode.childNodes: INode[] → readonly property INode.childNodes: INodeList<INode> - changed:
readonly property INode.nodeValue: string → property INode.nodeValue: string - added:
method INode.contains(otherNode: INode): boolean - added:
method INode.getRootNode(options?: { composed: boolean }): INode - added:
method INode.hasChildNodes(): boolean - added:
readonly property INode.COMMENT_NODE: number - added:
readonly property INode.DOCUMENT_FRAGMENT_NODE: number - added:
readonly property INode.DOCUMENT_NODE: number - added:
readonly property INode.DOCUMENT_TYPE_NODE: number - added:
readonly property INode.ELEMENT_NODE: number - added:
readonly property INode.TEXT_NODE: number - added:
readonly property INode.baseURI: string - added:
readonly property INode.parentElement: IElement
- added:
default interface INodeList<T> extends Array<T> - added:
method INodeList.item(index: number): T
- removed:
get Node.isConnected(): boolean - removed:
protected property Node._isConnected: boolean - removed:
set Node.isConnected(isConnected: boolean) - changed:
get Node.firstChild(): Node → get Node.firstChild(): INode - changed:
get Node.lastChild(): Node → get Node.lastChild(): INode - changed:
get Node.nextSibling(): Node → get Node.nextSibling(): INode - changed:
get Node.previousSibling(): Node → get Node.previousSibling(): INode - changed:
method Node.appendChild(node: Node): Node → method Node.appendChild(node: INode): INode - changed:
method Node.cloneNode(deep?: boolean): Node → method Node.cloneNode(deep?: boolean): INode - changed:
method Node.insertBefore(newNode: Node, referenceNode?: Node): Node → method Node.insertBefore(newNode: INode, referenceNode: INode | null): INode - changed:
method Node.removeChild(node: Node): void → method Node.removeChild(node: INode): INode - changed:
method Node.replaceChild(newChild: Node, oldChild: Node): Node → method Node.replaceChild(newChild: INode, oldChild: INode): INode - changed:
readonly property Node.childNodes: Node[] → readonly property Node.childNodes: INodeList<INode> - changed:
readonly property Node.ownerDocument: Document → readonly property Node.ownerDocument: IDocument - changed:
readonly property Node.parentNode: Node → readonly property Node.parentNode: INode - changed:
static property Node.ownerDocument: Document → static property Node.ownerDocument: IDocument - added:
get Node.baseURI(): string - added:
get Node.parentElement(): IElement - added:
method Node._connectToNode(parentNode?: INode): void - added:
method Node.contains(otherNode: INode): boolean - added:
method Node.getRootNode(options?: { composed: boolean }): INode - added:
method Node.hasChildNodes(): boolean - added:
property Node._rootNode: INode - added:
readonly property Node.COMMENT_NODE = 8 - added:
readonly property Node.DOCUMENT_FRAGMENT_NODE = 11 - added:
readonly property Node.DOCUMENT_NODE = 9 - added:
readonly property Node.DOCUMENT_TYPE_NODE = 10 - added:
readonly property Node.ELEMENT_NODE = 1 - added:
readonly property Node.TEXT_NODE = 3 - added:
readonly property Node.isConnected: boolean - added:
set Node.nodeValue(_nodeValue: string)
- added:
default class NodeList extends Array implements INodeList<INode> - added:
method NodeList.item(index: number): INode
- added:
default class NodeListFactory - added:
static method NodeListFactory.create(nodes?: INode[]): INodeList<INode>
- changed:
method IParentNode.getElementsByClassName(className: string): IElement[] → method IParentNode.getElementsByClassName(className: string): IHTMLCollection<IElement> - changed:
method IParentNode.getElementsByTagName(tagName: string): IElement[] → method IParentNode.getElementsByTagName(tagName: string): IHTMLCollection<IElement> - changed:
method IParentNode.getElementsByTagNameNS(namespaceURI: string, tagName: string): IElement[] → method IParentNode.getElementsByTagNameNS(namespaceURI: string, tagName: string): IHTMLCollection<IElement> - changed:
method IParentNode.querySelectorAll(selector: string): IElement[] → method IParentNode.querySelectorAll(selector: string): INodeList<IElement>
- changed:
static method ParentNodeUtility.append(parentNode: IParentNode, ...nodes: (INode | string)[]): void → static method ParentNodeUtility.append(parentNode: INode, ...nodes: (INode | string)[]): void - changed:
static method ParentNodeUtility.prepend(parentNode: IParentNode, ...nodes: (string | INode)[]): void → static method ParentNodeUtility.prepend(parentNode: INode, ...nodes: (string | INode)[]): void - changed:
static method ParentNodeUtility.replaceChildren(parentNode: IParentNode, ...nodes: (string | INode)[]): void → static method ParentNodeUtility.replaceChildren(parentNode: INode, ...nodes: (string | INode)[]): void - added:
static method ParentNodeUtility.getElementById(parentNode: IElement | IDocumentFragment | IDocument, id: string): IElement - added:
static method ParentNodeUtility.getElementByTagName(parentNode: IElement | IDocumentFragment | IDocument, tagName: string): IElement - added:
static method ParentNodeUtility.getElementsByClassName(parentNode: INode, className: string): IHTMLCollection<IElement> - added:
static method ParentNodeUtility.getElementsByTagName(parentNode: IElement | IDocumentFragment | IDocument, tagName: string): IHTMLCollection<IElement> - added:
static method ParentNodeUtility.getElementsByTagNameNS(parentNode: IElement | IDocumentFragment | IDocument, namespaceURI: string, tagName: string): IHTMLCollection<IElement>
- changed:
default interface IShadowRoot extends IParentNode → default interface IShadowRoot extends IDocumentFragment - added:
method IShadowRoot.cloneNode(deep: boolean): IShadowRoot
- changed:
default class ShadowRoot extends DocumentFragment → default class ShadowRoot extends DocumentFragment implements IShadowRoot - changed:
method ShadowRoot.cloneNode(deep?: boolean): ShadowRoot → method ShadowRoot.cloneNode(deep?: boolean): IShadowRoot - changed:
readonly property ShadowRoot.host: Element → readonly property ShadowRoot.host: IElement - added:
get ShadowRoot.activeElement(): IHTMLElement
- added:
default class SVGDocument extends Document
- added:
default class DOMMatrix - added:
readonly property DOMMatrix.is2D = false - added:
readonly property DOMMatrix.isIdentity = false
- added:
default interface ISVGElement extends IElement - added:
readonly property ISVGElement.dataset: { [key: string]: string } - added:
readonly property ISVGElement.ownerSVGElement: ISVGSVGElement - added:
readonly property ISVGElement.style: CSSStyleDeclaration - added:
readonly property ISVGElement.viewportElement: ISVGElement
- added:
default interface ISVGGraphicsElement extends ISVGElement - added:
method ISVGGraphicsElement.getBBox(): DOMRect - added:
method ISVGGraphicsElement.getCTM(): DOMMatrix - added:
method ISVGGraphicsElement.getScreenCTM(): DOMMatrix - added:
readonly property ISVGGraphicsElement.transform: {}
- added:
default interface ISVGSVGElement extends ISVGGraphicsElement - added:
method ISVGSVGElement.animationsPaused(): boolean - added:
method ISVGSVGElement.checkEnclosure(): boolean - added:
method ISVGSVGElement.checkIntersection(): boolean - added:
method ISVGSVGElement.cloneNode(deep: boolean): ISVGSVGElement - added:
method ISVGSVGElement.createSVGAngle(): SVGAngle - added:
method ISVGSVGElement.createSVGLength(): SVGLength - added:
method ISVGSVGElement.createSVGNumber(): SVGNumber - added:
method ISVGSVGElement.createSVGPoint(): SVGPoint - added:
method ISVGSVGElement.createSVGRect(): SVGRect - added:
method ISVGSVGElement.createSVGTransform(): SVGTransform - added:
method ISVGSVGElement.deselectAll(): void - added:
method ISVGSVGElement.getCurrentTime(): number - added:
method ISVGSVGElement.getEnclosureList(): INode[] - added:
method ISVGSVGElement.getIntersectionList(): INode[] - added:
method ISVGSVGElement.pauseAnimations(): void - added:
method ISVGSVGElement.setCurrentTime(): void - added:
method ISVGSVGElement.unpauseAnimations(): void - added:
property ISVGSVGElement.contentScriptType: string - added:
property ISVGSVGElement.currentScale: number - added:
property ISVGSVGElement.currentTranslate: SVGPoint - added:
property ISVGSVGElement.height: string - added:
property ISVGSVGElement.preserveAspectRatio: string - added:
property ISVGSVGElement.viewBox: SVGAnimatedRect - added:
property ISVGSVGElement.viewport: SVGRect - added:
property ISVGSVGElement.width: string - added:
property ISVGSVGElement.x: string - added:
property ISVGSVGElement.y: string
- changed:
default class SVGElement extends HTMLElement → default class SVGElement extends Element implements ISVGElement - changed:
get SVGElement.ownerSVGElement(): HTMLElement → get SVGElement.ownerSVGElement(): ISVGSVGElement - changed:
get SVGElement.viewportElement(): HTMLElement → get SVGElement.viewportElement(): ISVGElement - added:
get SVGElement.dataset(): { [key: string]: string } - added:
get SVGElement.style(): CSSStyleDeclaration - added:
method SVGElement.removeAttributeNode(attribute: Attr): void - added:
method SVGElement.setAttributeNode(attribute: Attr): Attr
- changed:
default class SVGGraphicsElement extends SVGElement → default class SVGGraphicsElement extends SVGElement implements ISVGGraphicsElement - added:
method SVGGraphicsElement.getCTM(): DOMMatrix - added:
method SVGGraphicsElement.getScreenCTM(): DOMMatrix - added:
readonly property SVGGraphicsElement.transform: {}
- changed:
default class SVGSVGElement extends SVGGraphicsElement → default class SVGSVGElement extends SVGGraphicsElement implements ISVGSVGElement - changed:
method SVGSVGElement.getEnclosureList(): Node[] → method SVGSVGElement.getEnclosureList(): INode[] - changed:
method SVGSVGElement.getIntersectionList(): Node[] → method SVGSVGElement.getIntersectionList(): INode[] - added:
method SVGSVGElement.cloneNode(deep?: boolean): ISVGSVGElement
- removed:
default class TextNode extends Node implements ICharacterData - removed:
get TextNode.data(): string - removed:
get TextNode.length(): number - removed:
get TextNode.nextElementSibling(): Element - removed:
get TextNode.nodeName(): string - removed:
get TextNode.nodeValue(): string - removed:
get TextNode.previousElementSibling(): Element - removed:
get TextNode.textContent(): string - removed:
method TextNode.after(...nodes: (string | Node)[]): void - removed:
method TextNode.appendData(data: string): void - removed:
method TextNode.before(...nodes: (string | Node)[]): void - removed:
method TextNode.cloneNode(deep?: boolean): TextNode - removed:
method TextNode.deleteData(offset: number, count: number): void - removed:
method TextNode.insertData(offset: number, data: string): void - removed:
method TextNode.remove(): void - removed:
method TextNode.replaceData(offset: number, count: number, data: string): void - removed:
method TextNode.replaceWith(...nodes: (Node | string)[]): void - removed:
method TextNode.substringData(offset: number, count: number): string - removed:
method TextNode.toString(): string - removed:
readonly property TextNode.nodeType = 3 - removed:
set TextNode.data(data: string) - removed:
set TextNode.nodeValue(nodeValue: string) - removed:
set TextNode.textContent(textContent: string)
- added:
default interface IText extends ICharacterData - added:
method IText.cloneNode(deep?: boolean): IText
- added:
default class Text extends CharacterData implements IText - added:
get Text.nodeName(): string - added:
method Text.cloneNode(deep?: boolean): IText - added:
method Text.toString(): string - added:
readonly property Text.nodeType = 3
- added:
default class XMLDocument extends Document
- changed:
static method QuerySelector.querySelector(node: Element | DocumentFragment | Document, selector: string): Element → static method QuerySelector.querySelector(node: INode, selector: string): IElement - changed:
static method QuerySelector.querySelectorAll(node: Element | DocumentFragment | Document, selector: string): Element[] → static method QuerySelector.querySelectorAll(node: INode, selector: string): INodeList<IElement>
- added:
default class Selection - added:
method Selection.addRange(_range: object): void - added:
method Selection.collapse(_node: INode, _offset?: number): void - added:
method Selection.collapseToEnd(): void - added:
method Selection.collapseToStart(): void - added:
method Selection.containsNode(_node: INode, _partialContainer?: INode): boolean - added:
method Selection.deleteFromDocument(): void - added:
method Selection.extend(_node: INode, _offset?: number): void - added:
method Selection.getRangeAt(_index: number): object - added:
method Selection.removeAllRanges(): void - added:
method Selection.removeRange(_range: object): void - added:
method Selection.selectAllChildren(_parentNode: INode): void - added:
method Selection.setBaseAndExtent(_anchorNode: INode, _anchorOffset: number, _focusNode: INode, _focusOffset: number): void - added:
method Selection.toString(): string - added:
readonly property Selection.anchorNode: INode - added:
readonly property Selection.anchorOffset: number - added:
readonly property Selection.baseNode: INode - added:
readonly property Selection.baseOffset: number - added:
readonly property Selection.extentNode: INode - added:
readonly property Selection.extentOffset: number - added:
readonly property Selection.focusNode: INode - added:
readonly property Selection.focusOffset: number - added:
readonly property Selection.isCollapsed: boolean - added:
readonly property Selection.rangeCount: number - added:
readonly property Selection.type: string
- added:
default class Storage - added:
get Storage.length(): number - added:
method Storage.clear(): void - added:
method Storage.getItem(name: string): string - added:
method Storage.key(index: number): string - added:
method Storage.removeItem(name: string): void - added:
method Storage.setItem(name: string, item: string): void
- changed:
method INodeFilter.acceptNode(node: Node): number → method INodeFilter.acceptNode(node: INode): number
- changed:
const _default: { FILTER_ACCEPT: number; FILTER_REJECT: number; FILTER_SKIP: number; SHOW_ALL: number; SHOW_ATTRIBUTE: number; SHOW_CDATA_SECTION: number; SHOW_COMMENT: number… → const _default: { FILTER_ACCEPT: number; FILTER_REJECT: number; FILTER_SKIP: number; SHOW_ALL: number; SHOW_ELEMENT: number; SHOW_ATTRIBUTE: number; SHOW_TEXT: number; SHOW_CD…
- changed:
constructor TreeWalker(root: Node, whatToShow?: number, filter?: INodeFilter) → constructor TreeWalker(root: INode, whatToShow?: number, filter?: INodeFilter) - changed:
method TreeWalker.firstChild(): Node → method TreeWalker.firstChild(): INode - changed:
method TreeWalker.lastChild(): Node → method TreeWalker.lastChild(): INode - changed:
method TreeWalker.nextNode(): Node → method TreeWalker.nextNode(): INode - changed:
method TreeWalker.nextSibling(): Node → method TreeWalker.nextSibling(): INode - changed:
method TreeWalker.parentNode(): Node → method TreeWalker.parentNode(): INode - changed:
method TreeWalker.previousNode(): Node → method TreeWalker.previousNode(): INode - changed:
method TreeWalker.previousSibling(): Node → method TreeWalker.previousSibling(): INode - changed:
property TreeWalker.currentNode: Node → property TreeWalker.currentNode: INode - changed:
property TreeWalker.root: Node → property TreeWalker.root: INode
- removed:
default class AsyncTaskManager - removed:
method AsyncTaskManager.cancelAllTasks(error?: Error): void - removed:
method AsyncTaskManager.endTask(type: AsyncTaskTypeEnum, error?: Error): void - removed:
method AsyncTaskManager.endTimer(id?: NodeJS.Timeout): void - removed:
method AsyncTaskManager.startTask(type: AsyncTaskTypeEnum): void - removed:
method AsyncTaskManager.startTimer(id?: NodeJS.Timeout): void - removed:
method AsyncTaskManager.whenComplete(): Promise<void>
- removed:
default AsyncTaskTypeEnum - removed:
enum AsyncTaskTypeEnum - removed:
member AsyncTaskTypeEnum.fetch = 'fetch' - removed:
member AsyncTaskTypeEnum.timer = 'timer'
- removed:
method AsyncWindow.cancelAnimationFrame(id: any): void - removed:
method AsyncWindow.cancelAsync(): void - removed:
method AsyncWindow.clearInterval(id: NodeJS.Timeout): void - removed:
method AsyncWindow.clearTimeout(id: NodeJS.Timeout): void - removed:
method AsyncWindow.fetch(url: string, options: { method?: string; headers?: Map<string, string> | { [k: string]: string }; body?: URLSearchParams | string | Readable; redirect?: string }): Promise<Response> - removed:
method AsyncWindow.requestAnimationFrame(callback: (timestamp: number) => void): NodeJS.Timeout - removed:
method AsyncWindow.setInterval(callback: () => void, delay?: number): NodeJS.Timeout - removed:
method AsyncWindow.setTimeout(callback: () => void, delay?: number): NodeJS.Timeout - removed:
method AsyncWindow.whenAsyncComplete(): Promise<void>
- added:
default interface IWindow extends IEventTarget - added:
method IWindow.cancelAnimationFrame(id: NodeJS.Timeout): void - added:
method IWindow.clearInterval(id: NodeJS.Timeout): void - added:
method IWindow.clearTimeout(id: NodeJS.Timeout): void - added:
method IWindow.eval(code: string): unknown - added:
method IWindow.fetch(url: string, init?: IRequestInit): Promise<IResponse> - added:
method IWindow.getComputedStyle(element: HTMLElement): CSSStyleDeclaration - added:
method IWindow.requestAnimationFrame(callback: (timestamp: number) => void): NodeJS.Timeout - added:
method IWindow.scroll(x: { top?: number; left?: number; behavior?: string } | number, y?: number): void - added:
method IWindow.scrollTo(x: { top?: number; left?: number; behavior?: string } | number, y?: number): void - added:
method IWindow.setInterval(callback: () => void, delay?: number): NodeJS.Timeout - added:
method IWindow.setTimeout(callback: () => void, delay?: number): NodeJS.Timeout - added:
property IWindow.onerror: (event: ErrorEvent) => void - added:
property IWindow.onload: (event: Event) => void - added:
readonly property IWindow.AnimationEvent: typeof AnimationEvent - added:
readonly property IWindow.Blob: typeof Blob - added:
readonly property IWindow.CSS: CSS - added:
readonly property IWindow.CSSStyleSheet: typeof CSSStyleSheet - added:
readonly property IWindow.CSSUnitValue: typeof CSSUnitValue - added:
readonly property IWindow.CharacterData: typeof CharacterData - added:
readonly property IWindow.Comment: typeof Comment - added:
readonly property IWindow.CustomElementRegistry: typeof CustomElementRegistry - added:
readonly property IWindow.CustomEvent: typeof CustomEvent - added:
readonly property IWindow.DOMException: typeof DOMException - added:
readonly property IWindow.DOMParser: typeof DOMParser - added:
readonly property IWindow.DataTransfer: typeof DataTransfer - added:
readonly property IWindow.DataTransferItem: typeof DataTransferItem - added:
readonly property IWindow.DataTransferItemList: typeof DataTransferItemList - added:
readonly property IWindow.Document: typeof Document - added:
readonly property IWindow.DocumentFragment: typeof DocumentFragment - added:
readonly property IWindow.Element: typeof Element - added:
readonly property IWindow.ErrorEvent: typeof ErrorEvent - added:
readonly property IWindow.Event: typeof Event - added:
readonly property IWindow.EventTarget: typeof EventTarget - added:
readonly property IWindow.File: typeof File - added:
readonly property IWindow.FileReader: typeof FileReader - added:
readonly property IWindow.FocusEvent: typeof FocusEvent - added:
readonly property IWindow.HTMLBaseElement: typeof HTMLBaseElement - added:
readonly property IWindow.HTMLCollection: typeof HTMLCollection - added:
readonly property IWindow.HTMLDocument: typeof HTMLDocument - added:
readonly property IWindow.HTMLElement: typeof HTMLElement - added:
readonly property IWindow.HTMLFormElement: typeof HTMLFormElement - added:
readonly property IWindow.HTMLImageElement: typeof HTMLImageElement - added:
readonly property IWindow.HTMLInputElement: typeof HTMLInputElement - added:
readonly property IWindow.HTMLLabelElement: typeof HTMLLabelElement - added:
readonly property IWindow.HTMLLinkElement: typeof HTMLLinkElement - added:
readonly property IWindow.HTMLMetaElement: typeof HTMLMetaElement - added:
readonly property IWindow.HTMLScriptElement: typeof HTMLScriptElement - added:
readonly property IWindow.HTMLSlotElement: typeof HTMLSlotElement - added:
readonly property IWindow.HTMLStyleElement: typeof HTMLStyleElement - added:
readonly property IWindow.HTMLTemplateElement: typeof HTMLTemplateElement - added:
readonly property IWindow.HTMLTextAreaElement: typeof HTMLTextAreaElement - added:
readonly property IWindow.HTMLUnknownElement: typeof HTMLUnknownElement - added:
readonly property IWindow.Headers: { new (init?: string[][] | Record<string, string> | IHeaders): IHeaders } - added:
readonly property IWindow.History: typeof History - added:
readonly property IWindow.Image: typeof Image - added:
readonly property IWindow.InputEvent: typeof InputEvent - added:
readonly property IWindow.KeyboardEvent: typeof KeyboardEvent - added:
readonly property IWindow.Location: typeof Location - added:
readonly property IWindow.MimeType: typeof MimeType - added:
readonly property IWindow.MimeTypeArray: typeof MimeTypeArray - added:
readonly property IWindow.MouseEvent: typeof MouseEvent - added:
readonly property IWindow.MutationObserver: typeof MutationObserver - added:
readonly property IWindow.Navigator: typeof Navigator - added:
readonly property IWindow.Node: typeof Node - added:
readonly property IWindow.NodeFilter: typeof NodeFilter - added:
readonly property IWindow.NodeList: typeof NodeList - added:
readonly property IWindow.Plugin: typeof Plugin - added:
readonly property IWindow.PluginArray: typeof PluginArray - added:
readonly property IWindow.PointerEvent: typeof PointerEvent - added:
readonly property IWindow.ProgressEvent: typeof ProgressEvent - added:
readonly property IWindow.Request: { new (input: string | IRequest, init?: IRequestInit): IRequest } - added:
readonly property IWindow.ResizeObserver: typeof ResizeObserver - added:
readonly property IWindow.Response: { new (body?: unknown | null, init?: IResponseInit): IResponse } - added:
readonly property IWindow.SVGDocument: typeof SVGDocument - added:
readonly property IWindow.SVGElement: typeof SVGElement - added:
readonly property IWindow.SVGSVGElement: typeof SVGSVGElement - added:
readonly property IWindow.Screen: typeof Screen - added:
readonly property IWindow.Selection: typeof Selection - added:
readonly property IWindow.ShadowRoot: typeof ShadowRoot - added:
readonly property IWindow.Storage: typeof Storage - added:
readonly property IWindow.StorageEvent: typeof StorageEvent - added:
readonly property IWindow.Text: typeof Text - added:
readonly property IWindow.TreeWalker: typeof TreeWalker - added:
readonly property IWindow.UIEvent: typeof UIEvent - added:
readonly property IWindow.URL: typeof URL - added:
readonly property IWindow.URLSearchParams: typeof URLSearchParams - added:
readonly property IWindow.WheelEvent: typeof WheelEvent - added:
readonly property IWindow.Window: typeof Window - added:
readonly property IWindow.XMLDocument: typeof XMLDocument - added:
readonly property IWindow.XMLSerializer: typeof XMLSerializer - added:
readonly property IWindow.console: Console - added:
readonly property IWindow.customElements: CustomElementRegistry - added:
readonly property IWindow.document: Document - added:
readonly property IWindow.globalThis: IWindow - added:
readonly property IWindow.happyDOM: { whenAsyncComplete: () => Promise<void>; cancelAsync: () => void; asyncTaskManager: AsyncTaskManager } - added:
readonly property IWindow.history: History - added:
readonly property IWindow.innerHeight: number - added:
readonly property IWindow.innerWidth: number - added:
readonly property IWindow.localStorage: Storage - added:
readonly property IWindow.location: Location - added:
readonly property IWindow.navigator: Navigator - added:
readonly property IWindow.parent: IWindow - added:
readonly property IWindow.screen: Screen - added:
readonly property IWindow.self: IWindow - added:
readonly property IWindow.sessionStorage: Storage - added:
readonly property IWindow.top: IWindow - added:
readonly property IWindow.window: IWindow
- removed:
property Window.Array: ArrayConstructor - removed:
property Window.CommentNode: typeof CommentNode - removed:
property Window.Function: FunctionConstructor - removed:
property Window.Headers: MapConstructor - removed:
property Window.Object: ObjectConstructor - removed:
property Window.TextNode: typeof TextNode - removed:
property Window.eval: typeof eval - changed:
default class Window extends EventTarget implements NodeJS.Global → default class Window extends EventTarget implements IWindow, NodeJS.Global - changed:
method Window.cancelAnimationFrame(id: any): void → method Window.cancelAnimationFrame(id: NodeJS.Timeout): void - changed:
method Window.fetch(_url: string, _options: object): Promise<void> → method Window.fetch(url: string, init?: IRequestInit): Promise<IResponse> - changed:
property Window.Blob: typeof Blob → readonly property Window.Blob: typeof Blob - changed:
property Window.CSSStyleSheet: typeof CSSStyleSheet → readonly property Window.CSSStyleSheet: typeof CSSStyleSheet - changed:
property Window.CustomElementRegistry: typeof CustomElementRegistry → readonly property Window.CustomElementRegistry: typeof CustomElementRegistry - changed:
property Window.CustomEvent: typeof CustomEvent → readonly property Window.CustomEvent: typeof CustomEvent - changed:
property Window.DOMException: typeof DOMException → readonly property Window.DOMException: typeof DOMException - changed:
property Window.DOMParser: typeof DOMParser → readonly property Window.DOMParser: typeof DOMParser - changed:
property Window.DataTransfer: typeof DataTransfer → readonly property Window.DataTransfer: typeof DataTransfer - changed:
property Window.DataTransferItem: typeof DataTransferItem → readonly property Window.DataTransferItem: typeof DataTransferItem - changed:
property Window.DataTransferItemList: typeof DataTransferItemList → readonly property Window.DataTransferItemList: typeof DataTransferItemList - changed:
property Window.Document: typeof Document → readonly property Window.Document: typeof Document - changed:
property Window.DocumentFragment: typeof DocumentFragment → readonly property Window.DocumentFragment: typeof DocumentFragment - changed:
property Window.Element: typeof Element → readonly property Window.Element: typeof Element - changed:
property Window.ErrorEvent: typeof ErrorEvent → readonly property Window.ErrorEvent: typeof ErrorEvent - changed:
property Window.Event: typeof Event → readonly property Window.Event: typeof Event - changed:
property Window.File: typeof File → readonly property Window.File: typeof File - changed:
property Window.FileReader: typeof FileReader → readonly property Window.FileReader: typeof FileReader - changed:
property Window.FocusEvent: typeof FocusEvent → readonly property Window.FocusEvent: typeof FocusEvent - changed:
property Window.HTMLElement: typeof HTMLElement → readonly property Window.HTMLElement: typeof HTMLElement - changed:
property Window.History: typeof History → readonly property Window.History: typeof History - changed:
property Window.InputEvent: typeof InputEvent → readonly property Window.InputEvent: typeof InputEvent - changed:
property Window.KeyboardEvent: typeof KeyboardEvent → readonly property Window.KeyboardEvent: typeof KeyboardEvent - changed:
property Window.Location: typeof Location → readonly property Window.Location: typeof Location - changed:
property Window.MouseEvent: typeof MouseEvent → readonly property Window.MouseEvent: typeof MouseEvent - changed:
property Window.MutationObserver: typeof MutationObserver → readonly property Window.MutationObserver: typeof MutationObserver - changed:
property Window.Node: typeof Node → readonly property Window.Node: typeof Node - changed:
property Window.NodeFilter: { FILTER_ACCEPT: number; FILTER_REJECT: number; FILTER_SKIP: number; SHOW_ALL: number; SHOW_ATTRIBUTE: number; SHOW_CDATA_SECTION: number; SHOW_COMMENT: number; SHOW_DOCUMENT: number; SHOW_DOCUMENT_FRAGMENT: number; SHOW_DOCUMENT_TYPE: number; SHOW_ELEMENT: number; SHOW_ENTITY: number; SHOW_ENTITY_REFERENCE: number; SHOW_NOTATION: number; SHOW_PROCESSING_INSTRUCTION: n… → readonly property Window.NodeFilter: { FILTER_ACCEPT: number; FILTER_REJECT: number; FILTER_SKIP: number; SHOW_ALL: number; SHOW_ELEMENT: number; SHOW_ATTRIBUTE: number; SHOW_TEXT: number; SHOW_CDATA_SECTION: number; SHOW_ENTITY_REFERENCE: number; SHOW_ENTITY: number; SHOW_PROCESSING_INSTRUCTION: number; SHOW_COMMENT: number; SHOW_DOCUMENT: number; SHOW_DOCUMENT_TYPE: number; SHOW_DOCUMENT_FRAGME… - changed:
property Window.ProgressEvent: typeof ProgressEvent → readonly property Window.ProgressEvent: typeof ProgressEvent - changed:
property Window.ResizeObserver: typeof ResizeObserver → readonly property Window.ResizeObserver: typeof ResizeObserver - changed:
property Window.Screen: typeof Screen → readonly property Window.Screen: typeof Screen - changed:
property Window.ShadowRoot: typeof ShadowRoot → readonly property Window.ShadowRoot: typeof ShadowRoot - changed:
property Window.TreeWalker: typeof TreeWalker → readonly property Window.TreeWalker: typeof TreeWalker - changed:
property Window.UIEvent: typeof UIEvent → readonly property Window.UIEvent: typeof UIEvent - changed:
property Window.URL: typeof URL → readonly property Window.URL: typeof URL - changed:
property Window.WheelEvent: typeof WheelEvent → readonly property Window.WheelEvent: typeof WheelEvent - changed:
property Window.Window: typeof Window → readonly property Window.Window: typeof Window - changed:
property Window.XMLSerializer: typeof XMLSerializer → readonly property Window.XMLSerializer: typeof XMLSerializer - changed:
property Window.console: Console → readonly property Window.console: Console - changed:
property Window.customElements: CustomElementRegistry → readonly property Window.customElements: CustomElementRegistry - changed:
property Window.document: Document → readonly property Window.document: Document - changed:
property Window.history: History → readonly property Window.history: History - changed:
property Window.location: Location → readonly property Window.location: Location - changed:
property Window.navigator: { userAgent: string } → readonly property Window.navigator: Navigator - changed:
property Window.screen: Screen → readonly property Window.screen: Screen - changed:
property Window.self: Window → readonly property Window.self: this - changed:
property Window.top: Window → readonly property Window.top: this - changed:
property Window.window: Window → readonly property Window.window: this - added:
get Window.Array(): typeof globalThis.Array - added:
get Window.CSS(): CSS - added:
get Window.Function(): typeof globalThis.Function - added:
get Window.Headers(): { new (init?: IHeadersInit): IHeaders } - added:
get Window.Object(): typeof globalThis.Object - added:
get Window.Request(): { new (input: string | { href: string } | IRequest, init?: IRequestInit): IRequest } - added:
get Window.Response(): { new (body?: NodeJS.ReadableStream | null, init?: IResponseInit): IResponse } - added:
method Window.eval(code: string): unknown - added:
method Window.matchMedia(mediaQueryString: string): MediaQueryList - added:
property Window.AbortController: { new (): AbortController; prototype: AbortController } - added:
property Window.AbortSignal: { new (): AbortSignal; prototype: AbortSignal } - added:
property Window.onerror: (event: ErrorEvent) => void - added:
property Window.onload: (event: Event) => void - added:
readonly property Window.AnimationEvent: typeof AnimationEvent - added:
readonly property Window.CSSUnitValue: typeof CSSUnitValue - added:
readonly property Window.CharacterData: typeof CharacterData - added:
readonly property Window.Comment: typeof Comment - added:
readonly property Window.EventTarget: typeof EventTarget - added:
readonly property Window.HTMLBaseElement: typeof HTMLBaseElement - added:
readonly property Window.HTMLCollection: typeof HTMLCollection - added:
readonly property Window.HTMLDocument: typeof HTMLDocument - added:
readonly property Window.HTMLFormElement: typeof HTMLFormElement - added:
readonly property Window.HTMLImageElement: typeof HTMLImageElement - added:
readonly property Window.HTMLInputElement: typeof HTMLInputElement - added:
readonly property Window.HTMLLabelElement: typeof HTMLLabelElement - added:
readonly property Window.HTMLLinkElement: typeof HTMLLinkElement - added:
readonly property Window.HTMLMetaElement: typeof HTMLMetaElement - added:
readonly property Window.HTMLScriptElement: typeof HTMLScriptElement - added:
readonly property Window.HTMLSlotElement: typeof HTMLSlotElement - added:
readonly property Window.HTMLStyleElement: typeof HTMLStyleElement - added:
readonly property Window.HTMLTemplateElement: typeof HTMLTemplateElement - added:
readonly property Window.HTMLTextAreaElement: typeof HTMLTextAreaElement - added:
readonly property Window.HTMLUnknownElement: typeof HTMLUnknownElement - added:
readonly property Window.Image: typeof Image - added:
readonly property Window.MediaQueryList: typeof MediaQueryList - added:
readonly property Window.MimeType: typeof MimeType - added:
readonly property Window.MimeTypeArray: typeof MimeTypeArray - added:
readonly property Window.Navigator: typeof Navigator - added:
readonly property Window.NodeList: typeof NodeList - added:
readonly property Window.Plugin: typeof Plugin - added:
readonly property Window.PluginArray: typeof PluginArray - added:
readonly property Window.PointerEvent: typeof PointerEvent - added:
readonly property Window.SVGDocument: typeof SVGDocument - added:
readonly property Window.SVGElement: typeof SVGElement - added:
readonly property Window.SVGSVGElement: typeof SVGSVGElement - added:
readonly property Window.Selection: typeof Selection - added:
readonly property Window.Storage: typeof Storage - added:
readonly property Window.StorageEvent: typeof StorageEvent - added:
readonly property Window.Text: typeof Text - added:
readonly property Window.URLSearchParams: typeof URLSearchParams - added:
readonly property Window.XMLDocument: typeof XMLDocument - added:
readonly property Window.devicePixelRatio = 1 - added:
readonly property Window.globalThis: this - added:
readonly property Window.happyDOM: { whenAsyncComplete: () => Promise<void>; cancelAsync: () => void; asyncTaskManager: AsyncTaskManager } - added:
readonly property Window.localStorage: Storage - added:
readonly property Window.parent: this - added:
readonly property Window.performance: PerfHooks.Performance - added:
readonly property Window.sessionStorage: Storage
- changed:
static method XMLParser.parse(document: Document, data: string, evaluateScripts?: boolean): Element → static method XMLParser.parse(document: IDocument, data: string, evaluateScripts?: boolean): IElement
- changed:
method XMLSerializer.serializeToString(root: Node): string → method XMLSerializer.serializeToString(root: INode, options?: { includeShadowRoots?: boolean }): string