diff --git a/.eslintignore b/.eslintignore index 78827bba58..096240be8b 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,7 +1,6 @@ front_end/.eslintrc.js front_end/diff/diff_match_patch.jD front_end/models/javascript_metadata/NativeFunctions.js -front_end/models/javascript_metadata/DOMPinnedProperties.ts // All of these scripts are auto-generated so don't lint them. front_end/generated/ARIAProperties.js diff --git a/config/gni/devtools_grd_files.gni b/config/gni/devtools_grd_files.gni index 01ca0b7c52..bef29d190d 100644 --- a/config/gni/devtools_grd_files.gni +++ b/config/gni/devtools_grd_files.gni @@ -961,7 +961,6 @@ grd_files_debug_sources = [ "front_end/models/issues_manager/SharedDictionaryIssue.js", "front_end/models/issues_manager/SourceFrameIssuesManager.js", "front_end/models/issues_manager/StylesheetLoadingIssue.js", - "front_end/models/javascript_metadata/DOMPinnedProperties.js", "front_end/models/javascript_metadata/JavaScriptMetadata.js", "front_end/models/javascript_metadata/NativeFunctions.js", "front_end/models/live-metrics/LiveMetrics.js", diff --git a/front_end/core/host/UserMetrics.ts b/front_end/core/host/UserMetrics.ts index 8256403ef4..7f16e2c828 100644 --- a/front_end/core/host/UserMetrics.ts +++ b/front_end/core/host/UserMetrics.ts @@ -1001,7 +1001,6 @@ export enum DevtoolsExperiments { 'styles-pane-css-changes' = 55, 'instrumentation-breakpoints' = 61, 'authored-deployed-grouping' = 63, - 'important-dom-properties' = 64, 'just-my-code' = 65, 'preloading-status-panel' = 68, 'outermost-target-selector' = 71, diff --git a/front_end/core/root/Runtime.ts b/front_end/core/root/Runtime.ts index 29cf988989..9e94e7b6a6 100644 --- a/front_end/core/root/Runtime.ts +++ b/front_end/core/root/Runtime.ts @@ -285,7 +285,6 @@ export const enum ExperimentName { HEADER_OVERRIDES = 'header-overrides', INSTRUMENTATION_BREAKPOINTS = 'instrumentation-breakpoints', AUTHORED_DEPLOYED_GROUPING = 'authored-deployed-grouping', - IMPORTANT_DOM_PROPERTIES = 'important-dom-properties', JUST_MY_CODE = 'just-my-code', PRELOADING_STATUS_PANEL = 'preloading-status-panel', OUTERMOST_TARGET_SELECTOR = 'outermost-target-selector', diff --git a/front_end/entrypoints/main/MainImpl.ts b/front_end/entrypoints/main/MainImpl.ts index 0d1daf867a..26294e3db2 100644 --- a/front_end/entrypoints/main/MainImpl.ts +++ b/front_end/entrypoints/main/MainImpl.ts @@ -365,11 +365,6 @@ export class MainImpl { Root.Runtime.experiments.register( Root.Runtime.ExperimentName.JUST_MY_CODE, 'Hide ignore-listed code in Sources tree view'); - // Highlight important DOM properties in the Object Properties viewer. - Root.Runtime.experiments.register( - Root.Runtime.ExperimentName.IMPORTANT_DOM_PROPERTIES, - 'Highlight important DOM properties in the Properties tab'); - Root.Runtime.experiments.register( Root.Runtime.ExperimentName.PRELOADING_STATUS_PANEL, 'Enable speculative loads panel in Application panel', true); diff --git a/front_end/models/javascript_metadata/BUILD.gn b/front_end/models/javascript_metadata/BUILD.gn index b08338e016..557a642d94 100644 --- a/front_end/models/javascript_metadata/BUILD.gn +++ b/front_end/models/javascript_metadata/BUILD.gn @@ -9,7 +9,6 @@ import("../visibility.gni") devtools_module("javascript_metadata") { sources = [ - "DOMPinnedProperties.ts", "JavaScriptMetadata.ts", "NativeFunctions.js", ] diff --git a/front_end/models/javascript_metadata/DOMPinnedProperties.ts b/front_end/models/javascript_metadata/DOMPinnedProperties.ts deleted file mode 100644 index 7481550d89..0000000000 --- a/front_end/models/javascript_metadata/DOMPinnedProperties.ts +++ /dev/null @@ -1,4245 +0,0 @@ - -// Copyright 2022 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// Generated from scripts/webidl-properties/index.js - -// clang-format off - -/** - * All the specs used when generating the DOM pinned properties dataset. - */ -export const SPECS = { - "html": 1, - "dom": 2, - "uievents": 4, - "pointerevents": 8, - "cssom": 16, - "wai-aria": 32 -}; - -export interface DOMPinnedWebIDLProp { - // A flag specifying whether it's a "global" attribute. - global?: boolean; - // A bitfield of the specs in which the property is found. - // If missing, it implies the default spec: "html". - specs?: number; - // The "states" in which this property is "applicable". - rules?: Array; -} - -export interface DOMPinnedWebIDLType { - // An inherited Type. - inheritance?: string; - // A set of Types to also include properties from. - includes?: Array; - // The properties defined on this Type. - props?: { - // A property name such as "checked". - [PropName: string]: DOMPinnedWebIDLProp, - }; - // The "states" in which only certain properties are "applicable". - rules?: Array; -} - -export interface DOMPinnedWebIDLRule { - when: string; - is: string; -} - -export interface DOMPinnedPropertiesDataset { - [TypeName: string]: DOMPinnedWebIDLType; -} - -/** - * The DOM pinned properties dataset. Generated from WebIDL data parsed from - * the SPECS above. - * - * This is an object with WebIDL type names as keys and their WebIDL properties - * and inheritance/include chains as values. - */ -export const DOMPinnedProperties: DOMPinnedPropertiesDataset = { - "HTMLAllCollection": { - "props": { - "length": {} - } - }, - "HTMLFormControlsCollection": { - "inheritance": "HTMLCollection" - }, - "RadioNodeList": { - "inheritance": "NodeList", - "props": { - "value": {} - } - }, - "HTMLOptionsCollection": { - "inheritance": "HTMLCollection", - "props": { - "length": {}, - "selectedIndex": {} - } - }, - "DOMStringList": { - "props": { - "length": {} - } - }, - "Document": { - "inheritance": "Node", - "includes": [ - "GlobalEventHandlers", - "DocumentAndElementEventHandlers", - "NonElementParentNode", - "DocumentOrShadowRoot", - "ParentNode", - "XPathEvaluatorBase" - ], - "props": { - "location": {}, - "domain": {}, - "referrer": {}, - "cookie": {}, - "lastModified": {}, - "readyState": {}, - "title": { - "global": true - }, - "dir": { - "global": true - }, - "body": {}, - "head": {}, - "images": {}, - "embeds": {}, - "plugins": {}, - "links": {}, - "forms": {}, - "scripts": {}, - "currentScript": {}, - "defaultView": {}, - "designMode": {}, - "hidden": { - "global": true - }, - "visibilityState": {}, - "onreadystatechange": {}, - "onvisibilitychange": {}, - "fgColor": {}, - "linkColor": {}, - "vlinkColor": {}, - "alinkColor": {}, - "bgColor": {}, - "anchors": {}, - "applets": {}, - "all": {}, - "implementation": { - "specs": 2 - }, - "URL": { - "specs": 2 - }, - "documentURI": { - "specs": 2 - }, - "compatMode": { - "specs": 2 - }, - "characterSet": { - "specs": 2 - }, - "charset": { - "specs": 2 - }, - "inputEncoding": { - "specs": 2 - }, - "contentType": { - "specs": 2 - }, - "doctype": { - "specs": 2 - }, - "documentElement": { - "specs": 2 - } - } - }, - "DocumentOrShadowRoot": { - "props": { - "activeElement": {}, - "styleSheets": { - "specs": 16 - }, - "adoptedStyleSheets": { - "specs": 16 - } - } - }, - "HTMLElement": { - "inheritance": "Element", - "includes": [ - "GlobalEventHandlers", - "DocumentAndElementEventHandlers", - "ElementContentEditable", - "HTMLOrSVGElement", - "ElementCSSInlineStyle" - ], - "props": { - "title": { - "global": true - }, - "lang": { - "global": true - }, - "translate": { - "global": true - }, - "dir": { - "global": true - }, - "hidden": { - "global": true - }, - "inert": {}, - "accessKey": {}, - "accessKeyLabel": {}, - "draggable": { - "global": true - }, - "spellcheck": { - "global": true - }, - "autocapitalize": { - "global": true - }, - "innerText": {}, - "outerText": {} - } - }, - "HTMLUnknownElement": { - "inheritance": "HTMLElement" - }, - "HTMLOrSVGElement": { - "props": { - "dataset": {}, - "nonce": { - "global": true - }, - "autofocus": { - "global": true - }, - "tabIndex": {} - } - }, - "HTMLHtmlElement": { - "inheritance": "HTMLElement", - "props": { - "version": {} - } - }, - "HTMLHeadElement": { - "inheritance": "HTMLElement" - }, - "HTMLTitleElement": { - "inheritance": "HTMLElement", - "props": { - "text": {} - } - }, - "HTMLBaseElement": { - "inheritance": "HTMLElement", - "props": { - "href": {}, - "target": {} - } - }, - "HTMLLinkElement": { - "inheritance": "HTMLElement", - "includes": [ - "LinkStyle" - ], - "props": { - "href": {}, - "crossOrigin": {}, - "rel": {}, - "as": {}, - "relList": {}, - "media": {}, - "integrity": {}, - "hreflang": {}, - "type": {}, - "sizes": {}, - "imageSrcset": {}, - "imageSizes": {}, - "referrerPolicy": {}, - "blocking": {}, - "disabled": {}, - "charset": {}, - "rev": {}, - "target": {} - } - }, - "HTMLMetaElement": { - "inheritance": "HTMLElement", - "props": { - "name": {}, - "httpEquiv": {}, - "content": {}, - "media": {}, - "scheme": {} - } - }, - "HTMLStyleElement": { - "inheritance": "HTMLElement", - "includes": [ - "LinkStyle" - ], - "props": { - "disabled": {}, - "media": {}, - "blocking": {}, - "type": {} - } - }, - "HTMLBodyElement": { - "inheritance": "HTMLElement", - "includes": [ - "WindowEventHandlers" - ], - "props": { - "text": {}, - "link": {}, - "vLink": {}, - "aLink": {}, - "bgColor": {}, - "background": {} - } - }, - "HTMLHeadingElement": { - "inheritance": "HTMLElement", - "props": { - "align": {} - } - }, - "HTMLParagraphElement": { - "inheritance": "HTMLElement", - "props": { - "align": {} - } - }, - "HTMLHRElement": { - "inheritance": "HTMLElement", - "props": { - "align": {}, - "color": {}, - "noShade": {}, - "size": {}, - "width": {} - } - }, - "HTMLPreElement": { - "inheritance": "HTMLElement", - "props": { - "width": {} - } - }, - "HTMLQuoteElement": { - "inheritance": "HTMLElement", - "props": { - "cite": {} - } - }, - "HTMLOListElement": { - "inheritance": "HTMLElement", - "props": { - "reversed": {}, - "start": {}, - "type": {}, - "compact": {} - } - }, - "HTMLUListElement": { - "inheritance": "HTMLElement", - "props": { - "compact": {}, - "type": {} - } - }, - "HTMLMenuElement": { - "inheritance": "HTMLElement", - "props": { - "compact": {} - } - }, - "HTMLLIElement": { - "inheritance": "HTMLElement", - "props": { - "value": {}, - "type": {} - } - }, - "HTMLDListElement": { - "inheritance": "HTMLElement", - "props": { - "compact": {} - } - }, - "HTMLDivElement": { - "inheritance": "HTMLElement", - "props": { - "align": {} - } - }, - "HTMLAnchorElement": { - "inheritance": "HTMLElement", - "includes": [ - "HTMLHyperlinkElementUtils" - ], - "props": { - "target": {}, - "download": {}, - "ping": {}, - "rel": {}, - "relList": {}, - "hreflang": {}, - "type": {}, - "text": {}, - "referrerPolicy": {}, - "coords": {}, - "charset": {}, - "name": {}, - "rev": {}, - "shape": {} - } - }, - "HTMLDataElement": { - "inheritance": "HTMLElement", - "props": { - "value": {} - } - }, - "HTMLTimeElement": { - "inheritance": "HTMLElement", - "props": { - "dateTime": {} - } - }, - "HTMLSpanElement": { - "inheritance": "HTMLElement" - }, - "HTMLBRElement": { - "inheritance": "HTMLElement", - "props": { - "clear": {} - } - }, - "HTMLHyperlinkElementUtils": { - "props": { - "href": {}, - "origin": {}, - "protocol": {}, - "username": {}, - "password": {}, - "host": {}, - "hostname": {}, - "port": {}, - "pathname": {}, - "search": {}, - "hash": {} - } - }, - "HTMLModElement": { - "inheritance": "HTMLElement", - "props": { - "cite": {}, - "dateTime": {} - } - }, - "HTMLPictureElement": { - "inheritance": "HTMLElement" - }, - "HTMLSourceElement": { - "inheritance": "HTMLElement", - "props": { - "src": {}, - "type": {}, - "srcset": {}, - "sizes": {}, - "media": {}, - "width": {}, - "height": {} - } - }, - "HTMLImageElement": { - "inheritance": "HTMLElement", - "props": { - "alt": {}, - "src": {}, - "srcset": {}, - "sizes": {}, - "crossOrigin": {}, - "useMap": {}, - "isMap": {}, - "width": {}, - "height": {}, - "naturalWidth": {}, - "naturalHeight": {}, - "complete": {}, - "currentSrc": {}, - "referrerPolicy": {}, - "decoding": {}, - "loading": {}, - "name": {}, - "lowsrc": {}, - "align": {}, - "hspace": {}, - "vspace": {}, - "longDesc": {}, - "border": {} - } - }, - "HTMLIFrameElement": { - "inheritance": "HTMLElement", - "props": { - "src": {}, - "srcdoc": {}, - "name": {}, - "sandbox": {}, - "allow": {}, - "allowFullscreen": {}, - "width": {}, - "height": {}, - "referrerPolicy": {}, - "loading": {}, - "contentDocument": {}, - "contentWindow": {}, - "align": {}, - "scrolling": {}, - "frameBorder": {}, - "longDesc": {}, - "marginHeight": {}, - "marginWidth": {} - } - }, - "HTMLEmbedElement": { - "inheritance": "HTMLElement", - "props": { - "src": {}, - "type": {}, - "width": {}, - "height": {}, - "align": {}, - "name": {} - } - }, - "HTMLObjectElement": { - "inheritance": "HTMLElement", - "props": { - "data": {}, - "type": {}, - "name": {}, - "form": {}, - "width": {}, - "height": {}, - "contentDocument": {}, - "contentWindow": {}, - "willValidate": {}, - "validity": {}, - "validationMessage": {}, - "align": {}, - "archive": {}, - "code": {}, - "declare": {}, - "hspace": {}, - "standby": {}, - "vspace": {}, - "codeBase": {}, - "codeType": {}, - "useMap": {}, - "border": {} - } - }, - "HTMLVideoElement": { - "inheritance": "HTMLMediaElement", - "props": { - "width": {}, - "height": {}, - "videoWidth": {}, - "videoHeight": {}, - "poster": {}, - "playsInline": {} - } - }, - "HTMLAudioElement": { - "inheritance": "HTMLMediaElement" - }, - "HTMLTrackElement": { - "inheritance": "HTMLElement", - "props": { - "kind": {}, - "src": {}, - "srclang": {}, - "label": {}, - "default": {}, - "readyState": {}, - "track": {} - } - }, - "HTMLMediaElement": { - "inheritance": "HTMLElement", - "props": { - "error": {}, - "src": {}, - "srcObject": {}, - "currentSrc": {}, - "crossOrigin": {}, - "networkState": {}, - "preload": {}, - "buffered": {}, - "readyState": {}, - "seeking": {}, - "currentTime": {}, - "duration": {}, - "paused": {}, - "defaultPlaybackRate": {}, - "playbackRate": {}, - "preservesPitch": {}, - "played": {}, - "seekable": {}, - "ended": {}, - "autoplay": {}, - "loop": {}, - "controls": {}, - "volume": {}, - "muted": {}, - "defaultMuted": {}, - "audioTracks": {}, - "videoTracks": {}, - "textTracks": {} - } - }, - "MediaError": { - "props": { - "code": {}, - "message": {} - } - }, - "AudioTrackList": { - "inheritance": "EventTarget", - "props": { - "length": {}, - "onchange": {}, - "onaddtrack": {}, - "onremovetrack": {} - } - }, - "AudioTrack": { - "props": { - "id": {}, - "kind": {}, - "label": {}, - "language": {}, - "enabled": {} - } - }, - "VideoTrackList": { - "inheritance": "EventTarget", - "props": { - "length": {}, - "selectedIndex": {}, - "onchange": {}, - "onaddtrack": {}, - "onremovetrack": {} - } - }, - "VideoTrack": { - "props": { - "id": {}, - "kind": {}, - "label": {}, - "language": {}, - "selected": {} - } - }, - "TextTrackList": { - "inheritance": "EventTarget", - "props": { - "length": {}, - "onchange": {}, - "onaddtrack": {}, - "onremovetrack": {} - } - }, - "TextTrack": { - "inheritance": "EventTarget", - "props": { - "kind": {}, - "label": {}, - "language": {}, - "id": {}, - "inBandMetadataTrackDispatchType": {}, - "mode": {}, - "cues": {}, - "activeCues": {}, - "oncuechange": {} - } - }, - "TextTrackCueList": { - "props": { - "length": {} - } - }, - "TextTrackCue": { - "inheritance": "EventTarget", - "props": { - "track": {}, - "id": {}, - "startTime": {}, - "endTime": {}, - "pauseOnExit": {}, - "onenter": {}, - "onexit": {} - } - }, - "TimeRanges": { - "props": { - "length": {} - } - }, - "TrackEvent": { - "inheritance": "Event", - "props": { - "track": {} - } - }, - "TrackEventInit": { - "inheritance": "EventInit", - "props": { - "track": {} - } - }, - "HTMLMapElement": { - "inheritance": "HTMLElement", - "props": { - "name": {}, - "areas": {} - } - }, - "HTMLAreaElement": { - "inheritance": "HTMLElement", - "includes": [ - "HTMLHyperlinkElementUtils" - ], - "props": { - "alt": {}, - "coords": {}, - "shape": {}, - "target": {}, - "download": {}, - "ping": {}, - "rel": {}, - "relList": {}, - "referrerPolicy": {}, - "noHref": {} - } - }, - "HTMLTableElement": { - "inheritance": "HTMLElement", - "props": { - "caption": {}, - "tHead": {}, - "tFoot": {}, - "tBodies": {}, - "rows": {}, - "align": {}, - "border": {}, - "frame": {}, - "rules": {}, - "summary": {}, - "width": {}, - "bgColor": {}, - "cellPadding": {}, - "cellSpacing": {} - } - }, - "HTMLTableCaptionElement": { - "inheritance": "HTMLElement", - "props": { - "align": {} - } - }, - "HTMLTableColElement": { - "inheritance": "HTMLElement", - "props": { - "span": {}, - "align": {}, - "ch": {}, - "chOff": {}, - "vAlign": {}, - "width": {} - } - }, - "HTMLTableSectionElement": { - "inheritance": "HTMLElement", - "props": { - "rows": {}, - "align": {}, - "ch": {}, - "chOff": {}, - "vAlign": {} - } - }, - "HTMLTableRowElement": { - "inheritance": "HTMLElement", - "props": { - "rowIndex": {}, - "sectionRowIndex": {}, - "cells": {}, - "align": {}, - "ch": {}, - "chOff": {}, - "vAlign": {}, - "bgColor": {} - } - }, - "HTMLTableCellElement": { - "inheritance": "HTMLElement", - "props": { - "colSpan": {}, - "rowSpan": {}, - "headers": {}, - "cellIndex": {}, - "scope": {}, - "abbr": {}, - "align": {}, - "axis": {}, - "height": {}, - "width": {}, - "ch": {}, - "chOff": {}, - "noWrap": {}, - "vAlign": {}, - "bgColor": {} - } - }, - "HTMLFormElement": { - "inheritance": "HTMLElement", - "props": { - "acceptCharset": {}, - "action": {}, - "autocomplete": {}, - "enctype": {}, - "encoding": {}, - "method": {}, - "name": {}, - "noValidate": {}, - "target": {}, - "rel": {}, - "relList": {}, - "elements": {}, - "length": {} - } - }, - "HTMLLabelElement": { - "inheritance": "HTMLElement", - "props": { - "form": {}, - "htmlFor": {}, - "control": {} - } - }, - "HTMLInputElement": { - "inheritance": "HTMLElement", - "props": { - "accept": { - "rules": [ - { - "when": "type", - "is": "file" - } - ] - }, - "alt": { - "rules": [ - { - "when": "type", - "is": "image" - } - ] - }, - "autocomplete": { - "rules": [ - { - "when": "type", - "is": "hidden" - }, - { - "when": "type", - "is": "text" - }, - { - "when": "type", - "is": "search" - }, - { - "when": "type", - "is": "url" - }, - { - "when": "type", - "is": "tel" - }, - { - "when": "type", - "is": "email" - }, - { - "when": "type", - "is": "password" - }, - { - "when": "type", - "is": "date" - }, - { - "when": "type", - "is": "month" - }, - { - "when": "type", - "is": "week" - }, - { - "when": "type", - "is": "time" - }, - { - "when": "type", - "is": "datetime-local" - }, - { - "when": "type", - "is": "number" - }, - { - "when": "type", - "is": "range" - }, - { - "when": "type", - "is": "color" - } - ] - }, - "defaultChecked": {}, - "checked": { - "rules": [ - { - "when": "type", - "is": "checkbox" - }, - { - "when": "type", - "is": "radio" - } - ] - }, - "dirName": { - "rules": [ - { - "when": "type", - "is": "text" - }, - { - "when": "type", - "is": "search" - } - ] - }, - "disabled": {}, - "form": {}, - "files": { - "rules": [ - { - "when": "type", - "is": "file" - } - ] - }, - "formAction": { - "rules": [ - { - "when": "type", - "is": "submit" - }, - { - "when": "type", - "is": "image" - } - ] - }, - "formEnctype": { - "rules": [ - { - "when": "type", - "is": "submit" - }, - { - "when": "type", - "is": "image" - } - ] - }, - "formMethod": { - "rules": [ - { - "when": "type", - "is": "submit" - }, - { - "when": "type", - "is": "image" - } - ] - }, - "formNoValidate": { - "rules": [ - { - "when": "type", - "is": "submit" - }, - { - "when": "type", - "is": "image" - } - ] - }, - "formTarget": { - "rules": [ - { - "when": "type", - "is": "submit" - }, - { - "when": "type", - "is": "image" - } - ] - }, - "height": { - "rules": [ - { - "when": "type", - "is": "image" - } - ] - }, - "indeterminate": {}, - "list": { - "rules": [ - { - "when": "type", - "is": "text" - }, - { - "when": "type", - "is": "search" - }, - { - "when": "type", - "is": "url" - }, - { - "when": "type", - "is": "tel" - }, - { - "when": "type", - "is": "email" - }, - { - "when": "type", - "is": "date" - }, - { - "when": "type", - "is": "month" - }, - { - "when": "type", - "is": "week" - }, - { - "when": "type", - "is": "time" - }, - { - "when": "type", - "is": "datetime-local" - }, - { - "when": "type", - "is": "number" - }, - { - "when": "type", - "is": "range" - }, - { - "when": "type", - "is": "color" - } - ] - }, - "max": { - "rules": [ - { - "when": "type", - "is": "date" - }, - { - "when": "type", - "is": "month" - }, - { - "when": "type", - "is": "week" - }, - { - "when": "type", - "is": "time" - }, - { - "when": "type", - "is": "datetime-local" - }, - { - "when": "type", - "is": "number" - }, - { - "when": "type", - "is": "range" - } - ] - }, - "maxLength": { - "rules": [ - { - "when": "type", - "is": "text" - }, - { - "when": "type", - "is": "search" - }, - { - "when": "type", - "is": "url" - }, - { - "when": "type", - "is": "tel" - }, - { - "when": "type", - "is": "email" - }, - { - "when": "type", - "is": "password" - } - ] - }, - "min": { - "rules": [ - { - "when": "type", - "is": "date" - }, - { - "when": "type", - "is": "month" - }, - { - "when": "type", - "is": "week" - }, - { - "when": "type", - "is": "time" - }, - { - "when": "type", - "is": "datetime-local" - }, - { - "when": "type", - "is": "number" - }, - { - "when": "type", - "is": "range" - } - ] - }, - "minLength": { - "rules": [ - { - "when": "type", - "is": "text" - }, - { - "when": "type", - "is": "search" - }, - { - "when": "type", - "is": "url" - }, - { - "when": "type", - "is": "tel" - }, - { - "when": "type", - "is": "email" - }, - { - "when": "type", - "is": "password" - } - ] - }, - "multiple": { - "rules": [ - { - "when": "type", - "is": "email" - }, - { - "when": "type", - "is": "file" - } - ] - }, - "name": {}, - "pattern": { - "rules": [ - { - "when": "type", - "is": "text" - }, - { - "when": "type", - "is": "search" - }, - { - "when": "type", - "is": "url" - }, - { - "when": "type", - "is": "tel" - }, - { - "when": "type", - "is": "email" - }, - { - "when": "type", - "is": "password" - } - ] - }, - "placeholder": { - "rules": [ - { - "when": "type", - "is": "text" - }, - { - "when": "type", - "is": "search" - }, - { - "when": "type", - "is": "url" - }, - { - "when": "type", - "is": "tel" - }, - { - "when": "type", - "is": "email" - }, - { - "when": "type", - "is": "password" - }, - { - "when": "type", - "is": "number" - } - ] - }, - "readOnly": { - "rules": [ - { - "when": "type", - "is": "text" - }, - { - "when": "type", - "is": "search" - }, - { - "when": "type", - "is": "url" - }, - { - "when": "type", - "is": "tel" - }, - { - "when": "type", - "is": "email" - }, - { - "when": "type", - "is": "password" - }, - { - "when": "type", - "is": "date" - }, - { - "when": "type", - "is": "month" - }, - { - "when": "type", - "is": "week" - }, - { - "when": "type", - "is": "time" - }, - { - "when": "type", - "is": "datetime-local" - }, - { - "when": "type", - "is": "number" - } - ] - }, - "required": { - "rules": [ - { - "when": "type", - "is": "text" - }, - { - "when": "type", - "is": "search" - }, - { - "when": "type", - "is": "url" - }, - { - "when": "type", - "is": "tel" - }, - { - "when": "type", - "is": "email" - }, - { - "when": "type", - "is": "password" - }, - { - "when": "type", - "is": "date" - }, - { - "when": "type", - "is": "month" - }, - { - "when": "type", - "is": "week" - }, - { - "when": "type", - "is": "time" - }, - { - "when": "type", - "is": "datetime-local" - }, - { - "when": "type", - "is": "number" - }, - { - "when": "type", - "is": "checkbox" - }, - { - "when": "type", - "is": "radio" - }, - { - "when": "type", - "is": "file" - } - ] - }, - "size": { - "rules": [ - { - "when": "type", - "is": "text" - }, - { - "when": "type", - "is": "search" - }, - { - "when": "type", - "is": "url" - }, - { - "when": "type", - "is": "tel" - }, - { - "when": "type", - "is": "email" - }, - { - "when": "type", - "is": "password" - } - ] - }, - "src": { - "rules": [ - { - "when": "type", - "is": "image" - } - ] - }, - "step": { - "rules": [ - { - "when": "type", - "is": "date" - }, - { - "when": "type", - "is": "month" - }, - { - "when": "type", - "is": "week" - }, - { - "when": "type", - "is": "time" - }, - { - "when": "type", - "is": "datetime-local" - }, - { - "when": "type", - "is": "number" - }, - { - "when": "type", - "is": "range" - } - ] - }, - "type": {}, - "defaultValue": {}, - "value": { - "rules": [ - { - "when": "type", - "is": "hidden" - }, - { - "when": "type", - "is": "text" - }, - { - "when": "type", - "is": "search" - }, - { - "when": "type", - "is": "url" - }, - { - "when": "type", - "is": "tel" - }, - { - "when": "type", - "is": "email" - }, - { - "when": "type", - "is": "password" - }, - { - "when": "type", - "is": "date" - }, - { - "when": "type", - "is": "month" - }, - { - "when": "type", - "is": "week" - }, - { - "when": "type", - "is": "time" - }, - { - "when": "type", - "is": "datetime-local" - }, - { - "when": "type", - "is": "number" - }, - { - "when": "type", - "is": "range" - }, - { - "when": "type", - "is": "color" - }, - { - "when": "type", - "is": "checkbox" - }, - { - "when": "type", - "is": "radio" - }, - { - "when": "type", - "is": "file" - }, - { - "when": "type", - "is": "submit" - }, - { - "when": "type", - "is": "image" - }, - { - "when": "type", - "is": "reset" - }, - { - "when": "type", - "is": "button" - } - ] - }, - "valueAsDate": { - "rules": [ - { - "when": "type", - "is": "date" - }, - { - "when": "type", - "is": "month" - }, - { - "when": "type", - "is": "week" - }, - { - "when": "type", - "is": "time" - } - ] - }, - "valueAsNumber": { - "rules": [ - { - "when": "type", - "is": "date" - }, - { - "when": "type", - "is": "month" - }, - { - "when": "type", - "is": "week" - }, - { - "when": "type", - "is": "time" - }, - { - "when": "type", - "is": "datetime-local" - }, - { - "when": "type", - "is": "number" - }, - { - "when": "type", - "is": "range" - } - ] - }, - "width": { - "rules": [ - { - "when": "type", - "is": "image" - } - ] - }, - "willValidate": {}, - "validity": {}, - "validationMessage": {}, - "labels": {}, - "selectionStart": { - "rules": [ - { - "when": "type", - "is": "text" - }, - { - "when": "type", - "is": "search" - }, - { - "when": "type", - "is": "url" - }, - { - "when": "type", - "is": "tel" - }, - { - "when": "type", - "is": "password" - } - ] - }, - "selectionEnd": { - "rules": [ - { - "when": "type", - "is": "text" - }, - { - "when": "type", - "is": "search" - }, - { - "when": "type", - "is": "url" - }, - { - "when": "type", - "is": "tel" - }, - { - "when": "type", - "is": "password" - } - ] - }, - "selectionDirection": { - "rules": [ - { - "when": "type", - "is": "text" - }, - { - "when": "type", - "is": "search" - }, - { - "when": "type", - "is": "url" - }, - { - "when": "type", - "is": "tel" - }, - { - "when": "type", - "is": "password" - } - ] - }, - "align": {}, - "useMap": {} - }, - "rules": [ - { - "when": "type", - "is": "hidden" - }, - { - "when": "type", - "is": "text" - }, - { - "when": "type", - "is": "search" - }, - { - "when": "type", - "is": "url" - }, - { - "when": "type", - "is": "tel" - }, - { - "when": "type", - "is": "email" - }, - { - "when": "type", - "is": "password" - }, - { - "when": "type", - "is": "date" - }, - { - "when": "type", - "is": "month" - }, - { - "when": "type", - "is": "week" - }, - { - "when": "type", - "is": "time" - }, - { - "when": "type", - "is": "datetime-local" - }, - { - "when": "type", - "is": "number" - }, - { - "when": "type", - "is": "range" - }, - { - "when": "type", - "is": "color" - }, - { - "when": "type", - "is": "checkbox" - }, - { - "when": "type", - "is": "radio" - }, - { - "when": "type", - "is": "file" - }, - { - "when": "type", - "is": "submit" - }, - { - "when": "type", - "is": "image" - }, - { - "when": "type", - "is": "reset" - }, - { - "when": "type", - "is": "button" - } - ] - }, - "HTMLButtonElement": { - "inheritance": "HTMLElement", - "props": { - "disabled": {}, - "form": {}, - "formAction": {}, - "formEnctype": {}, - "formMethod": {}, - "formNoValidate": {}, - "formTarget": {}, - "name": {}, - "type": {}, - "value": {}, - "willValidate": {}, - "validity": {}, - "validationMessage": {}, - "labels": {} - } - }, - "HTMLSelectElement": { - "inheritance": "HTMLElement", - "props": { - "autocomplete": {}, - "disabled": {}, - "form": {}, - "multiple": {}, - "name": {}, - "required": {}, - "size": {}, - "type": {}, - "options": {}, - "length": {}, - "selectedOptions": {}, - "selectedIndex": {}, - "value": {}, - "willValidate": {}, - "validity": {}, - "validationMessage": {}, - "labels": {} - } - }, - "HTMLDataListElement": { - "inheritance": "HTMLElement", - "props": { - "options": {} - } - }, - "HTMLOptGroupElement": { - "inheritance": "HTMLElement", - "props": { - "disabled": {}, - "label": {} - } - }, - "HTMLOptionElement": { - "inheritance": "HTMLElement", - "props": { - "disabled": {}, - "form": {}, - "label": {}, - "defaultSelected": {}, - "selected": {}, - "value": {}, - "text": {}, - "index": {} - } - }, - "HTMLTextAreaElement": { - "inheritance": "HTMLElement", - "props": { - "autocomplete": {}, - "cols": {}, - "dirName": {}, - "disabled": {}, - "form": {}, - "maxLength": {}, - "minLength": {}, - "name": {}, - "placeholder": {}, - "readOnly": {}, - "required": {}, - "rows": {}, - "wrap": {}, - "type": {}, - "defaultValue": {}, - "value": {}, - "textLength": {}, - "willValidate": {}, - "validity": {}, - "validationMessage": {}, - "labels": {}, - "selectionStart": {}, - "selectionEnd": {}, - "selectionDirection": {} - } - }, - "HTMLOutputElement": { - "inheritance": "HTMLElement", - "props": { - "htmlFor": {}, - "form": {}, - "name": {}, - "type": {}, - "defaultValue": {}, - "value": {}, - "willValidate": {}, - "validity": {}, - "validationMessage": {}, - "labels": {} - } - }, - "HTMLProgressElement": { - "inheritance": "HTMLElement", - "props": { - "value": {}, - "max": {}, - "position": {}, - "labels": {} - } - }, - "HTMLMeterElement": { - "inheritance": "HTMLElement", - "props": { - "value": {}, - "min": {}, - "max": {}, - "low": {}, - "high": {}, - "optimum": {}, - "labels": {} - } - }, - "HTMLFieldSetElement": { - "inheritance": "HTMLElement", - "props": { - "disabled": {}, - "form": {}, - "name": {}, - "type": {}, - "elements": {}, - "willValidate": {}, - "validity": {}, - "validationMessage": {} - } - }, - "HTMLLegendElement": { - "inheritance": "HTMLElement", - "props": { - "form": {}, - "align": {} - } - }, - "ValidityState": { - "props": { - "valueMissing": {}, - "typeMismatch": {}, - "patternMismatch": {}, - "tooLong": {}, - "tooShort": {}, - "rangeUnderflow": {}, - "rangeOverflow": {}, - "stepMismatch": {}, - "badInput": {}, - "customError": {}, - "valid": {} - } - }, - "SubmitEvent": { - "inheritance": "Event", - "props": { - "submitter": {} - } - }, - "SubmitEventInit": { - "inheritance": "EventInit", - "props": { - "submitter": {} - } - }, - "FormDataEvent": { - "inheritance": "Event", - "props": { - "formData": {} - } - }, - "FormDataEventInit": { - "inheritance": "EventInit", - "props": { - "formData": {} - } - }, - "HTMLDetailsElement": { - "inheritance": "HTMLElement", - "props": { - "open": {} - } - }, - "HTMLDialogElement": { - "inheritance": "HTMLElement", - "props": { - "open": {}, - "returnValue": {} - } - }, - "HTMLScriptElement": { - "inheritance": "HTMLElement", - "props": { - "src": {}, - "type": {}, - "noModule": {}, - "async": {}, - "defer": {}, - "crossOrigin": {}, - "text": {}, - "integrity": {}, - "referrerPolicy": {}, - "blocking": {}, - "charset": {}, - "event": {}, - "htmlFor": {} - } - }, - "HTMLTemplateElement": { - "inheritance": "HTMLElement", - "props": { - "content": {} - } - }, - "HTMLSlotElement": { - "inheritance": "HTMLElement", - "props": { - "name": {} - } - }, - "AssignedNodesOptions": { - "props": { - "flatten": {} - } - }, - "HTMLCanvasElement": { - "inheritance": "HTMLElement", - "props": { - "width": {}, - "height": {} - } - }, - "CanvasRenderingContext2DSettings": { - "props": { - "alpha": {}, - "desynchronized": {}, - "colorSpace": {}, - "willReadFrequently": {} - } - }, - "CanvasRenderingContext2D": { - "includes": [ - "CanvasState", - "CanvasTransform", - "CanvasCompositing", - "CanvasImageSmoothing", - "CanvasFillStrokeStyles", - "CanvasShadowStyles", - "CanvasFilters", - "CanvasRect", - "CanvasDrawPath", - "CanvasUserInterface", - "CanvasText", - "CanvasDrawImage", - "CanvasImageData", - "CanvasPathDrawingStyles", - "CanvasTextDrawingStyles", - "CanvasPath" - ], - "props": { - "canvas": {} - } - }, - "CanvasCompositing": { - "props": { - "globalAlpha": {}, - "globalCompositeOperation": {} - } - }, - "CanvasImageSmoothing": { - "props": { - "imageSmoothingEnabled": {}, - "imageSmoothingQuality": {} - } - }, - "CanvasFillStrokeStyles": { - "props": { - "strokeStyle": {}, - "fillStyle": {} - } - }, - "CanvasShadowStyles": { - "props": { - "shadowOffsetX": {}, - "shadowOffsetY": {}, - "shadowBlur": {}, - "shadowColor": {} - } - }, - "CanvasFilters": { - "props": { - "filter": {} - } - }, - "CanvasPathDrawingStyles": { - "props": { - "lineWidth": {}, - "lineCap": {}, - "lineJoin": {}, - "miterLimit": {}, - "lineDashOffset": {} - } - }, - "CanvasTextDrawingStyles": { - "props": { - "font": {}, - "textAlign": {}, - "textBaseline": {}, - "direction": {}, - "letterSpacing": {}, - "fontKerning": {}, - "fontStretch": {}, - "fontVariantCaps": {}, - "textRendering": {}, - "wordSpacing": {} - } - }, - "TextMetrics": { - "props": { - "width": {}, - "actualBoundingBoxLeft": {}, - "actualBoundingBoxRight": {}, - "fontBoundingBoxAscent": {}, - "fontBoundingBoxDescent": {}, - "actualBoundingBoxAscent": {}, - "actualBoundingBoxDescent": {}, - "emHeightAscent": {}, - "emHeightDescent": {}, - "hangingBaseline": {}, - "alphabeticBaseline": {}, - "ideographicBaseline": {} - } - }, - "ImageDataSettings": { - "props": { - "colorSpace": {} - } - }, - "ImageData": { - "props": { - "width": {}, - "height": {}, - "data": {}, - "colorSpace": {} - } - }, - "Path2D": { - "includes": [ - "CanvasPath" - ] - }, - "ImageBitmapRenderingContext": { - "props": { - "canvas": {} - } - }, - "ImageBitmapRenderingContextSettings": { - "props": { - "alpha": {} - } - }, - "ImageEncodeOptions": { - "props": { - "type": {}, - "quality": {} - } - }, - "OffscreenCanvas": { - "inheritance": "EventTarget", - "props": { - "width": {}, - "height": {}, - "oncontextlost": {}, - "oncontextrestored": {} - } - }, - "OffscreenCanvasRenderingContext2D": { - "includes": [ - "CanvasState", - "CanvasTransform", - "CanvasCompositing", - "CanvasImageSmoothing", - "CanvasFillStrokeStyles", - "CanvasShadowStyles", - "CanvasFilters", - "CanvasRect", - "CanvasDrawPath", - "CanvasText", - "CanvasDrawImage", - "CanvasImageData", - "CanvasPathDrawingStyles", - "CanvasTextDrawingStyles", - "CanvasPath" - ], - "props": { - "canvas": {} - } - }, - "ElementDefinitionOptions": { - "props": { - "extends": {} - } - }, - "ElementInternals": { - "includes": [ - "ARIAMixin" - ], - "props": { - "shadowRoot": {}, - "form": {}, - "willValidate": {}, - "validity": {}, - "validationMessage": {}, - "labels": {} - } - }, - "ValidityStateFlags": { - "props": { - "valueMissing": {}, - "typeMismatch": {}, - "patternMismatch": {}, - "tooLong": {}, - "tooShort": {}, - "rangeUnderflow": {}, - "rangeOverflow": {}, - "stepMismatch": {}, - "badInput": {}, - "customError": {} - } - }, - "FocusOptions": { - "props": { - "preventScroll": {} - } - }, - "ElementContentEditable": { - "props": { - "contentEditable": {}, - "enterKeyHint": {}, - "isContentEditable": {}, - "inputMode": {} - } - }, - "DataTransfer": { - "props": { - "dropEffect": {}, - "effectAllowed": {}, - "items": {}, - "types": {}, - "files": {} - } - }, - "DataTransferItemList": { - "props": { - "length": {} - } - }, - "DataTransferItem": { - "props": { - "kind": {}, - "type": {} - } - }, - "DragEvent": { - "inheritance": "MouseEvent", - "props": { - "dataTransfer": {} - } - }, - "DragEventInit": { - "inheritance": "MouseEventInit", - "props": { - "dataTransfer": {} - } - }, - "Window": { - "inheritance": "EventTarget", - "includes": [ - "GlobalEventHandlers", - "WindowEventHandlers", - "WindowOrWorkerGlobalScope", - "AnimationFrameProvider", - "WindowSessionStorage", - "WindowLocalStorage" - ], - "props": { - "window": {}, - "self": {}, - "document": {}, - "name": {}, - "location": {}, - "history": {}, - "customElements": {}, - "locationbar": {}, - "menubar": {}, - "personalbar": {}, - "scrollbars": {}, - "statusbar": {}, - "toolbar": {}, - "status": {}, - "closed": {}, - "frames": {}, - "length": {}, - "top": {}, - "opener": {}, - "parent": {}, - "frameElement": {}, - "navigator": {}, - "clientInformation": {}, - "originAgentCluster": {}, - "external": {}, - "event": { - "specs": 2 - } - } - }, - "WindowPostMessageOptions": { - "inheritance": "StructuredSerializeOptions", - "props": { - "targetOrigin": {} - } - }, - "BarProp": { - "props": { - "visible": {} - } - }, - "History": { - "props": { - "length": {}, - "scrollRestoration": {}, - "state": {} - } - }, - "Location": { - "props": { - "href": {}, - "origin": {}, - "protocol": {}, - "host": {}, - "hostname": {}, - "port": {}, - "pathname": {}, - "search": {}, - "hash": {}, - "ancestorOrigins": {} - } - }, - "PopStateEvent": { - "inheritance": "Event", - "props": { - "state": {} - } - }, - "PopStateEventInit": { - "inheritance": "EventInit", - "props": { - "state": {} - } - }, - "HashChangeEvent": { - "inheritance": "Event", - "props": { - "oldURL": {}, - "newURL": {} - } - }, - "HashChangeEventInit": { - "inheritance": "EventInit", - "props": { - "oldURL": {}, - "newURL": {} - } - }, - "PageTransitionEvent": { - "inheritance": "Event", - "props": { - "persisted": {} - } - }, - "PageTransitionEventInit": { - "inheritance": "EventInit", - "props": { - "persisted": {} - } - }, - "BeforeUnloadEvent": { - "inheritance": "Event", - "props": { - "returnValue": {} - } - }, - "ErrorEvent": { - "inheritance": "Event", - "props": { - "message": {}, - "filename": {}, - "lineno": {}, - "colno": {}, - "error": {} - } - }, - "ErrorEventInit": { - "inheritance": "EventInit", - "props": { - "message": {}, - "filename": {}, - "lineno": {}, - "colno": {}, - "error": {} - } - }, - "PromiseRejectionEvent": { - "inheritance": "Event", - "props": { - "promise": {}, - "reason": {} - } - }, - "PromiseRejectionEventInit": { - "inheritance": "EventInit", - "props": { - "promise": {}, - "reason": {} - } - }, - "GlobalEventHandlers": { - "props": { - "onabort": {}, - "onauxclick": {}, - "onbeforematch": {}, - "onblur": {}, - "oncancel": {}, - "oncanplay": {}, - "oncanplaythrough": {}, - "onchange": {}, - "onclick": {}, - "onclose": {}, - "oncontextlost": {}, - "oncontextmenu": {}, - "oncontextrestored": {}, - "oncuechange": {}, - "ondblclick": {}, - "ondrag": {}, - "ondragend": {}, - "ondragenter": {}, - "ondragleave": {}, - "ondragover": {}, - "ondragstart": {}, - "ondrop": {}, - "ondurationchange": {}, - "onemptied": {}, - "onended": {}, - "onerror": {}, - "onfocus": {}, - "onformdata": {}, - "oninput": {}, - "oninvalid": {}, - "onkeydown": {}, - "onkeypress": {}, - "onkeyup": {}, - "onload": {}, - "onloadeddata": {}, - "onloadedmetadata": {}, - "onloadstart": {}, - "onmousedown": {}, - "onmouseenter": {}, - "onmouseleave": {}, - "onmousemove": {}, - "onmouseout": {}, - "onmouseover": {}, - "onmouseup": {}, - "onpause": {}, - "onplay": {}, - "onplaying": {}, - "onprogress": {}, - "onratechange": {}, - "onreset": {}, - "onresize": {}, - "onscroll": {}, - "onsecuritypolicyviolation": {}, - "onseeked": {}, - "onseeking": {}, - "onselect": {}, - "onslotchange": {}, - "onstalled": {}, - "onsubmit": {}, - "onsuspend": {}, - "ontimeupdate": {}, - "ontoggle": {}, - "onvolumechange": {}, - "onwaiting": {}, - "onwebkitanimationend": {}, - "onwebkitanimationiteration": {}, - "onwebkitanimationstart": {}, - "onwebkittransitionend": {}, - "onwheel": {}, - "ongotpointercapture": { - "specs": 8 - }, - "onlostpointercapture": { - "specs": 8 - }, - "onpointerdown": { - "specs": 8 - }, - "onpointermove": { - "specs": 8 - }, - "onpointerrawupdate": { - "specs": 8 - }, - "onpointerup": { - "specs": 8 - }, - "onpointercancel": { - "specs": 8 - }, - "onpointerover": { - "specs": 8 - }, - "onpointerout": { - "specs": 8 - }, - "onpointerenter": { - "specs": 8 - }, - "onpointerleave": { - "specs": 8 - } - } - }, - "WindowEventHandlers": { - "props": { - "onafterprint": {}, - "onbeforeprint": {}, - "onbeforeunload": {}, - "onhashchange": {}, - "onlanguagechange": {}, - "onmessage": {}, - "onmessageerror": {}, - "onoffline": {}, - "ononline": {}, - "onpagehide": {}, - "onpageshow": {}, - "onpopstate": {}, - "onrejectionhandled": {}, - "onstorage": {}, - "onunhandledrejection": {}, - "onunload": {} - } - }, - "DocumentAndElementEventHandlers": { - "props": { - "oncopy": {}, - "oncut": {}, - "onpaste": {} - } - }, - "WindowOrWorkerGlobalScope": { - "props": { - "origin": {}, - "isSecureContext": {}, - "crossOriginIsolated": {} - } - }, - "WorkerGlobalScope": { - "inheritance": "EventTarget", - "includes": [ - "WindowOrWorkerGlobalScope" - ], - "props": { - "self": {}, - "location": {}, - "navigator": {}, - "onerror": {}, - "onlanguagechange": {}, - "onoffline": {}, - "ononline": {}, - "onrejectionhandled": {}, - "onunhandledrejection": {} - } - }, - "Navigator": { - "includes": [ - "NavigatorID", - "NavigatorLanguage", - "NavigatorOnLine", - "NavigatorContentUtils", - "NavigatorCookies", - "NavigatorPlugins", - "NavigatorConcurrentHardware" - ], - "props": { - "maxTouchPoints": { - "specs": 8 - } - } - }, - "NavigatorID": { - "props": { - "appCodeName": {}, - "appName": {}, - "appVersion": {}, - "platform": {}, - "product": {}, - "productSub": {}, - "userAgent": {}, - "vendor": {}, - "vendorSub": {}, - "oscpu": {} - } - }, - "NavigatorLanguage": { - "props": { - "language": {}, - "languages": {} - } - }, - "NavigatorOnLine": { - "props": { - "onLine": {} - } - }, - "NavigatorCookies": { - "props": { - "cookieEnabled": {} - } - }, - "NavigatorPlugins": { - "props": { - "plugins": {}, - "mimeTypes": {}, - "pdfViewerEnabled": {} - } - }, - "PluginArray": { - "props": { - "length": {} - } - }, - "MimeTypeArray": { - "props": { - "length": {} - } - }, - "Plugin": { - "props": { - "name": {}, - "description": {}, - "filename": {}, - "length": {} - } - }, - "MimeType": { - "props": { - "type": {}, - "description": {}, - "suffixes": {}, - "enabledPlugin": {} - } - }, - "ImageBitmap": { - "props": { - "width": {}, - "height": {} - } - }, - "ImageBitmapOptions": { - "props": { - "imageOrientation": {}, - "premultiplyAlpha": {}, - "colorSpaceConversion": {}, - "resizeWidth": {}, - "resizeHeight": {}, - "resizeQuality": {} - } - }, - "DedicatedWorkerGlobalScope": { - "inheritance": "WorkerGlobalScope", - "includes": [ - "AnimationFrameProvider" - ], - "props": { - "name": {}, - "onmessage": {}, - "onmessageerror": {} - } - }, - "MessageEvent": { - "inheritance": "Event", - "props": { - "data": {}, - "origin": {}, - "lastEventId": {}, - "source": {}, - "ports": {} - } - }, - "MessageEventInit": { - "inheritance": "EventInit", - "props": { - "data": {}, - "origin": {}, - "lastEventId": {}, - "source": {}, - "ports": {} - } - }, - "EventSource": { - "inheritance": "EventTarget", - "props": { - "url": {}, - "withCredentials": {}, - "readyState": {}, - "onopen": {}, - "onmessage": {}, - "onerror": {} - } - }, - "EventSourceInit": { - "props": { - "withCredentials": {} - } - }, - "MessageChannel": { - "props": { - "port1": {}, - "port2": {} - } - }, - "MessagePort": { - "inheritance": "EventTarget", - "props": { - "onmessage": {}, - "onmessageerror": {} - } - }, - "StructuredSerializeOptions": { - "props": { - "transfer": {} - } - }, - "BroadcastChannel": { - "inheritance": "EventTarget", - "props": { - "name": {}, - "onmessage": {}, - "onmessageerror": {} - } - }, - "SharedWorkerGlobalScope": { - "inheritance": "WorkerGlobalScope", - "props": { - "name": {}, - "onconnect": {} - } - }, - "AbstractWorker": { - "props": { - "onerror": {} - } - }, - "Worker": { - "inheritance": "EventTarget", - "includes": [ - "AbstractWorker" - ], - "props": { - "onmessage": {}, - "onmessageerror": {} - } - }, - "WorkerOptions": { - "props": { - "type": {}, - "credentials": {}, - "name": {} - } - }, - "SharedWorker": { - "inheritance": "EventTarget", - "includes": [ - "AbstractWorker" - ], - "props": { - "port": {} - } - }, - "NavigatorConcurrentHardware": { - "props": { - "hardwareConcurrency": {} - } - }, - "WorkerNavigator": { - "includes": [ - "NavigatorID", - "NavigatorLanguage", - "NavigatorOnLine", - "NavigatorConcurrentHardware" - ] - }, - "WorkerLocation": { - "props": { - "href": {}, - "origin": {}, - "protocol": {}, - "host": {}, - "hostname": {}, - "port": {}, - "pathname": {}, - "search": {}, - "hash": {} - } - }, - "WorkletOptions": { - "props": { - "credentials": {} - } - }, - "Storage": { - "props": { - "length": {} - } - }, - "WindowSessionStorage": { - "props": { - "sessionStorage": {} - } - }, - "WindowLocalStorage": { - "props": { - "localStorage": {} - } - }, - "StorageEvent": { - "inheritance": "Event", - "props": { - "key": {}, - "oldValue": {}, - "newValue": {}, - "url": {}, - "storageArea": {} - } - }, - "StorageEventInit": { - "inheritance": "EventInit", - "props": { - "key": {}, - "oldValue": {}, - "newValue": {}, - "url": {}, - "storageArea": {} - } - }, - "HTMLMarqueeElement": { - "inheritance": "HTMLElement", - "props": { - "behavior": {}, - "bgColor": {}, - "direction": {}, - "height": {}, - "hspace": {}, - "loop": {}, - "scrollAmount": {}, - "scrollDelay": {}, - "trueSpeed": {}, - "vspace": {}, - "width": {} - } - }, - "HTMLFrameSetElement": { - "inheritance": "HTMLElement", - "includes": [ - "WindowEventHandlers" - ], - "props": { - "cols": {}, - "rows": {} - } - }, - "HTMLFrameElement": { - "inheritance": "HTMLElement", - "props": { - "name": {}, - "scrolling": {}, - "src": {}, - "frameBorder": {}, - "longDesc": {}, - "noResize": {}, - "contentDocument": {}, - "contentWindow": {}, - "marginHeight": {}, - "marginWidth": {} - } - }, - "HTMLDirectoryElement": { - "inheritance": "HTMLElement", - "props": { - "compact": {} - } - }, - "HTMLFontElement": { - "inheritance": "HTMLElement", - "props": { - "color": {}, - "face": {}, - "size": {} - } - }, - "HTMLParamElement": { - "inheritance": "HTMLElement", - "props": { - "name": {}, - "value": {}, - "type": {}, - "valueType": {} - } - }, - "Event": { - "props": { - "type": { - "specs": 2 - }, - "target": { - "specs": 2 - }, - "srcElement": { - "specs": 2 - }, - "currentTarget": { - "specs": 2 - }, - "eventPhase": { - "specs": 2 - }, - "cancelBubble": { - "specs": 2 - }, - "bubbles": { - "specs": 2 - }, - "cancelable": { - "specs": 2 - }, - "returnValue": { - "specs": 2 - }, - "defaultPrevented": { - "specs": 2 - }, - "composed": { - "specs": 2 - }, - "isTrusted": { - "specs": 2 - }, - "timeStamp": { - "specs": 2 - } - } - }, - "EventInit": { - "props": { - "bubbles": { - "specs": 2 - }, - "cancelable": { - "specs": 2 - }, - "composed": { - "specs": 2 - } - } - }, - "CustomEvent": { - "inheritance": "Event", - "props": { - "detail": { - "specs": 2 - } - } - }, - "CustomEventInit": { - "inheritance": "EventInit", - "props": { - "detail": { - "specs": 2 - } - } - }, - "EventListenerOptions": { - "props": { - "capture": { - "specs": 2 - } - } - }, - "AddEventListenerOptions": { - "inheritance": "EventListenerOptions", - "props": { - "passive": { - "specs": 2 - }, - "once": { - "specs": 2 - }, - "signal": { - "specs": 2 - } - } - }, - "AbortController": { - "props": { - "signal": { - "specs": 2 - } - } - }, - "AbortSignal": { - "inheritance": "EventTarget", - "props": { - "aborted": { - "specs": 2 - }, - "reason": { - "specs": 2 - }, - "onabort": { - "specs": 2 - } - } - }, - "DocumentFragment": { - "inheritance": "Node", - "includes": [ - "NonElementParentNode", - "ParentNode" - ] - }, - "ShadowRoot": { - "inheritance": "DocumentFragment", - "includes": [ - "DocumentOrShadowRoot" - ], - "props": { - "mode": { - "specs": 2 - }, - "delegatesFocus": { - "specs": 2 - }, - "slotAssignment": { - "specs": 2 - }, - "host": { - "specs": 2 - }, - "onslotchange": { - "specs": 2 - } - } - }, - "ParentNode": { - "props": { - "children": { - "specs": 2 - }, - "firstElementChild": { - "specs": 2 - }, - "lastElementChild": { - "specs": 2 - }, - "childElementCount": { - "specs": 2 - } - } - }, - "Element": { - "inheritance": "Node", - "includes": [ - "ParentNode", - "NonDocumentTypeChildNode", - "ChildNode", - "Slottable", - "ARIAMixin" - ], - "props": { - "namespaceURI": { - "specs": 2 - }, - "prefix": { - "specs": 2 - }, - "localName": { - "specs": 2 - }, - "tagName": { - "specs": 2 - }, - "id": { - "specs": 2 - }, - "className": { - "specs": 2 - }, - "classList": { - "specs": 2 - }, - "slot": { - "specs": 2 - }, - "attributes": { - "specs": 2 - }, - "shadowRoot": { - "specs": 2 - } - } - }, - "NonDocumentTypeChildNode": { - "props": { - "previousElementSibling": { - "specs": 2 - }, - "nextElementSibling": { - "specs": 2 - } - } - }, - "CharacterData": { - "inheritance": "Node", - "includes": [ - "NonDocumentTypeChildNode", - "ChildNode" - ], - "props": { - "data": { - "specs": 2 - }, - "length": { - "specs": 2 - } - } - }, - "DocumentType": { - "inheritance": "Node", - "includes": [ - "ChildNode" - ], - "props": { - "name": { - "specs": 2 - }, - "publicId": { - "specs": 2 - }, - "systemId": { - "specs": 2 - } - } - }, - "Slottable": { - "props": { - "assignedSlot": { - "specs": 2 - } - } - }, - "Text": { - "inheritance": "CharacterData", - "includes": [ - "Slottable" - ], - "props": { - "wholeText": { - "specs": 2 - } - } - }, - "NodeList": { - "props": { - "length": { - "specs": 2 - } - } - }, - "HTMLCollection": { - "props": { - "length": { - "specs": 2 - } - } - }, - "MutationObserverInit": { - "props": { - "childList": { - "specs": 2 - }, - "attributes": { - "specs": 2 - }, - "characterData": { - "specs": 2 - }, - "subtree": { - "specs": 2 - }, - "attributeOldValue": { - "specs": 2 - }, - "characterDataOldValue": { - "specs": 2 - }, - "attributeFilter": { - "specs": 2 - } - } - }, - "MutationRecord": { - "props": { - "type": { - "specs": 2 - }, - "target": { - "specs": 2 - }, - "addedNodes": { - "specs": 2 - }, - "removedNodes": { - "specs": 2 - }, - "previousSibling": { - "specs": 2 - }, - "nextSibling": { - "specs": 2 - }, - "attributeName": { - "specs": 2 - }, - "attributeNamespace": { - "specs": 2 - }, - "oldValue": { - "specs": 2 - } - } - }, - "Node": { - "inheritance": "EventTarget", - "props": { - "nodeType": { - "specs": 2 - }, - "nodeName": { - "specs": 2 - }, - "baseURI": { - "specs": 2 - }, - "isConnected": { - "specs": 2 - }, - "ownerDocument": { - "specs": 2 - }, - "parentNode": { - "specs": 2 - }, - "parentElement": { - "specs": 2 - }, - "childNodes": { - "specs": 2 - }, - "firstChild": { - "specs": 2 - }, - "lastChild": { - "specs": 2 - }, - "previousSibling": { - "specs": 2 - }, - "nextSibling": { - "specs": 2 - }, - "nodeValue": { - "specs": 2 - }, - "textContent": { - "specs": 2 - } - } - }, - "GetRootNodeOptions": { - "props": { - "composed": { - "specs": 2 - } - } - }, - "XMLDocument": { - "inheritance": "Document" - }, - "ElementCreationOptions": { - "props": { - "is": { - "specs": 2, - "global": true - } - } - }, - "ShadowRootInit": { - "props": { - "mode": { - "specs": 2 - }, - "delegatesFocus": { - "specs": 2 - }, - "slotAssignment": { - "specs": 2 - } - } - }, - "NamedNodeMap": { - "props": { - "length": { - "specs": 2 - } - } - }, - "Attr": { - "inheritance": "Node", - "props": { - "namespaceURI": { - "specs": 2 - }, - "prefix": { - "specs": 2 - }, - "localName": { - "specs": 2 - }, - "name": { - "specs": 2 - }, - "value": { - "specs": 2 - }, - "ownerElement": { - "specs": 2 - }, - "specified": { - "specs": 2 - } - } - }, - "CDATASection": { - "inheritance": "Text" - }, - "ProcessingInstruction": { - "inheritance": "CharacterData", - "includes": [ - "LinkStyle" - ], - "props": { - "target": { - "specs": 2 - } - } - }, - "Comment": { - "inheritance": "CharacterData" - }, - "AbstractRange": { - "props": { - "startContainer": { - "specs": 2 - }, - "startOffset": { - "specs": 2 - }, - "endContainer": { - "specs": 2 - }, - "endOffset": { - "specs": 2 - }, - "collapsed": { - "specs": 2 - } - } - }, - "StaticRangeInit": { - "props": { - "startContainer": { - "specs": 2 - }, - "startOffset": { - "specs": 2 - }, - "endContainer": { - "specs": 2 - }, - "endOffset": { - "specs": 2 - } - } - }, - "StaticRange": { - "inheritance": "AbstractRange" - }, - "Range": { - "inheritance": "AbstractRange", - "props": { - "commonAncestorContainer": { - "specs": 2 - } - } - }, - "NodeIterator": { - "props": { - "root": { - "specs": 2 - }, - "referenceNode": { - "specs": 2 - }, - "pointerBeforeReferenceNode": { - "specs": 2 - }, - "whatToShow": { - "specs": 2 - }, - "filter": { - "specs": 2 - } - } - }, - "TreeWalker": { - "props": { - "root": { - "specs": 2 - }, - "whatToShow": { - "specs": 2 - }, - "filter": { - "specs": 2 - }, - "currentNode": { - "specs": 2 - } - } - }, - "DOMTokenList": { - "props": { - "length": { - "specs": 2 - }, - "value": { - "specs": 2 - } - } - }, - "XPathResult": { - "props": { - "resultType": { - "specs": 2 - }, - "numberValue": { - "specs": 2 - }, - "stringValue": { - "specs": 2 - }, - "booleanValue": { - "specs": 2 - }, - "singleNodeValue": { - "specs": 2 - }, - "invalidIteratorState": { - "specs": 2 - }, - "snapshotLength": { - "specs": 2 - } - } - }, - "XPathEvaluator": { - "includes": [ - "XPathEvaluatorBase" - ] - }, - "UIEvent": { - "inheritance": "Event", - "props": { - "view": { - "specs": 4 - }, - "detail": { - "specs": 4 - }, - "which": { - "specs": 4 - } - } - }, - "UIEventInit": { - "inheritance": "EventInit", - "props": { - "view": { - "specs": 4 - }, - "detail": { - "specs": 4 - }, - "which": { - "specs": 4 - } - } - }, - "FocusEvent": { - "inheritance": "UIEvent", - "props": { - "relatedTarget": { - "specs": 4 - } - } - }, - "FocusEventInit": { - "inheritance": "UIEventInit", - "props": { - "relatedTarget": { - "specs": 4 - } - } - }, - "MouseEvent": { - "inheritance": "UIEvent", - "props": { - "screenX": { - "specs": 4 - }, - "screenY": { - "specs": 4 - }, - "clientX": { - "specs": 4 - }, - "clientY": { - "specs": 4 - }, - "ctrlKey": { - "specs": 4 - }, - "shiftKey": { - "specs": 4 - }, - "altKey": { - "specs": 4 - }, - "metaKey": { - "specs": 4 - }, - "button": { - "specs": 4 - }, - "buttons": { - "specs": 4 - }, - "relatedTarget": { - "specs": 4 - } - } - }, - "MouseEventInit": { - "inheritance": "EventModifierInit", - "props": { - "screenX": { - "specs": 4 - }, - "screenY": { - "specs": 4 - }, - "clientX": { - "specs": 4 - }, - "clientY": { - "specs": 4 - }, - "button": { - "specs": 4 - }, - "buttons": { - "specs": 4 - }, - "relatedTarget": { - "specs": 4 - } - } - }, - "EventModifierInit": { - "inheritance": "UIEventInit", - "props": { - "ctrlKey": { - "specs": 4 - }, - "shiftKey": { - "specs": 4 - }, - "altKey": { - "specs": 4 - }, - "metaKey": { - "specs": 4 - }, - "modifierAltGraph": { - "specs": 4 - }, - "modifierCapsLock": { - "specs": 4 - }, - "modifierFn": { - "specs": 4 - }, - "modifierFnLock": { - "specs": 4 - }, - "modifierHyper": { - "specs": 4 - }, - "modifierNumLock": { - "specs": 4 - }, - "modifierScrollLock": { - "specs": 4 - }, - "modifierSuper": { - "specs": 4 - }, - "modifierSymbol": { - "specs": 4 - }, - "modifierSymbolLock": { - "specs": 4 - } - } - }, - "WheelEvent": { - "inheritance": "MouseEvent", - "props": { - "deltaX": { - "specs": 4 - }, - "deltaY": { - "specs": 4 - }, - "deltaZ": { - "specs": 4 - }, - "deltaMode": { - "specs": 4 - } - } - }, - "WheelEventInit": { - "inheritance": "MouseEventInit", - "props": { - "deltaX": { - "specs": 4 - }, - "deltaY": { - "specs": 4 - }, - "deltaZ": { - "specs": 4 - }, - "deltaMode": { - "specs": 4 - } - } - }, - "InputEvent": { - "inheritance": "UIEvent", - "props": { - "data": { - "specs": 4 - }, - "isComposing": { - "specs": 4 - }, - "inputType": { - "specs": 4 - } - } - }, - "InputEventInit": { - "inheritance": "UIEventInit", - "props": { - "data": { - "specs": 4 - }, - "isComposing": { - "specs": 4 - }, - "inputType": { - "specs": 4 - } - } - }, - "KeyboardEvent": { - "inheritance": "UIEvent", - "props": { - "key": { - "specs": 4 - }, - "code": { - "specs": 4 - }, - "location": { - "specs": 4 - }, - "ctrlKey": { - "specs": 4 - }, - "shiftKey": { - "specs": 4 - }, - "altKey": { - "specs": 4 - }, - "metaKey": { - "specs": 4 - }, - "repeat": { - "specs": 4 - }, - "isComposing": { - "specs": 4 - }, - "charCode": { - "specs": 4 - }, - "keyCode": { - "specs": 4 - } - } - }, - "KeyboardEventInit": { - "inheritance": "EventModifierInit", - "props": { - "key": { - "specs": 4 - }, - "code": { - "specs": 4 - }, - "location": { - "specs": 4 - }, - "repeat": { - "specs": 4 - }, - "isComposing": { - "specs": 4 - }, - "charCode": { - "specs": 4 - }, - "keyCode": { - "specs": 4 - } - } - }, - "CompositionEvent": { - "inheritance": "UIEvent", - "props": { - "data": { - "specs": 4 - } - } - }, - "CompositionEventInit": { - "inheritance": "UIEventInit", - "props": { - "data": { - "specs": 4 - } - } - }, - "MutationEvent": { - "inheritance": "Event", - "props": { - "relatedNode": { - "specs": 4 - }, - "prevValue": { - "specs": 4 - }, - "newValue": { - "specs": 4 - }, - "attrName": { - "specs": 4 - }, - "attrChange": { - "specs": 4 - } - } - }, - "PointerEventInit": { - "inheritance": "MouseEventInit", - "props": { - "pointerId": { - "specs": 8 - }, - "width": { - "specs": 8 - }, - "height": { - "specs": 8 - }, - "pressure": { - "specs": 8 - }, - "tangentialPressure": { - "specs": 8 - }, - "tiltX": { - "specs": 8 - }, - "tiltY": { - "specs": 8 - }, - "twist": { - "specs": 8 - }, - "altitudeAngle": { - "specs": 8 - }, - "azimuthAngle": { - "specs": 8 - }, - "pointerType": { - "specs": 8 - }, - "isPrimary": { - "specs": 8 - }, - "coalescedEvents": { - "specs": 8 - }, - "predictedEvents": { - "specs": 8 - } - } - }, - "PointerEvent": { - "inheritance": "MouseEvent", - "props": { - "pointerId": { - "specs": 8 - }, - "width": { - "specs": 8 - }, - "height": { - "specs": 8 - }, - "pressure": { - "specs": 8 - }, - "tangentialPressure": { - "specs": 8 - }, - "tiltX": { - "specs": 8 - }, - "tiltY": { - "specs": 8 - }, - "twist": { - "specs": 8 - }, - "altitudeAngle": { - "specs": 8 - }, - "azimuthAngle": { - "specs": 8 - }, - "pointerType": { - "specs": 8 - }, - "isPrimary": { - "specs": 8 - } - } - }, - "MediaList": { - "props": { - "mediaText": { - "specs": 16 - }, - "length": { - "specs": 16 - } - } - }, - "StyleSheet": { - "props": { - "type": { - "specs": 16 - }, - "href": { - "specs": 16 - }, - "ownerNode": { - "specs": 16 - }, - "parentStyleSheet": { - "specs": 16 - }, - "title": { - "specs": 16, - "global": true - }, - "media": { - "specs": 16 - }, - "disabled": { - "specs": 16 - } - } - }, - "CSSStyleSheet": { - "inheritance": "StyleSheet", - "props": { - "ownerRule": { - "specs": 16 - }, - "cssRules": { - "specs": 16 - }, - "rules": { - "specs": 16 - } - } - }, - "CSSStyleSheetInit": { - "props": { - "baseURL": { - "specs": 16 - }, - "media": { - "specs": 16 - }, - "disabled": { - "specs": 16 - } - } - }, - "StyleSheetList": { - "props": { - "length": { - "specs": 16 - } - } - }, - "LinkStyle": { - "props": { - "sheet": { - "specs": 16 - } - } - }, - "CSSRuleList": { - "props": { - "length": { - "specs": 16 - } - } - }, - "CSSRule": { - "props": { - "cssText": { - "specs": 16 - }, - "parentRule": { - "specs": 16 - }, - "parentStyleSheet": { - "specs": 16 - }, - "type": { - "specs": 16 - } - } - }, - "CSSStyleRule": { - "inheritance": "CSSRule", - "props": { - "selectorText": { - "specs": 16 - }, - "style": { - "specs": 16, - "global": true - } - } - }, - "CSSImportRule": { - "inheritance": "CSSRule", - "props": { - "href": { - "specs": 16 - }, - "media": { - "specs": 16 - }, - "styleSheet": { - "specs": 16 - } - } - }, - "CSSGroupingRule": { - "inheritance": "CSSRule", - "props": { - "cssRules": { - "specs": 16 - } - } - }, - "CSSPageRule": { - "inheritance": "CSSGroupingRule", - "props": { - "selectorText": { - "specs": 16 - }, - "style": { - "specs": 16, - "global": true - } - } - }, - "CSSMarginRule": { - "inheritance": "CSSRule", - "props": { - "name": { - "specs": 16 - }, - "style": { - "specs": 16, - "global": true - } - } - }, - "CSSNamespaceRule": { - "inheritance": "CSSRule", - "props": { - "namespaceURI": { - "specs": 16 - }, - "prefix": { - "specs": 16 - } - } - }, - "CSSStyleDeclaration": { - "props": { - "cssText": { - "specs": 16 - }, - "length": { - "specs": 16 - }, - "parentRule": { - "specs": 16 - }, - "cssFloat": { - "specs": 16 - } - } - }, - "ElementCSSInlineStyle": { - "props": { - "style": { - "specs": 16, - "global": true - } - } - }, - "SVGElement": { - "includes": [ - "ElementCSSInlineStyle" - ] - }, - "MathMLElement": { - "includes": [ - "ElementCSSInlineStyle" - ] - }, - "ARIAMixin": { - "props": { - "role": { - "specs": 32 - }, - "ariaAtomic": { - "specs": 32 - }, - "ariaAutoComplete": { - "specs": 32 - }, - "ariaBusy": { - "specs": 32 - }, - "ariaChecked": { - "specs": 32 - }, - "ariaColCount": { - "specs": 32 - }, - "ariaColIndex": { - "specs": 32 - }, - "ariaColIndexText": { - "specs": 32 - }, - "ariaColSpan": { - "specs": 32 - }, - "ariaCurrent": { - "specs": 32 - }, - "ariaDescription": { - "specs": 32 - }, - "ariaDisabled": { - "specs": 32 - }, - "ariaExpanded": { - "specs": 32 - }, - "ariaHasPopup": { - "specs": 32 - }, - "ariaHidden": { - "specs": 32 - }, - "ariaInvalid": { - "specs": 32 - }, - "ariaKeyShortcuts": { - "specs": 32 - }, - "ariaLabel": { - "specs": 32 - }, - "ariaLevel": { - "specs": 32 - }, - "ariaLive": { - "specs": 32 - }, - "ariaModal": { - "specs": 32 - }, - "ariaMultiLine": { - "specs": 32 - }, - "ariaMultiSelectable": { - "specs": 32 - }, - "ariaOrientation": { - "specs": 32 - }, - "ariaPlaceholder": { - "specs": 32 - }, - "ariaPosInSet": { - "specs": 32 - }, - "ariaPressed": { - "specs": 32 - }, - "ariaReadOnly": { - "specs": 32 - }, - "ariaRequired": { - "specs": 32 - }, - "ariaRoleDescription": { - "specs": 32 - }, - "ariaRowCount": { - "specs": 32 - }, - "ariaRowIndex": { - "specs": 32 - }, - "ariaRowIndexText": { - "specs": 32 - }, - "ariaRowSpan": { - "specs": 32 - }, - "ariaSelected": { - "specs": 32 - }, - "ariaSetSize": { - "specs": 32 - }, - "ariaSort": { - "specs": 32 - }, - "ariaValueMax": { - "specs": 32 - }, - "ariaValueMin": { - "specs": 32 - }, - "ariaValueNow": { - "specs": 32 - }, - "ariaValueText": { - "specs": 32 - } - } - } -}; diff --git a/front_end/models/javascript_metadata/JavaScriptMetadata.ts b/front_end/models/javascript_metadata/JavaScriptMetadata.ts index 9e4ef5c0ef..deca542c5e 100644 --- a/front_end/models/javascript_metadata/JavaScriptMetadata.ts +++ b/front_end/models/javascript_metadata/JavaScriptMetadata.ts @@ -5,13 +5,10 @@ import type * as Common from '../../core/common/common.js'; import {NativeFunctions} from './NativeFunctions.js'; -import * as DOMPinnedProperties from './DOMPinnedProperties.js'; let javaScriptMetadataInstance: JavaScriptMetadataImpl; export class JavaScriptMetadataImpl implements Common.JavaScriptMetaData.JavaScriptMetaData { - static readonly domPinnedProperties = DOMPinnedProperties; - private readonly uniqueFunctions: Map; private readonly receiverMethods: Map>; static instance(opts: { diff --git a/front_end/models/javascript_metadata/javascript_metadata.ts b/front_end/models/javascript_metadata/javascript_metadata.ts index f0e09d0476..a13c9f9980 100644 --- a/front_end/models/javascript_metadata/javascript_metadata.ts +++ b/front_end/models/javascript_metadata/javascript_metadata.ts @@ -3,15 +3,12 @@ // found in the LICENSE file. import './NativeFunctions.js'; -import './DOMPinnedProperties.js'; import './JavaScriptMetadata.js'; -import * as DOMPinnedProperties from './DOMPinnedProperties.js'; import * as JavaScriptMetadata from './JavaScriptMetadata.js'; import * as NativeFunctions from './NativeFunctions.js'; export { - DOMPinnedProperties, JavaScriptMetadata, NativeFunctions, }; diff --git a/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.test.ts b/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.test.ts index 93302139d2..8b4fdb492a 100644 --- a/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.test.ts +++ b/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.test.ts @@ -70,106 +70,6 @@ describe('ObjectPropertiesSection', () => { assert.strictEqual(VALUE, propertiesSection.valueElement.innerHTML); }); - - describe('assignWebIDLMetadata', () => { - async function checkImportProperties(code: string, important: string[], notImportant: string[] = []) { - const {object, properties} = await evaluateAndGetProperties(code); - ObjectUI.ObjectPropertiesSection.ObjectPropertiesSection.assignWebIDLMetadata(object, properties); - const expected = new Set(important); - const notExpected = new Set(notImportant); - for (const property of properties) { - if (property.webIdl?.applicable) { - expected.delete(property.name); - notExpected.delete(property.name); - } - } - - assert.strictEqual( - expected.size, 0, `Not all expected properties were found (${[...expected].join(', ')} is missing)`); - assert.strictEqual(notExpected.size, notImportant.length, 'Unexpected properties were found'); - } - - it('marks important DOM properties for checkbox inputs', async () => { - await checkImportProperties( - `(() => { - const input = document.createElement('input'); - input.type = 'checkbox'; - return input; - })()`, - [ - 'checked', - 'required', - 'type', - 'value', - ], - [ - 'accept', - 'files', - 'multiple', - ], - ); - }); - - it('marks important DOM properties for file inputs', async () => { - await checkImportProperties( - `(() => { - const input = document.createElement('input'); - input.type = 'file'; - return input; - })()`, - [ - 'accept', - 'files', - 'multiple', - 'required', - 'type', - ], - [ - 'checked', - ], - ); - }); - - it('marks important DOM properties for anchors', async () => { - await checkImportProperties( - `(() => { - const a = document.createElement('a'); - a.href = 'https://www.google.com:1234/foo/bar/baz?hello=world#what'; - const code = document.createElement('code'); - code.innerHTML = 'hello world'; - a.append(code); - return a; - })()`, - [ - // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-a-element - 'text', - // https://html.spec.whatwg.org/multipage/links.html#htmlhyperlinkelementutils - 'href', - 'origin', - 'protocol', - 'hostname', - 'port', - 'pathname', - 'search', - 'hash', - ], - ); - }); - - it('marks important DOM properties for the window object', async () => { - await checkImportProperties( - 'window', - [ - 'customElements', - 'document', - 'frames', - 'history', - 'location', - 'navigator', - ], - ); - }); - }); }); describeWithEnvironment('ObjectPropertiesSection', () => { diff --git a/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts b/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts index 83bbe6d486..acddd552fa 100644 --- a/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +++ b/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts @@ -32,9 +32,7 @@ import * as Common from '../../../../core/common/common.js'; import * as Host from '../../../../core/host/host.js'; import * as i18n from '../../../../core/i18n/i18n.js'; import * as Platform from '../../../../core/platform/platform.js'; -import * as Root from '../../../../core/root/root.js'; import * as SDK from '../../../../core/sdk/sdk.js'; -import * as JavaScriptMetaData from '../../../../models/javascript_metadata/javascript_metadata.js'; import * as TextUtils from '../../../../models/text_utils/text_utils.js'; import * as IconButton from '../../../components/icon_button/icon_button.js'; import * as TextEditor from '../../../components/text_editor/text_editor.js'; @@ -138,8 +136,6 @@ const EXPANDABLE_MAX_DEPTH = 100; const parentMap = new WeakMap(); const objectPropertiesSectionMap = new WeakMap(); -const domPinnedProperties = - JavaScriptMetaData.JavaScriptMetadata.JavaScriptMetadataImpl.domPinnedProperties.DOMPinnedProperties; export const getObjectPropertiesSectionFrom = (element: Element): ObjectPropertiesSection|undefined => { return objectPropertiesSectionMap.get(element); @@ -215,55 +211,6 @@ export class ObjectPropertiesSection extends UI.TreeOutline.TreeOutlineInShadow return objectPropertiesSection; } - static assignWebIDLMetadata( - value: SDK.RemoteObject.RemoteObject|null, properties: SDK.RemoteObject.RemoteObjectProperty[]): void { - if (!value) { - return; - } - - const isInstance = value.type === 'object' && value.className !== null; - const webIdlType = isInstance ? domPinnedProperties[value.className] : undefined; - if (webIdlType) { - value.webIdl = {info: webIdlType, state: new Map()}; - } else { - return; - } - - const includedWebIdlTypes = webIdlType.includes?.map(className => domPinnedProperties[className]) ?? []; - const includedWebIdlProps = includedWebIdlTypes.flatMap(webIdlType => Object.entries(webIdlType?.props ?? {})); - const webIdlProps = {...webIdlType.props, ...Object.fromEntries(includedWebIdlProps)}; - - for (const property of properties) { - const webIdlProperty = webIdlProps[property.name]; - if (webIdlProperty) { - property.webIdl = {info: webIdlProperty}; - } - } - - const names = ObjectPropertiesSection.getPropertyValuesByNames(properties); - const parentRules = value.webIdl.info.rules; - if (parentRules) { - for (const {when: name, is: expected} of parentRules) { - if (names.get(name)?.value === expected) { - value.webIdl.state.set(name, expected); - } - } - } - - for (const property of properties) { - if (property.webIdl) { - const parentState = value.webIdl.state; - const propertyRules = property.webIdl.info.rules; - if (!parentRules && !propertyRules) { - property.webIdl.applicable = true; - } else { - property.webIdl.applicable = - !propertyRules || propertyRules?.some(rule => parentState.get(rule.when) === rule.is); - } - } - } - } - static getPropertyValuesByNames(properties: SDK.RemoteObject.RemoteObjectProperty[]): Map { const map = new Map(); @@ -824,8 +771,6 @@ export class ObjectPropertyTreeElement extends UI.TreeOutline.TreeElement { internalProperties: SDK.RemoteObject.RemoteObjectProperty[]|null, skipProto: boolean, skipGettersAndSetters: boolean, value: SDK.RemoteObject.RemoteObject|null, linkifier?: Components.Linkifier.Linkifier, emptyPlaceholder?: string|null): void { - ObjectPropertiesSection.assignWebIDLMetadata(value, properties); - properties.sort(ObjectPropertiesSection.compareProperties); internalProperties = internalProperties || []; @@ -1138,24 +1083,9 @@ export class ObjectPropertyTreeElement extends UI.TreeOutline.TreeElement { this.expandedValueElement = this.createExpandedValueElement(this.property.value, this.property.synthetic); } - const experiment = Root.Runtime.experiments.isEnabled(Root.Runtime.ExperimentName.IMPORTANT_DOM_PROPERTIES); - - let adorner: Element|string = ''; + const adorner: Element|string = ''; let container: Element; - if (this.property.webIdl?.applicable && experiment) { - const icon = new IconButton.Icon.Icon(); - icon.data = { - iconName: 'star', - color: 'var(--icon-default)', - width: '16px', - height: '16px', - }; - adorner = UI.Fragment.html` - ${icon} - `; - } - if (isInternalEntries) { container = UI.Fragment.html` ${adorner}${this.nameElement} @@ -1170,10 +1100,6 @@ export class ObjectPropertyTreeElement extends UI.TreeOutline.TreeElement { this.listItemElement.removeChildren(); this.rowContainer = (container as HTMLElement); this.listItemElement.appendChild(this.rowContainer); - - if (experiment) { - this.listItemElement.dataset.webidl = this.property.webIdl?.applicable ? 'true' : 'false'; - } } private updatePropertyPath(): void { diff --git a/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css b/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css index ad7e01def5..b24d3f5961 100644 --- a/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css +++ b/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css @@ -60,17 +60,6 @@ overflow: hidden; } -.object-properties-section [data-webidl="true"] > .name-and-value > .adorner { - flex-shrink: 0; - width: 16px; - height: 16px; - margin-right: 2px; -} - -.object-properties-section [data-webidl="true"] > .name-and-value > .name { - font-weight: bold; -} - .name-and-value { overflow: hidden; line-height: 16px; diff --git a/front_end/ui/visual_logging/KnownContextValues.ts b/front_end/ui/visual_logging/KnownContextValues.ts index f54834b91e..7d0037be75 100644 --- a/front_end/ui/visual_logging/KnownContextValues.ts +++ b/front_end/ui/visual_logging/KnownContextValues.ts @@ -1506,7 +1506,6 @@ export const knownContextValues = new Set([ 'import-har', 'import-recording', 'important', - 'important-dom-properties', 'in-range', 'indeterminate', 'indexed-db', diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 1563144530..cb11277bcb 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1320,15 +1320,6 @@ "node": ">=10.0.0" } }, - "node_modules/@webref/idl": { - "version": "3.12.0", - "resolved": "https://npm.skia.org/chrome-devtools/@webref/idl/-/idl-3.12.0.tgz", - "integrity": "sha512-h+WMdL88mN2H2YY8F1er81JDTyODwbUHNFk2SbVyu6uTg0yB/i0z/CA+Z4ju4XgdIO2isqr+9hmKS4VLaIcWdg==", - "dev": true, - "peerDependencies": { - "webidl2": "^24.2.2" - } - }, "node_modules/abbrev": { "version": "1.0.9", "resolved": "https://npm.skia.org/chrome-devtools/abbrev/-/abbrev-1.0.9.tgz", @@ -1561,10 +1552,11 @@ } }, "node_modules/ast-types/node_modules/tslib": { - "version": "2.6.3", - "resolved": "https://npm.skia.org/chrome-devtools/tslib/-/tslib-2.6.3.tgz", - "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==", - "dev": true + "version": "2.7.0", + "resolved": "https://npm.skia.org/chrome-devtools/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", + "dev": true, + "license": "0BSD" }, "node_modules/astral-regex": { "version": "2.0.0", @@ -2625,9 +2617,9 @@ } }, "node_modules/degenerator/node_modules/tslib": { - "version": "2.6.3", - "resolved": "https://npm.skia.org/chrome-devtools/tslib/-/tslib-2.6.3.tgz", - "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==", + "version": "2.7.0", + "resolved": "https://npm.skia.org/chrome-devtools/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", "dev": true, "license": "0BSD" }, @@ -7219,10 +7211,11 @@ } }, "node_modules/recast/node_modules/tslib": { - "version": "2.6.3", - "resolved": "https://npm.skia.org/chrome-devtools/tslib/-/tslib-2.6.3.tgz", - "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==", - "dev": true + "version": "2.7.0", + "resolved": "https://npm.skia.org/chrome-devtools/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", + "dev": true, + "license": "0BSD" }, "node_modules/redent": { "version": "3.0.0", diff --git a/node_modules/@webref/idl/ANGLE_instanced_arrays.idl b/node_modules/@webref/idl/ANGLE_instanced_arrays.idl deleted file mode 100644 index c7d1959502..0000000000 --- a/node_modules/@webref/idl/ANGLE_instanced_arrays.idl +++ /dev/null @@ -1,12 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL ANGLE_instanced_arrays Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/ANGLE_instanced_arrays/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface ANGLE_instanced_arrays { - const GLenum VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; - undefined drawArraysInstancedANGLE(GLenum mode, GLint first, GLsizei count, GLsizei primcount); - undefined drawElementsInstancedANGLE(GLenum mode, GLsizei count, GLenum type, GLintptr offset, GLsizei primcount); - undefined vertexAttribDivisorANGLE(GLuint index, GLuint divisor); -}; diff --git a/node_modules/@webref/idl/CSP.idl b/node_modules/@webref/idl/CSP.idl deleted file mode 100644 index 1e69b3cb53..0000000000 --- a/node_modules/@webref/idl/CSP.idl +++ /dev/null @@ -1,55 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Content Security Policy Level 3 (https://w3c.github.io/webappsec-csp/) - -[Exposed=Window] -interface CSPViolationReportBody : ReportBody { - readonly attribute USVString documentURL; - readonly attribute USVString? referrer; - readonly attribute USVString? blockedURL; - readonly attribute DOMString effectiveDirective; - readonly attribute DOMString originalPolicy; - readonly attribute USVString? sourceFile; - readonly attribute DOMString? sample; - readonly attribute SecurityPolicyViolationEventDisposition disposition; - readonly attribute unsigned short statusCode; - readonly attribute unsigned long? lineNumber; - readonly attribute unsigned long? columnNumber; -}; - -enum SecurityPolicyViolationEventDisposition { - "enforce", "report" -}; - -[Exposed=(Window,Worker)] -interface SecurityPolicyViolationEvent : Event { - constructor(DOMString type, optional SecurityPolicyViolationEventInit eventInitDict = {}); - readonly attribute USVString documentURI; - readonly attribute USVString referrer; - readonly attribute USVString blockedURI; - readonly attribute DOMString effectiveDirective; - readonly attribute DOMString violatedDirective; // historical alias of effectiveDirective - readonly attribute DOMString originalPolicy; - readonly attribute USVString sourceFile; - readonly attribute DOMString sample; - readonly attribute SecurityPolicyViolationEventDisposition disposition; - readonly attribute unsigned short statusCode; - readonly attribute unsigned long lineNumber; - readonly attribute unsigned long columnNumber; -}; - -dictionary SecurityPolicyViolationEventInit : EventInit { - required USVString documentURI; - USVString referrer = ""; - USVString blockedURI = ""; - required DOMString violatedDirective; - required DOMString effectiveDirective; - required DOMString originalPolicy; - USVString sourceFile = ""; - DOMString sample = ""; - required SecurityPolicyViolationEventDisposition disposition; - required unsigned short statusCode; - unsigned long lineNumber = 0; - unsigned long columnNumber = 0; -}; diff --git a/node_modules/@webref/idl/DOM-Parsing.idl b/node_modules/@webref/idl/DOM-Parsing.idl deleted file mode 100644 index d0d84ab697..0000000000 --- a/node_modules/@webref/idl/DOM-Parsing.idl +++ /dev/null @@ -1,26 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: DOM Parsing and Serialization (https://w3c.github.io/DOM-Parsing/) - -[Exposed=Window] -interface XMLSerializer { - constructor(); - DOMString serializeToString(Node root); -}; - -interface mixin InnerHTML { - [CEReactions] attribute [LegacyNullToEmptyString] DOMString innerHTML; -}; - -Element includes InnerHTML; -ShadowRoot includes InnerHTML; - -partial interface Element { - [CEReactions] attribute [LegacyNullToEmptyString] DOMString outerHTML; - [CEReactions] undefined insertAdjacentHTML(DOMString position, DOMString text); -}; - -partial interface Range { - [CEReactions, NewObject] DocumentFragment createContextualFragment(DOMString fragment); -}; diff --git a/node_modules/@webref/idl/EXT_blend_minmax.idl b/node_modules/@webref/idl/EXT_blend_minmax.idl deleted file mode 100644 index 9ce9e3aeeb..0000000000 --- a/node_modules/@webref/idl/EXT_blend_minmax.idl +++ /dev/null @@ -1,10 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL EXT_blend_minmax Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_blend_minmax/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_blend_minmax { - const GLenum MIN_EXT = 0x8007; - const GLenum MAX_EXT = 0x8008; -}; diff --git a/node_modules/@webref/idl/EXT_clip_cull_distance.idl b/node_modules/@webref/idl/EXT_clip_cull_distance.idl deleted file mode 100644 index 61bbfab27e..0000000000 --- a/node_modules/@webref/idl/EXT_clip_cull_distance.idl +++ /dev/null @@ -1,20 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL EXT_clip_cull_distance Extension Draft Specification (https://www.khronos.org/registry/webgl/extensions/EXT_clip_cull_distance/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_clip_cull_distance { - const GLenum MAX_CLIP_DISTANCES_EXT = 0x0D32; - const GLenum MAX_CULL_DISTANCES_EXT = 0x82F9; - const GLenum MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT = 0x82FA; - - const GLenum CLIP_DISTANCE0_EXT = 0x3000; - const GLenum CLIP_DISTANCE1_EXT = 0x3001; - const GLenum CLIP_DISTANCE2_EXT = 0x3002; - const GLenum CLIP_DISTANCE3_EXT = 0x3003; - const GLenum CLIP_DISTANCE4_EXT = 0x3004; - const GLenum CLIP_DISTANCE5_EXT = 0x3005; - const GLenum CLIP_DISTANCE6_EXT = 0x3006; - const GLenum CLIP_DISTANCE7_EXT = 0x3007; -}; diff --git a/node_modules/@webref/idl/EXT_color_buffer_float.idl b/node_modules/@webref/idl/EXT_color_buffer_float.idl deleted file mode 100644 index 6d99af6282..0000000000 --- a/node_modules/@webref/idl/EXT_color_buffer_float.idl +++ /dev/null @@ -1,8 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL EXT_color_buffer_float Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_color_buffer_float/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_color_buffer_float { -}; // interface EXT_color_buffer_float diff --git a/node_modules/@webref/idl/EXT_color_buffer_half_float.idl b/node_modules/@webref/idl/EXT_color_buffer_half_float.idl deleted file mode 100644 index f16a0514d9..0000000000 --- a/node_modules/@webref/idl/EXT_color_buffer_half_float.idl +++ /dev/null @@ -1,12 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL EXT_color_buffer_half_float Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_color_buffer_half_float/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_color_buffer_half_float { - const GLenum RGBA16F_EXT = 0x881A; - const GLenum RGB16F_EXT = 0x881B; - const GLenum FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT = 0x8211; - const GLenum UNSIGNED_NORMALIZED_EXT = 0x8C17; -}; // interface EXT_color_buffer_half_float diff --git a/node_modules/@webref/idl/EXT_disjoint_timer_query.idl b/node_modules/@webref/idl/EXT_disjoint_timer_query.idl deleted file mode 100644 index e42e591f7e..0000000000 --- a/node_modules/@webref/idl/EXT_disjoint_timer_query.idl +++ /dev/null @@ -1,30 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL EXT_disjoint_timer_query Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_disjoint_timer_query/) - -typedef unsigned long long GLuint64EXT; - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WebGLTimerQueryEXT : WebGLObject { -}; - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_disjoint_timer_query { - const GLenum QUERY_COUNTER_BITS_EXT = 0x8864; - const GLenum CURRENT_QUERY_EXT = 0x8865; - const GLenum QUERY_RESULT_EXT = 0x8866; - const GLenum QUERY_RESULT_AVAILABLE_EXT = 0x8867; - const GLenum TIME_ELAPSED_EXT = 0x88BF; - const GLenum TIMESTAMP_EXT = 0x8E28; - const GLenum GPU_DISJOINT_EXT = 0x8FBB; - - WebGLTimerQueryEXT? createQueryEXT(); - undefined deleteQueryEXT(WebGLTimerQueryEXT? query); - [WebGLHandlesContextLoss] boolean isQueryEXT(WebGLTimerQueryEXT? query); - undefined beginQueryEXT(GLenum target, WebGLTimerQueryEXT query); - undefined endQueryEXT(GLenum target); - undefined queryCounterEXT(WebGLTimerQueryEXT query, GLenum target); - any getQueryEXT(GLenum target, GLenum pname); - any getQueryObjectEXT(WebGLTimerQueryEXT query, GLenum pname); -}; diff --git a/node_modules/@webref/idl/EXT_disjoint_timer_query_webgl2.idl b/node_modules/@webref/idl/EXT_disjoint_timer_query_webgl2.idl deleted file mode 100644 index 336c42b82b..0000000000 --- a/node_modules/@webref/idl/EXT_disjoint_timer_query_webgl2.idl +++ /dev/null @@ -1,14 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL EXT_disjoint_timer_query_webgl2 Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_disjoint_timer_query_webgl2/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_disjoint_timer_query_webgl2 { - const GLenum QUERY_COUNTER_BITS_EXT = 0x8864; - const GLenum TIME_ELAPSED_EXT = 0x88BF; - const GLenum TIMESTAMP_EXT = 0x8E28; - const GLenum GPU_DISJOINT_EXT = 0x8FBB; - - undefined queryCounterEXT(WebGLQuery query, GLenum target); -}; diff --git a/node_modules/@webref/idl/EXT_float_blend.idl b/node_modules/@webref/idl/EXT_float_blend.idl deleted file mode 100644 index acdbfb54e1..0000000000 --- a/node_modules/@webref/idl/EXT_float_blend.idl +++ /dev/null @@ -1,8 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL EXT_float_blend Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_float_blend/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_float_blend { -}; // interface EXT_float_blend diff --git a/node_modules/@webref/idl/EXT_frag_depth.idl b/node_modules/@webref/idl/EXT_frag_depth.idl deleted file mode 100644 index 2011752f36..0000000000 --- a/node_modules/@webref/idl/EXT_frag_depth.idl +++ /dev/null @@ -1,8 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL EXT_frag_depth Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_frag_depth { -}; diff --git a/node_modules/@webref/idl/EXT_sRGB.idl b/node_modules/@webref/idl/EXT_sRGB.idl deleted file mode 100644 index 76e7f878c1..0000000000 --- a/node_modules/@webref/idl/EXT_sRGB.idl +++ /dev/null @@ -1,12 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL EXT_sRGB Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_sRGB/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_sRGB { - const GLenum SRGB_EXT = 0x8C40; - const GLenum SRGB_ALPHA_EXT = 0x8C42; - const GLenum SRGB8_ALPHA8_EXT = 0x8C43; - const GLenum FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT = 0x8210; -}; diff --git a/node_modules/@webref/idl/EXT_shader_texture_lod.idl b/node_modules/@webref/idl/EXT_shader_texture_lod.idl deleted file mode 100644 index 955002e6c1..0000000000 --- a/node_modules/@webref/idl/EXT_shader_texture_lod.idl +++ /dev/null @@ -1,8 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL EXT_shader_texture_lod Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_shader_texture_lod/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_shader_texture_lod { -}; diff --git a/node_modules/@webref/idl/EXT_texture_compression_bptc.idl b/node_modules/@webref/idl/EXT_texture_compression_bptc.idl deleted file mode 100644 index 58756f2402..0000000000 --- a/node_modules/@webref/idl/EXT_texture_compression_bptc.idl +++ /dev/null @@ -1,12 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL EXT_texture_compression_bptc Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_texture_compression_bptc/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_texture_compression_bptc { - const GLenum COMPRESSED_RGBA_BPTC_UNORM_EXT = 0x8E8C; - const GLenum COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT = 0x8E8D; - const GLenum COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT = 0x8E8E; - const GLenum COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT = 0x8E8F; -}; diff --git a/node_modules/@webref/idl/EXT_texture_compression_rgtc.idl b/node_modules/@webref/idl/EXT_texture_compression_rgtc.idl deleted file mode 100644 index c8bed9945b..0000000000 --- a/node_modules/@webref/idl/EXT_texture_compression_rgtc.idl +++ /dev/null @@ -1,12 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL EXT_texture_compression_rgtc Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_texture_compression_rgtc/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_texture_compression_rgtc { - const GLenum COMPRESSED_RED_RGTC1_EXT = 0x8DBB; - const GLenum COMPRESSED_SIGNED_RED_RGTC1_EXT = 0x8DBC; - const GLenum COMPRESSED_RED_GREEN_RGTC2_EXT = 0x8DBD; - const GLenum COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT = 0x8DBE; -}; diff --git a/node_modules/@webref/idl/EXT_texture_filter_anisotropic.idl b/node_modules/@webref/idl/EXT_texture_filter_anisotropic.idl deleted file mode 100644 index 6a42fc017b..0000000000 --- a/node_modules/@webref/idl/EXT_texture_filter_anisotropic.idl +++ /dev/null @@ -1,10 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL EXT_texture_filter_anisotropic Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotropic/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_texture_filter_anisotropic { - const GLenum TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; - const GLenum MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; -}; diff --git a/node_modules/@webref/idl/EXT_texture_norm16.idl b/node_modules/@webref/idl/EXT_texture_norm16.idl deleted file mode 100644 index bb1525cc22..0000000000 --- a/node_modules/@webref/idl/EXT_texture_norm16.idl +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL EXT_texture_norm16 Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_texture_norm16/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_texture_norm16 { - const GLenum R16_EXT = 0x822A; - const GLenum RG16_EXT = 0x822C; - const GLenum RGB16_EXT = 0x8054; - const GLenum RGBA16_EXT = 0x805B; - const GLenum R16_SNORM_EXT = 0x8F98; - const GLenum RG16_SNORM_EXT = 0x8F99; - const GLenum RGB16_SNORM_EXT = 0x8F9A; - const GLenum RGBA16_SNORM_EXT = 0x8F9B; -}; diff --git a/node_modules/@webref/idl/FedCM.idl b/node_modules/@webref/idl/FedCM.idl deleted file mode 100644 index af48621038..0000000000 --- a/node_modules/@webref/idl/FedCM.idl +++ /dev/null @@ -1,40 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Federated Credential Management API (https://fedidcg.github.io/FedCM/) - -[Exposed=Window, SecureContext] -dictionary FederatedAccountLoginRequest { - AbortSignal signal; - USVString nonce; -}; - -[Exposed=Window, SecureContext] -partial interface FederatedCredential { - Promise login(optional FederatedAccountLoginRequest request = {}); -}; - -[Exposed=Window, SecureContext] -dictionary FederatedTokens { - USVString idToken; -}; - -[Exposed=Window, SecureContext] -partial interface FederatedCredential { - Promise revoke(USVString hint); -}; - -[Exposed=Window, SecureContext] -partial interface FederatedCredential { - Promise logout(); -}; - -dictionary FederatedCredentialLogoutRpsRequest { - required USVString url; - required USVString accountId; -}; - -[Exposed=Window, SecureContext] -partial interface FederatedCredential { - static Promise logoutRPs(sequence logoutRequests); -}; diff --git a/node_modules/@webref/idl/FileAPI.idl b/node_modules/@webref/idl/FileAPI.idl deleted file mode 100644 index aee0e65dca..0000000000 --- a/node_modules/@webref/idl/FileAPI.idl +++ /dev/null @@ -1,100 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: File API (https://w3c.github.io/FileAPI/) - -[Exposed=(Window,Worker), Serializable] -interface Blob { - constructor(optional sequence blobParts, - optional BlobPropertyBag options = {}); - - readonly attribute unsigned long long size; - readonly attribute DOMString type; - - // slice Blob into byte-ranged chunks - Blob slice(optional [Clamp] long long start, - optional [Clamp] long long end, - optional DOMString contentType); - - // read from the Blob. - [NewObject] ReadableStream stream(); - [NewObject] Promise text(); - [NewObject] Promise arrayBuffer(); -}; - -enum EndingType { "transparent", "native" }; - -dictionary BlobPropertyBag { - DOMString type = ""; - EndingType endings = "transparent"; -}; - -typedef (BufferSource or Blob or USVString) BlobPart; - -[Exposed=(Window,Worker), Serializable] -interface File : Blob { - constructor(sequence fileBits, - USVString fileName, - optional FilePropertyBag options = {}); - readonly attribute DOMString name; - readonly attribute long long lastModified; -}; - -dictionary FilePropertyBag : BlobPropertyBag { - long long lastModified; -}; - -[Exposed=(Window,Worker), Serializable] -interface FileList { - getter File? item(unsigned long index); - readonly attribute unsigned long length; -}; - -[Exposed=(Window,Worker)] -interface FileReader: EventTarget { - constructor(); - // async read methods - undefined readAsArrayBuffer(Blob blob); - undefined readAsBinaryString(Blob blob); - undefined readAsText(Blob blob, optional DOMString encoding); - undefined readAsDataURL(Blob blob); - - undefined abort(); - - // states - const unsigned short EMPTY = 0; - const unsigned short LOADING = 1; - const unsigned short DONE = 2; - - readonly attribute unsigned short readyState; - - // File or Blob data - readonly attribute (DOMString or ArrayBuffer)? result; - - readonly attribute DOMException? error; - - // event handler content attributes - attribute EventHandler onloadstart; - attribute EventHandler onprogress; - attribute EventHandler onload; - attribute EventHandler onabort; - attribute EventHandler onerror; - attribute EventHandler onloadend; -}; - -[Exposed=(DedicatedWorker,SharedWorker)] -interface FileReaderSync { - constructor(); - // Synchronously return strings - - ArrayBuffer readAsArrayBuffer(Blob blob); - DOMString readAsBinaryString(Blob blob); - DOMString readAsText(Blob blob, optional DOMString encoding); - DOMString readAsDataURL(Blob blob); -}; - -[Exposed=(Window,DedicatedWorker,SharedWorker)] -partial interface URL { - static DOMString createObjectURL((Blob or MediaSource) obj); - static undefined revokeObjectURL(DOMString url); -}; diff --git a/node_modules/@webref/idl/IndexedDB.idl b/node_modules/@webref/idl/IndexedDB.idl deleted file mode 100644 index d82391da7e..0000000000 --- a/node_modules/@webref/idl/IndexedDB.idl +++ /dev/null @@ -1,226 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Indexed Database API 3.0 (https://w3c.github.io/IndexedDB/) - -[Exposed=(Window,Worker)] -interface IDBRequest : EventTarget { - readonly attribute any result; - readonly attribute DOMException? error; - readonly attribute (IDBObjectStore or IDBIndex or IDBCursor)? source; - readonly attribute IDBTransaction? transaction; - readonly attribute IDBRequestReadyState readyState; - - // Event handlers: - attribute EventHandler onsuccess; - attribute EventHandler onerror; -}; - -enum IDBRequestReadyState { - "pending", - "done" -}; - -[Exposed=(Window,Worker)] -interface IDBOpenDBRequest : IDBRequest { - // Event handlers: - attribute EventHandler onblocked; - attribute EventHandler onupgradeneeded; -}; - -[Exposed=(Window,Worker)] -interface IDBVersionChangeEvent : Event { - constructor(DOMString type, optional IDBVersionChangeEventInit eventInitDict = {}); - readonly attribute unsigned long long oldVersion; - readonly attribute unsigned long long? newVersion; -}; - -dictionary IDBVersionChangeEventInit : EventInit { - unsigned long long oldVersion = 0; - unsigned long long? newVersion = null; -}; - -partial interface mixin WindowOrWorkerGlobalScope { - [SameObject] readonly attribute IDBFactory indexedDB; -}; - -[Exposed=(Window,Worker)] -interface IDBFactory { - [NewObject] IDBOpenDBRequest open(DOMString name, - optional [EnforceRange] unsigned long long version); - [NewObject] IDBOpenDBRequest deleteDatabase(DOMString name); - - Promise> databases(); - - short cmp(any first, any second); -}; - -dictionary IDBDatabaseInfo { - DOMString name; - unsigned long long version; -}; - -[Exposed=(Window,Worker)] -interface IDBDatabase : EventTarget { - readonly attribute DOMString name; - readonly attribute unsigned long long version; - readonly attribute DOMStringList objectStoreNames; - - [NewObject] IDBTransaction transaction((DOMString or sequence) storeNames, - optional IDBTransactionMode mode = "readonly", - optional IDBTransactionOptions options = {}); - undefined close(); - - [NewObject] IDBObjectStore createObjectStore( - DOMString name, - optional IDBObjectStoreParameters options = {}); - undefined deleteObjectStore(DOMString name); - - // Event handlers: - attribute EventHandler onabort; - attribute EventHandler onclose; - attribute EventHandler onerror; - attribute EventHandler onversionchange; -}; - -enum IDBTransactionDurability { "default", "strict", "relaxed" }; - -dictionary IDBTransactionOptions { - IDBTransactionDurability durability = "default"; -}; - -dictionary IDBObjectStoreParameters { - (DOMString or sequence)? keyPath = null; - boolean autoIncrement = false; -}; - -[Exposed=(Window,Worker)] -interface IDBObjectStore { - attribute DOMString name; - readonly attribute any keyPath; - readonly attribute DOMStringList indexNames; - [SameObject] readonly attribute IDBTransaction transaction; - readonly attribute boolean autoIncrement; - - [NewObject] IDBRequest put(any value, optional any key); - [NewObject] IDBRequest add(any value, optional any key); - [NewObject] IDBRequest delete(any query); - [NewObject] IDBRequest clear(); - [NewObject] IDBRequest get(any query); - [NewObject] IDBRequest getKey(any query); - [NewObject] IDBRequest getAll(optional any query, - optional [EnforceRange] unsigned long count); - [NewObject] IDBRequest getAllKeys(optional any query, - optional [EnforceRange] unsigned long count); - [NewObject] IDBRequest count(optional any query); - - [NewObject] IDBRequest openCursor(optional any query, - optional IDBCursorDirection direction = "next"); - [NewObject] IDBRequest openKeyCursor(optional any query, - optional IDBCursorDirection direction = "next"); - - IDBIndex index(DOMString name); - - [NewObject] IDBIndex createIndex(DOMString name, - (DOMString or sequence) keyPath, - optional IDBIndexParameters options = {}); - undefined deleteIndex(DOMString name); -}; - -dictionary IDBIndexParameters { - boolean unique = false; - boolean multiEntry = false; -}; - -[Exposed=(Window,Worker)] -interface IDBIndex { - attribute DOMString name; - [SameObject] readonly attribute IDBObjectStore objectStore; - readonly attribute any keyPath; - readonly attribute boolean multiEntry; - readonly attribute boolean unique; - - [NewObject] IDBRequest get(any query); - [NewObject] IDBRequest getKey(any query); - [NewObject] IDBRequest getAll(optional any query, - optional [EnforceRange] unsigned long count); - [NewObject] IDBRequest getAllKeys(optional any query, - optional [EnforceRange] unsigned long count); - [NewObject] IDBRequest count(optional any query); - - [NewObject] IDBRequest openCursor(optional any query, - optional IDBCursorDirection direction = "next"); - [NewObject] IDBRequest openKeyCursor(optional any query, - optional IDBCursorDirection direction = "next"); -}; - -[Exposed=(Window,Worker)] -interface IDBKeyRange { - readonly attribute any lower; - readonly attribute any upper; - readonly attribute boolean lowerOpen; - readonly attribute boolean upperOpen; - - // Static construction methods: - [NewObject] static IDBKeyRange only(any value); - [NewObject] static IDBKeyRange lowerBound(any lower, optional boolean open = false); - [NewObject] static IDBKeyRange upperBound(any upper, optional boolean open = false); - [NewObject] static IDBKeyRange bound(any lower, - any upper, - optional boolean lowerOpen = false, - optional boolean upperOpen = false); - - boolean includes(any key); -}; - -[Exposed=(Window,Worker)] -interface IDBCursor { - readonly attribute (IDBObjectStore or IDBIndex) source; - readonly attribute IDBCursorDirection direction; - readonly attribute any key; - readonly attribute any primaryKey; - [SameObject] readonly attribute IDBRequest request; - - undefined advance([EnforceRange] unsigned long count); - undefined continue(optional any key); - undefined continuePrimaryKey(any key, any primaryKey); - - [NewObject] IDBRequest update(any value); - [NewObject] IDBRequest delete(); -}; - -enum IDBCursorDirection { - "next", - "nextunique", - "prev", - "prevunique" -}; - -[Exposed=(Window,Worker)] -interface IDBCursorWithValue : IDBCursor { - readonly attribute any value; -}; - -[Exposed=(Window,Worker)] -interface IDBTransaction : EventTarget { - readonly attribute DOMStringList objectStoreNames; - readonly attribute IDBTransactionMode mode; - readonly attribute IDBTransactionDurability durability; - [SameObject] readonly attribute IDBDatabase db; - readonly attribute DOMException? error; - - IDBObjectStore objectStore(DOMString name); - undefined commit(); - undefined abort(); - - // Event handlers: - attribute EventHandler onabort; - attribute EventHandler oncomplete; - attribute EventHandler onerror; -}; - -enum IDBTransactionMode { - "readonly", - "readwrite", - "versionchange" -}; diff --git a/node_modules/@webref/idl/KHR_parallel_shader_compile.idl b/node_modules/@webref/idl/KHR_parallel_shader_compile.idl deleted file mode 100644 index 4001f16e97..0000000000 --- a/node_modules/@webref/idl/KHR_parallel_shader_compile.idl +++ /dev/null @@ -1,9 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL KHR_parallel_shader_compile Extension Specification (https://www.khronos.org/registry/webgl/extensions/KHR_parallel_shader_compile/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface KHR_parallel_shader_compile { - const GLenum COMPLETION_STATUS_KHR = 0x91B1; -}; diff --git a/node_modules/@webref/idl/OES_draw_buffers_indexed.idl b/node_modules/@webref/idl/OES_draw_buffers_indexed.idl deleted file mode 100644 index bf1932c665..0000000000 --- a/node_modules/@webref/idl/OES_draw_buffers_indexed.idl +++ /dev/null @@ -1,26 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL OES_draw_buffers_indexed Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_draw_buffers_indexed/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface OES_draw_buffers_indexed { - undefined enableiOES(GLenum target, GLuint index); - - undefined disableiOES(GLenum target, GLuint index); - - undefined blendEquationiOES(GLuint buf, GLenum mode); - - undefined blendEquationSeparateiOES(GLuint buf, - GLenum modeRGB, GLenum modeAlpha); - - undefined blendFunciOES(GLuint buf, - GLenum src, GLenum dst); - - undefined blendFuncSeparateiOES(GLuint buf, - GLenum srcRGB, GLenum dstRGB, - GLenum srcAlpha, GLenum dstAlpha); - - undefined colorMaskiOES(GLuint buf, - GLboolean r, GLboolean g, GLboolean b, GLboolean a); -}; diff --git a/node_modules/@webref/idl/OES_element_index_uint.idl b/node_modules/@webref/idl/OES_element_index_uint.idl deleted file mode 100644 index f2d8c6ad13..0000000000 --- a/node_modules/@webref/idl/OES_element_index_uint.idl +++ /dev/null @@ -1,8 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL OES_element_index_uint Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface OES_element_index_uint { -}; diff --git a/node_modules/@webref/idl/OES_fbo_render_mipmap.idl b/node_modules/@webref/idl/OES_fbo_render_mipmap.idl deleted file mode 100644 index 9a7d78a0a0..0000000000 --- a/node_modules/@webref/idl/OES_fbo_render_mipmap.idl +++ /dev/null @@ -1,8 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL OES_fbo_render_mipmap Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_fbo_render_mipmap/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface OES_fbo_render_mipmap { -}; diff --git a/node_modules/@webref/idl/OES_standard_derivatives.idl b/node_modules/@webref/idl/OES_standard_derivatives.idl deleted file mode 100644 index 46da3d21ae..0000000000 --- a/node_modules/@webref/idl/OES_standard_derivatives.idl +++ /dev/null @@ -1,9 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL OES_standard_derivatives Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface OES_standard_derivatives { - const GLenum FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; -}; diff --git a/node_modules/@webref/idl/OES_texture_float.idl b/node_modules/@webref/idl/OES_texture_float.idl deleted file mode 100644 index 913886e93c..0000000000 --- a/node_modules/@webref/idl/OES_texture_float.idl +++ /dev/null @@ -1,7 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL OES_texture_float Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_texture_float/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface OES_texture_float { }; diff --git a/node_modules/@webref/idl/OES_texture_float_linear.idl b/node_modules/@webref/idl/OES_texture_float_linear.idl deleted file mode 100644 index aa62590103..0000000000 --- a/node_modules/@webref/idl/OES_texture_float_linear.idl +++ /dev/null @@ -1,7 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL OES_texture_float_linear Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface OES_texture_float_linear { }; diff --git a/node_modules/@webref/idl/OES_texture_half_float.idl b/node_modules/@webref/idl/OES_texture_half_float.idl deleted file mode 100644 index cefd643c4d..0000000000 --- a/node_modules/@webref/idl/OES_texture_half_float.idl +++ /dev/null @@ -1,9 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL OES_texture_half_float Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface OES_texture_half_float { - const GLenum HALF_FLOAT_OES = 0x8D61; -}; diff --git a/node_modules/@webref/idl/OES_texture_half_float_linear.idl b/node_modules/@webref/idl/OES_texture_half_float_linear.idl deleted file mode 100644 index dde3efbac6..0000000000 --- a/node_modules/@webref/idl/OES_texture_half_float_linear.idl +++ /dev/null @@ -1,7 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL OES_texture_half_float_linear Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linear/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface OES_texture_half_float_linear { }; diff --git a/node_modules/@webref/idl/OES_vertex_array_object.idl b/node_modules/@webref/idl/OES_vertex_array_object.idl deleted file mode 100644 index c366b03b0a..0000000000 --- a/node_modules/@webref/idl/OES_vertex_array_object.idl +++ /dev/null @@ -1,18 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL OES_vertex_array_object Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WebGLVertexArrayObjectOES : WebGLObject { -}; - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface OES_vertex_array_object { - const GLenum VERTEX_ARRAY_BINDING_OES = 0x85B5; - - WebGLVertexArrayObjectOES? createVertexArrayOES(); - undefined deleteVertexArrayOES(WebGLVertexArrayObjectOES? arrayObject); - [WebGLHandlesContextLoss] GLboolean isVertexArrayOES(WebGLVertexArrayObjectOES? arrayObject); - undefined bindVertexArrayOES(WebGLVertexArrayObjectOES? arrayObject); -}; diff --git a/node_modules/@webref/idl/OVR_multiview2.idl b/node_modules/@webref/idl/OVR_multiview2.idl deleted file mode 100644 index 96a71ebd0f..0000000000 --- a/node_modules/@webref/idl/OVR_multiview2.idl +++ /dev/null @@ -1,14 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL OVR_multiview2 Extension Specification (https://www.khronos.org/registry/webgl/extensions/OVR_multiview2/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface OVR_multiview2 { - const GLenum FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR = 0x9630; - const GLenum FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR = 0x9632; - const GLenum MAX_VIEWS_OVR = 0x9631; - const GLenum FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR = 0x9633; - - undefined framebufferTextureMultiviewOVR(GLenum target, GLenum attachment, WebGLTexture? texture, GLint level, GLint baseViewIndex, GLsizei numViews); -}; diff --git a/node_modules/@webref/idl/README.md b/node_modules/@webref/idl/README.md deleted file mode 100644 index 64ca2839e1..0000000000 --- a/node_modules/@webref/idl/README.md +++ /dev/null @@ -1,44 +0,0 @@ -# Web IDL definitions of the web platform - -This package contains Web IDL scraped from the latest versions of web platform specifications in [webref](https://github.com/w3c/webref), with fixes applied to ensure all definitions can be parsed and are internally consistent. - -# API - -The async `listAll()` method resolves with an object where the keys are spec shortnames, and the values are objects with async `text()` and `parse()` methods to get the raw text and the result of parsing that with `WebIDL2.parse`, respectively. Example: - -```js -const idl = require('@webref/idl'); - -const files = await idl.listAll(); -for (const [shortname, file] of Object.entries(files)) { - const text = await file.text(); - const ast = await file.parse(); - // do something with text or ast -} -``` - -As a shorthand, the async `parseAll()` method resolves with an object where the keys are spec shortnames and the values are the result of parsing the IDL with `WebIDL2.parse`. Example: - -```js -const idl = require('@webref/idl'); - -const parsedFiles = await idl.parseAll(); -for (const [shortname, ast] of Object.entries(parsedFiles)) { - // do something with the ast -} -``` - -# Guarantees - -The following guarantees are provided by this package: -- All IDL files can be parsed by the version of [webidl2.js](https://github.com/w3c/webidl2.js/) used in `peerDependencies` in `package.json`. -- `WebIDL2.validate` passes with the exception of the "no-nointerfaceobject" rule about `[LegacyNoInterfaceObject]`, which is in wide use. -- All types are defined by some specification. -- All extended attributes are defined by some specification. -- No duplicate top-level definitions or members. -- No missing or mismatched types in inheritance chains. -- No conflicts when applying mixins and partials. - -The following guarantees are *not* provided: -- Extended attribute *values* are not validated. -- Generally no other guarantees except the ones enforced by tests. diff --git a/node_modules/@webref/idl/SVG.idl b/node_modules/@webref/idl/SVG.idl deleted file mode 100644 index 11a5c7c299..0000000000 --- a/node_modules/@webref/idl/SVG.idl +++ /dev/null @@ -1,694 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Scalable Vector Graphics (SVG) 2 (https://svgwg.org/svg2-draft/) - -[Exposed=Window] -interface SVGElement : Element { - - [SameObject] readonly attribute SVGAnimatedString className; - - readonly attribute SVGSVGElement? ownerSVGElement; - readonly attribute SVGElement? viewportElement; -}; - -SVGElement includes GlobalEventHandlers; -SVGElement includes DocumentAndElementEventHandlers; -SVGElement includes SVGElementInstance; -SVGElement includes HTMLOrSVGElement; - -dictionary SVGBoundingBoxOptions { - boolean fill = true; - boolean stroke = false; - boolean markers = false; - boolean clipped = false; -}; - -[Exposed=Window] -interface SVGGraphicsElement : SVGElement { - [SameObject] readonly attribute SVGAnimatedTransformList transform; - - DOMRect getBBox(optional SVGBoundingBoxOptions options = {}); - DOMMatrix? getCTM(); - DOMMatrix? getScreenCTM(); -}; - -SVGGraphicsElement includes SVGTests; - -[Exposed=Window] -interface SVGGeometryElement : SVGGraphicsElement { - [SameObject] readonly attribute SVGAnimatedNumber pathLength; - - boolean isPointInFill(optional DOMPointInit point = {}); - boolean isPointInStroke(optional DOMPointInit point = {}); - float getTotalLength(); - DOMPoint getPointAtLength(float distance); -}; - -[Exposed=Window] -interface SVGNumber { - attribute float value; -}; - -[Exposed=Window] -interface SVGLength { - - // Length Unit Types - const unsigned short SVG_LENGTHTYPE_UNKNOWN = 0; - const unsigned short SVG_LENGTHTYPE_NUMBER = 1; - const unsigned short SVG_LENGTHTYPE_PERCENTAGE = 2; - const unsigned short SVG_LENGTHTYPE_EMS = 3; - const unsigned short SVG_LENGTHTYPE_EXS = 4; - const unsigned short SVG_LENGTHTYPE_PX = 5; - const unsigned short SVG_LENGTHTYPE_CM = 6; - const unsigned short SVG_LENGTHTYPE_MM = 7; - const unsigned short SVG_LENGTHTYPE_IN = 8; - const unsigned short SVG_LENGTHTYPE_PT = 9; - const unsigned short SVG_LENGTHTYPE_PC = 10; - - readonly attribute unsigned short unitType; - attribute float value; - attribute float valueInSpecifiedUnits; - attribute DOMString valueAsString; - - undefined newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits); - undefined convertToSpecifiedUnits(unsigned short unitType); -}; - -[Exposed=Window] -interface SVGAngle { - - // Angle Unit Types - const unsigned short SVG_ANGLETYPE_UNKNOWN = 0; - const unsigned short SVG_ANGLETYPE_UNSPECIFIED = 1; - const unsigned short SVG_ANGLETYPE_DEG = 2; - const unsigned short SVG_ANGLETYPE_RAD = 3; - const unsigned short SVG_ANGLETYPE_GRAD = 4; - - readonly attribute unsigned short unitType; - attribute float value; - attribute float valueInSpecifiedUnits; - attribute DOMString valueAsString; - - undefined newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits); - undefined convertToSpecifiedUnits(unsigned short unitType); -}; - -[Exposed=Window] -interface SVGNumberList { - - readonly attribute unsigned long length; - readonly attribute unsigned long numberOfItems; - - undefined clear(); - SVGNumber initialize(SVGNumber newItem); - getter SVGNumber getItem(unsigned long index); - SVGNumber insertItemBefore(SVGNumber newItem, unsigned long index); - SVGNumber replaceItem(SVGNumber newItem, unsigned long index); - SVGNumber removeItem(unsigned long index); - SVGNumber appendItem(SVGNumber newItem); - setter undefined (unsigned long index, SVGNumber newItem); -}; - -[Exposed=Window] -interface SVGLengthList { - - readonly attribute unsigned long length; - readonly attribute unsigned long numberOfItems; - - undefined clear(); - SVGLength initialize(SVGLength newItem); - getter SVGLength getItem(unsigned long index); - SVGLength insertItemBefore(SVGLength newItem, unsigned long index); - SVGLength replaceItem(SVGLength newItem, unsigned long index); - SVGLength removeItem(unsigned long index); - SVGLength appendItem(SVGLength newItem); - setter undefined (unsigned long index, SVGLength newItem); -}; - -[Exposed=Window] -interface SVGStringList { - - readonly attribute unsigned long length; - readonly attribute unsigned long numberOfItems; - - undefined clear(); - DOMString initialize(DOMString newItem); - getter DOMString getItem(unsigned long index); - DOMString insertItemBefore(DOMString newItem, unsigned long index); - DOMString replaceItem(DOMString newItem, unsigned long index); - DOMString removeItem(unsigned long index); - DOMString appendItem(DOMString newItem); - setter undefined (unsigned long index, DOMString newItem); -}; - -[Exposed=Window] -interface SVGAnimatedBoolean { - attribute boolean baseVal; - readonly attribute boolean animVal; -}; - -[Exposed=Window] -interface SVGAnimatedEnumeration { - attribute unsigned short baseVal; - readonly attribute unsigned short animVal; -}; - -[Exposed=Window] -interface SVGAnimatedInteger { - attribute long baseVal; - readonly attribute long animVal; -}; - -[Exposed=Window] -interface SVGAnimatedNumber { - attribute float baseVal; - readonly attribute float animVal; -}; - -[Exposed=Window] -interface SVGAnimatedLength { - [SameObject] readonly attribute SVGLength baseVal; - [SameObject] readonly attribute SVGLength animVal; -}; - -[Exposed=Window] -interface SVGAnimatedAngle { - [SameObject] readonly attribute SVGAngle baseVal; - [SameObject] readonly attribute SVGAngle animVal; -}; - -[Exposed=Window] -interface SVGAnimatedString { - attribute DOMString baseVal; - readonly attribute DOMString animVal; -}; - -[Exposed=Window] -interface SVGAnimatedRect { - [SameObject] readonly attribute DOMRect baseVal; - [SameObject] readonly attribute DOMRectReadOnly animVal; -}; - -[Exposed=Window] -interface SVGAnimatedNumberList { - [SameObject] readonly attribute SVGNumberList baseVal; - [SameObject] readonly attribute SVGNumberList animVal; -}; - -[Exposed=Window] -interface SVGAnimatedLengthList { - [SameObject] readonly attribute SVGLengthList baseVal; - [SameObject] readonly attribute SVGLengthList animVal; -}; - -[Exposed=Window] -interface SVGUnitTypes { - // Unit Types - const unsigned short SVG_UNIT_TYPE_UNKNOWN = 0; - const unsigned short SVG_UNIT_TYPE_USERSPACEONUSE = 1; - const unsigned short SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2; -}; - -interface mixin SVGTests { - [SameObject] readonly attribute SVGStringList requiredExtensions; - [SameObject] readonly attribute SVGStringList systemLanguage; -}; - -interface mixin SVGFitToViewBox { - [SameObject] readonly attribute SVGAnimatedRect viewBox; - [SameObject] readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio; -}; - -interface mixin SVGURIReference { - [SameObject] readonly attribute SVGAnimatedString href; -}; - -partial interface Document { - readonly attribute SVGSVGElement? rootElement; -}; - -[Exposed=Window] -interface SVGSVGElement : SVGGraphicsElement { - - [SameObject] readonly attribute SVGAnimatedLength x; - [SameObject] readonly attribute SVGAnimatedLength y; - [SameObject] readonly attribute SVGAnimatedLength width; - [SameObject] readonly attribute SVGAnimatedLength height; - - attribute float currentScale; - [SameObject] readonly attribute DOMPointReadOnly currentTranslate; - - NodeList getIntersectionList(DOMRectReadOnly rect, SVGElement? referenceElement); - NodeList getEnclosureList(DOMRectReadOnly rect, SVGElement? referenceElement); - boolean checkIntersection(SVGElement element, DOMRectReadOnly rect); - boolean checkEnclosure(SVGElement element, DOMRectReadOnly rect); - - undefined deselectAll(); - - SVGNumber createSVGNumber(); - SVGLength createSVGLength(); - SVGAngle createSVGAngle(); - DOMPoint createSVGPoint(); - DOMMatrix createSVGMatrix(); - DOMRect createSVGRect(); - SVGTransform createSVGTransform(); - SVGTransform createSVGTransformFromMatrix(optional DOMMatrix2DInit matrix = {}); - - Element getElementById(DOMString elementId); - - // Deprecated methods that have no effect when called, - // but which are kept for compatibility reasons. - unsigned long suspendRedraw(unsigned long maxWaitMilliseconds); - undefined unsuspendRedraw(unsigned long suspendHandleID); - undefined unsuspendRedrawAll(); - undefined forceRedraw(); -}; - -SVGSVGElement includes SVGFitToViewBox; -SVGSVGElement includes WindowEventHandlers; - -[Exposed=Window] -interface SVGGElement : SVGGraphicsElement { -}; - -[Exposed=Window] -interface SVGDefsElement : SVGGraphicsElement { -}; - -[Exposed=Window] -interface SVGDescElement : SVGElement { -}; - -[Exposed=Window] -interface SVGMetadataElement : SVGElement { -}; - -[Exposed=Window] -interface SVGTitleElement : SVGElement { -}; - -[Exposed=Window] -interface SVGSymbolElement : SVGGraphicsElement { -}; - -SVGSymbolElement includes SVGFitToViewBox; - -[Exposed=Window] -interface SVGUseElement : SVGGraphicsElement { - [SameObject] readonly attribute SVGAnimatedLength x; - [SameObject] readonly attribute SVGAnimatedLength y; - [SameObject] readonly attribute SVGAnimatedLength width; - [SameObject] readonly attribute SVGAnimatedLength height; - [SameObject] readonly attribute SVGElement? instanceRoot; - [SameObject] readonly attribute SVGElement? animatedInstanceRoot; -}; - -SVGUseElement includes SVGURIReference; - -[Exposed=Window] -interface SVGUseElementShadowRoot : ShadowRoot { -}; - -interface mixin SVGElementInstance { - [SameObject] readonly attribute SVGElement? correspondingElement; - [SameObject] readonly attribute SVGUseElement? correspondingUseElement; -}; - -[Exposed=Window] -interface ShadowAnimation : Animation { - constructor(Animation source, (Element or CSSPseudoElement) newTarget); - [SameObject] readonly attribute Animation sourceAnimation; -}; - -[Exposed=Window] -interface SVGSwitchElement : SVGGraphicsElement { -}; - -interface mixin GetSVGDocument { - Document getSVGDocument(); -}; - -[Exposed=Window] -interface SVGStyleElement : SVGElement { - attribute DOMString type; - attribute DOMString media; - attribute DOMString title; -}; - -SVGStyleElement includes LinkStyle; - -[Exposed=Window] -interface SVGTransform { - - // Transform Types - const unsigned short SVG_TRANSFORM_UNKNOWN = 0; - const unsigned short SVG_TRANSFORM_MATRIX = 1; - const unsigned short SVG_TRANSFORM_TRANSLATE = 2; - const unsigned short SVG_TRANSFORM_SCALE = 3; - const unsigned short SVG_TRANSFORM_ROTATE = 4; - const unsigned short SVG_TRANSFORM_SKEWX = 5; - const unsigned short SVG_TRANSFORM_SKEWY = 6; - - readonly attribute unsigned short type; - [SameObject] readonly attribute DOMMatrix matrix; - readonly attribute float angle; - - undefined setMatrix(optional DOMMatrix2DInit matrix = {}); - undefined setTranslate(float tx, float ty); - undefined setScale(float sx, float sy); - undefined setRotate(float angle, float cx, float cy); - undefined setSkewX(float angle); - undefined setSkewY(float angle); -}; - -[Exposed=Window] -interface SVGTransformList { - - readonly attribute unsigned long length; - readonly attribute unsigned long numberOfItems; - - undefined clear(); - SVGTransform initialize(SVGTransform newItem); - getter SVGTransform getItem(unsigned long index); - SVGTransform insertItemBefore(SVGTransform newItem, unsigned long index); - SVGTransform replaceItem(SVGTransform newItem, unsigned long index); - SVGTransform removeItem(unsigned long index); - SVGTransform appendItem(SVGTransform newItem); - setter undefined (unsigned long index, SVGTransform newItem); - - // Additional methods not common to other list interfaces. - SVGTransform createSVGTransformFromMatrix(optional DOMMatrix2DInit matrix = {}); - SVGTransform? consolidate(); -}; - -[Exposed=Window] -interface SVGAnimatedTransformList { - [SameObject] readonly attribute SVGTransformList baseVal; - [SameObject] readonly attribute SVGTransformList animVal; -}; - -[Exposed=Window] -interface SVGPreserveAspectRatio { - - // Alignment Types - const unsigned short SVG_PRESERVEASPECTRATIO_UNKNOWN = 0; - const unsigned short SVG_PRESERVEASPECTRATIO_NONE = 1; - const unsigned short SVG_PRESERVEASPECTRATIO_XMINYMIN = 2; - const unsigned short SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3; - const unsigned short SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4; - const unsigned short SVG_PRESERVEASPECTRATIO_XMINYMID = 5; - const unsigned short SVG_PRESERVEASPECTRATIO_XMIDYMID = 6; - const unsigned short SVG_PRESERVEASPECTRATIO_XMAXYMID = 7; - const unsigned short SVG_PRESERVEASPECTRATIO_XMINYMAX = 8; - const unsigned short SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9; - const unsigned short SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10; - - // Meet-or-slice Types - const unsigned short SVG_MEETORSLICE_UNKNOWN = 0; - const unsigned short SVG_MEETORSLICE_MEET = 1; - const unsigned short SVG_MEETORSLICE_SLICE = 2; - - attribute unsigned short align; - attribute unsigned short meetOrSlice; -}; - -[Exposed=Window] -interface SVGAnimatedPreserveAspectRatio { - [SameObject] readonly attribute SVGPreserveAspectRatio baseVal; - [SameObject] readonly attribute SVGPreserveAspectRatio animVal; -}; - -[Exposed=Window] -interface SVGPathElement : SVGGeometryElement { -}; - -[Exposed=Window] -interface SVGRectElement : SVGGeometryElement { - [SameObject] readonly attribute SVGAnimatedLength x; - [SameObject] readonly attribute SVGAnimatedLength y; - [SameObject] readonly attribute SVGAnimatedLength width; - [SameObject] readonly attribute SVGAnimatedLength height; - [SameObject] readonly attribute SVGAnimatedLength rx; - [SameObject] readonly attribute SVGAnimatedLength ry; -}; - -[Exposed=Window] -interface SVGCircleElement : SVGGeometryElement { - [SameObject] readonly attribute SVGAnimatedLength cx; - [SameObject] readonly attribute SVGAnimatedLength cy; - [SameObject] readonly attribute SVGAnimatedLength r; -}; - -[Exposed=Window] -interface SVGEllipseElement : SVGGeometryElement { - [SameObject] readonly attribute SVGAnimatedLength cx; - [SameObject] readonly attribute SVGAnimatedLength cy; - [SameObject] readonly attribute SVGAnimatedLength rx; - [SameObject] readonly attribute SVGAnimatedLength ry; -}; - -[Exposed=Window] -interface SVGLineElement : SVGGeometryElement { - [SameObject] readonly attribute SVGAnimatedLength x1; - [SameObject] readonly attribute SVGAnimatedLength y1; - [SameObject] readonly attribute SVGAnimatedLength x2; - [SameObject] readonly attribute SVGAnimatedLength y2; -}; - -interface mixin SVGAnimatedPoints { - [SameObject] readonly attribute SVGPointList points; - [SameObject] readonly attribute SVGPointList animatedPoints; -}; - -[Exposed=Window] -interface SVGPointList { - - readonly attribute unsigned long length; - readonly attribute unsigned long numberOfItems; - - undefined clear(); - DOMPoint initialize(DOMPoint newItem); - getter DOMPoint getItem(unsigned long index); - DOMPoint insertItemBefore(DOMPoint newItem, unsigned long index); - DOMPoint replaceItem(DOMPoint newItem, unsigned long index); - DOMPoint removeItem(unsigned long index); - DOMPoint appendItem(DOMPoint newItem); - setter undefined (unsigned long index, DOMPoint newItem); -}; - -[Exposed=Window] -interface SVGPolylineElement : SVGGeometryElement { -}; - -SVGPolylineElement includes SVGAnimatedPoints; - -[Exposed=Window] -interface SVGPolygonElement : SVGGeometryElement { -}; - -SVGPolygonElement includes SVGAnimatedPoints; - -[Exposed=Window] -interface SVGTextContentElement : SVGGraphicsElement { - - // lengthAdjust Types - const unsigned short LENGTHADJUST_UNKNOWN = 0; - const unsigned short LENGTHADJUST_SPACING = 1; - const unsigned short LENGTHADJUST_SPACINGANDGLYPHS = 2; - - [SameObject] readonly attribute SVGAnimatedLength textLength; - [SameObject] readonly attribute SVGAnimatedEnumeration lengthAdjust; - - long getNumberOfChars(); - float getComputedTextLength(); - float getSubStringLength(unsigned long charnum, unsigned long nchars); - DOMPoint getStartPositionOfChar(unsigned long charnum); - DOMPoint getEndPositionOfChar(unsigned long charnum); - DOMRect getExtentOfChar(unsigned long charnum); - float getRotationOfChar(unsigned long charnum); - long getCharNumAtPosition(optional DOMPointInit point = {}); - undefined selectSubString(unsigned long charnum, unsigned long nchars); -}; - -[Exposed=Window] -interface SVGTextPositioningElement : SVGTextContentElement { - [SameObject] readonly attribute SVGAnimatedLengthList x; - [SameObject] readonly attribute SVGAnimatedLengthList y; - [SameObject] readonly attribute SVGAnimatedLengthList dx; - [SameObject] readonly attribute SVGAnimatedLengthList dy; - [SameObject] readonly attribute SVGAnimatedNumberList rotate; -}; - -[Exposed=Window] -interface SVGTextElement : SVGTextPositioningElement { -}; - -[Exposed=Window] -interface SVGTSpanElement : SVGTextPositioningElement { -}; - -[Exposed=Window] -interface SVGTextPathElement : SVGTextContentElement { - - // textPath Method Types - const unsigned short TEXTPATH_METHODTYPE_UNKNOWN = 0; - const unsigned short TEXTPATH_METHODTYPE_ALIGN = 1; - const unsigned short TEXTPATH_METHODTYPE_STRETCH = 2; - - // textPath Spacing Types - const unsigned short TEXTPATH_SPACINGTYPE_UNKNOWN = 0; - const unsigned short TEXTPATH_SPACINGTYPE_AUTO = 1; - const unsigned short TEXTPATH_SPACINGTYPE_EXACT = 2; - - [SameObject] readonly attribute SVGAnimatedLength startOffset; - [SameObject] readonly attribute SVGAnimatedEnumeration method; - [SameObject] readonly attribute SVGAnimatedEnumeration spacing; -}; - -SVGTextPathElement includes SVGURIReference; - -[Exposed=Window] -interface SVGImageElement : SVGGraphicsElement { - [SameObject] readonly attribute SVGAnimatedLength x; - [SameObject] readonly attribute SVGAnimatedLength y; - [SameObject] readonly attribute SVGAnimatedLength width; - [SameObject] readonly attribute SVGAnimatedLength height; - [SameObject] readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio; - attribute DOMString? crossOrigin; -}; - -SVGImageElement includes SVGURIReference; - -[Exposed=Window] -interface SVGForeignObjectElement : SVGGraphicsElement { - [SameObject] readonly attribute SVGAnimatedLength x; - [SameObject] readonly attribute SVGAnimatedLength y; - [SameObject] readonly attribute SVGAnimatedLength width; - [SameObject] readonly attribute SVGAnimatedLength height; -}; - -[Exposed=Window] -interface SVGMarkerElement : SVGElement { - - // Marker Unit Types - const unsigned short SVG_MARKERUNITS_UNKNOWN = 0; - const unsigned short SVG_MARKERUNITS_USERSPACEONUSE = 1; - const unsigned short SVG_MARKERUNITS_STROKEWIDTH = 2; - - // Marker Orientation Types - const unsigned short SVG_MARKER_ORIENT_UNKNOWN = 0; - const unsigned short SVG_MARKER_ORIENT_AUTO = 1; - const unsigned short SVG_MARKER_ORIENT_ANGLE = 2; - - [SameObject] readonly attribute SVGAnimatedLength refX; - [SameObject] readonly attribute SVGAnimatedLength refY; - [SameObject] readonly attribute SVGAnimatedEnumeration markerUnits; - [SameObject] readonly attribute SVGAnimatedLength markerWidth; - [SameObject] readonly attribute SVGAnimatedLength markerHeight; - [SameObject] readonly attribute SVGAnimatedEnumeration orientType; - [SameObject] readonly attribute SVGAnimatedAngle orientAngle; - attribute DOMString orient; - - undefined setOrientToAuto(); - undefined setOrientToAngle(SVGAngle angle); -}; - -SVGMarkerElement includes SVGFitToViewBox; - -[Exposed=Window] -interface SVGGradientElement : SVGElement { - - // Spread Method Types - const unsigned short SVG_SPREADMETHOD_UNKNOWN = 0; - const unsigned short SVG_SPREADMETHOD_PAD = 1; - const unsigned short SVG_SPREADMETHOD_REFLECT = 2; - const unsigned short SVG_SPREADMETHOD_REPEAT = 3; - - [SameObject] readonly attribute SVGAnimatedEnumeration gradientUnits; - [SameObject] readonly attribute SVGAnimatedTransformList gradientTransform; - [SameObject] readonly attribute SVGAnimatedEnumeration spreadMethod; -}; - -SVGGradientElement includes SVGURIReference; - -[Exposed=Window] -interface SVGLinearGradientElement : SVGGradientElement { - [SameObject] readonly attribute SVGAnimatedLength x1; - [SameObject] readonly attribute SVGAnimatedLength y1; - [SameObject] readonly attribute SVGAnimatedLength x2; - [SameObject] readonly attribute SVGAnimatedLength y2; -}; - -[Exposed=Window] -interface SVGRadialGradientElement : SVGGradientElement { - [SameObject] readonly attribute SVGAnimatedLength cx; - [SameObject] readonly attribute SVGAnimatedLength cy; - [SameObject] readonly attribute SVGAnimatedLength r; - [SameObject] readonly attribute SVGAnimatedLength fx; - [SameObject] readonly attribute SVGAnimatedLength fy; - [SameObject] readonly attribute SVGAnimatedLength fr; -}; - -[Exposed=Window] -interface SVGStopElement : SVGElement { - [SameObject] readonly attribute SVGAnimatedNumber offset; -}; - -[Exposed=Window] -interface SVGPatternElement : SVGElement { - [SameObject] readonly attribute SVGAnimatedEnumeration patternUnits; - [SameObject] readonly attribute SVGAnimatedEnumeration patternContentUnits; - [SameObject] readonly attribute SVGAnimatedTransformList patternTransform; - [SameObject] readonly attribute SVGAnimatedLength x; - [SameObject] readonly attribute SVGAnimatedLength y; - [SameObject] readonly attribute SVGAnimatedLength width; - [SameObject] readonly attribute SVGAnimatedLength height; -}; - -SVGPatternElement includes SVGFitToViewBox; -SVGPatternElement includes SVGURIReference; - -[Exposed=Window] -interface SVGScriptElement : SVGElement { - attribute DOMString type; - attribute DOMString? crossOrigin; -}; - -SVGScriptElement includes SVGURIReference; - -[Exposed=Window] -interface SVGAElement : SVGGraphicsElement { - [SameObject] readonly attribute SVGAnimatedString target; - attribute DOMString download; - attribute USVString ping; - attribute DOMString rel; - [SameObject, PutForwards=value] readonly attribute DOMTokenList relList; - attribute DOMString hreflang; - attribute DOMString type; - - attribute DOMString text; - - attribute DOMString referrerPolicy; -}; - -SVGAElement includes SVGURIReference; - -// Inline HTMLHyperlinkElementUtils except href, which conflicts. -partial interface SVGAElement { - readonly attribute USVString origin; - [CEReactions] attribute USVString protocol; - [CEReactions] attribute USVString username; - [CEReactions] attribute USVString password; - [CEReactions] attribute USVString host; - [CEReactions] attribute USVString hostname; - [CEReactions] attribute USVString port; - [CEReactions] attribute USVString pathname; - [CEReactions] attribute USVString search; - [CEReactions] attribute USVString hash; -}; - -[Exposed=Window] -interface SVGViewElement : SVGElement {}; - -SVGViewElement includes SVGFitToViewBox; diff --git a/node_modules/@webref/idl/WEBGL_blend_equation_advanced_coherent.idl b/node_modules/@webref/idl/WEBGL_blend_equation_advanced_coherent.idl deleted file mode 100644 index 647a6f844c..0000000000 --- a/node_modules/@webref/idl/WEBGL_blend_equation_advanced_coherent.idl +++ /dev/null @@ -1,23 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL WEBGL_blend_equation_advanced_coherent Extension Draft Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_blend_equation_advanced_coherent/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_blend_equation_advanced_coherent { - const GLenum MULTIPLY = 0x9294; - const GLenum SCREEN = 0x9295; - const GLenum OVERLAY = 0x9296; - const GLenum DARKEN = 0x9297; - const GLenum LIGHTEN = 0x9298; - const GLenum COLORDODGE = 0x9299; - const GLenum COLORBURN = 0x929A; - const GLenum HARDLIGHT = 0x929B; - const GLenum SOFTLIGHT = 0x929C; - const GLenum DIFFERENCE = 0x929E; - const GLenum EXCLUSION = 0x92A0; - const GLenum HSL_HUE = 0x92AD; - const GLenum HSL_SATURATION = 0x92AE; - const GLenum HSL_COLOR = 0x92AF; - const GLenum HSL_LUMINOSITY = 0x92B0; -}; diff --git a/node_modules/@webref/idl/WEBGL_color_buffer_float.idl b/node_modules/@webref/idl/WEBGL_color_buffer_float.idl deleted file mode 100644 index ac66261d35..0000000000 --- a/node_modules/@webref/idl/WEBGL_color_buffer_float.idl +++ /dev/null @@ -1,11 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL WEBGL_color_buffer_float Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_color_buffer_float/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_color_buffer_float { - const GLenum RGBA32F_EXT = 0x8814; - const GLenum FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT = 0x8211; - const GLenum UNSIGNED_NORMALIZED_EXT = 0x8C17; -}; // interface WEBGL_color_buffer_float diff --git a/node_modules/@webref/idl/WEBGL_compressed_texture_astc.idl b/node_modules/@webref/idl/WEBGL_compressed_texture_astc.idl deleted file mode 100644 index 968e508474..0000000000 --- a/node_modules/@webref/idl/WEBGL_compressed_texture_astc.idl +++ /dev/null @@ -1,41 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL WEBGL_compressed_texture_astc Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_astc/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_compressed_texture_astc { - /* Compressed Texture Format */ - const GLenum COMPRESSED_RGBA_ASTC_4x4_KHR = 0x93B0; - const GLenum COMPRESSED_RGBA_ASTC_5x4_KHR = 0x93B1; - const GLenum COMPRESSED_RGBA_ASTC_5x5_KHR = 0x93B2; - const GLenum COMPRESSED_RGBA_ASTC_6x5_KHR = 0x93B3; - const GLenum COMPRESSED_RGBA_ASTC_6x6_KHR = 0x93B4; - const GLenum COMPRESSED_RGBA_ASTC_8x5_KHR = 0x93B5; - const GLenum COMPRESSED_RGBA_ASTC_8x6_KHR = 0x93B6; - const GLenum COMPRESSED_RGBA_ASTC_8x8_KHR = 0x93B7; - const GLenum COMPRESSED_RGBA_ASTC_10x5_KHR = 0x93B8; - const GLenum COMPRESSED_RGBA_ASTC_10x6_KHR = 0x93B9; - const GLenum COMPRESSED_RGBA_ASTC_10x8_KHR = 0x93BA; - const GLenum COMPRESSED_RGBA_ASTC_10x10_KHR = 0x93BB; - const GLenum COMPRESSED_RGBA_ASTC_12x10_KHR = 0x93BC; - const GLenum COMPRESSED_RGBA_ASTC_12x12_KHR = 0x93BD; - - const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR = 0x93D0; - const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR = 0x93D1; - const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR = 0x93D2; - const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR = 0x93D3; - const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR = 0x93D4; - const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR = 0x93D5; - const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR = 0x93D6; - const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR = 0x93D7; - const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR = 0x93D8; - const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR = 0x93D9; - const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR = 0x93DA; - const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR = 0x93DB; - const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR = 0x93DC; - const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR = 0x93DD; - - // Profile query support. - sequence getSupportedProfiles(); -}; diff --git a/node_modules/@webref/idl/WEBGL_compressed_texture_etc.idl b/node_modules/@webref/idl/WEBGL_compressed_texture_etc.idl deleted file mode 100644 index 45b7229494..0000000000 --- a/node_modules/@webref/idl/WEBGL_compressed_texture_etc.idl +++ /dev/null @@ -1,19 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL WEBGL_compressed_texture_etc Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_etc/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_compressed_texture_etc { - /* Compressed Texture Formats */ - const GLenum COMPRESSED_R11_EAC = 0x9270; - const GLenum COMPRESSED_SIGNED_R11_EAC = 0x9271; - const GLenum COMPRESSED_RG11_EAC = 0x9272; - const GLenum COMPRESSED_SIGNED_RG11_EAC = 0x9273; - const GLenum COMPRESSED_RGB8_ETC2 = 0x9274; - const GLenum COMPRESSED_SRGB8_ETC2 = 0x9275; - const GLenum COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9276; - const GLenum COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9277; - const GLenum COMPRESSED_RGBA8_ETC2_EAC = 0x9278; - const GLenum COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = 0x9279; -}; diff --git a/node_modules/@webref/idl/WEBGL_compressed_texture_etc1.idl b/node_modules/@webref/idl/WEBGL_compressed_texture_etc1.idl deleted file mode 100644 index bd2c5293ce..0000000000 --- a/node_modules/@webref/idl/WEBGL_compressed_texture_etc1.idl +++ /dev/null @@ -1,10 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL WEBGL_compressed_texture_etc1 Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_etc1/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_compressed_texture_etc1 { - /* Compressed Texture Format */ - const GLenum COMPRESSED_RGB_ETC1_WEBGL = 0x8D64; -}; diff --git a/node_modules/@webref/idl/WEBGL_compressed_texture_pvrtc.idl b/node_modules/@webref/idl/WEBGL_compressed_texture_pvrtc.idl deleted file mode 100644 index 7803c2986e..0000000000 --- a/node_modules/@webref/idl/WEBGL_compressed_texture_pvrtc.idl +++ /dev/null @@ -1,13 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL WEBGL_compressed_texture_pvrtc Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvrtc/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_compressed_texture_pvrtc { - /* Compressed Texture Formats */ - const GLenum COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00; - const GLenum COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01; - const GLenum COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; - const GLenum COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; -}; diff --git a/node_modules/@webref/idl/WEBGL_compressed_texture_s3tc.idl b/node_modules/@webref/idl/WEBGL_compressed_texture_s3tc.idl deleted file mode 100644 index 5aa9b42fb4..0000000000 --- a/node_modules/@webref/idl/WEBGL_compressed_texture_s3tc.idl +++ /dev/null @@ -1,13 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL WEBGL_compressed_texture_s3tc Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3tc/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_compressed_texture_s3tc { - /* Compressed Texture Formats */ - const GLenum COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; - const GLenum COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; - const GLenum COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; - const GLenum COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3; -}; diff --git a/node_modules/@webref/idl/WEBGL_compressed_texture_s3tc_srgb.idl b/node_modules/@webref/idl/WEBGL_compressed_texture_s3tc_srgb.idl deleted file mode 100644 index a6fcd24c71..0000000000 --- a/node_modules/@webref/idl/WEBGL_compressed_texture_s3tc_srgb.idl +++ /dev/null @@ -1,13 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL WEBGL_compressed_texture_s3tc_srgb Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3tc_srgb/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_compressed_texture_s3tc_srgb { - /* Compressed Texture Formats */ - const GLenum COMPRESSED_SRGB_S3TC_DXT1_EXT = 0x8C4C; - const GLenum COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = 0x8C4D; - const GLenum COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = 0x8C4E; - const GLenum COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = 0x8C4F; -}; diff --git a/node_modules/@webref/idl/WEBGL_debug_renderer_info.idl b/node_modules/@webref/idl/WEBGL_debug_renderer_info.idl deleted file mode 100644 index 5fd1a127ac..0000000000 --- a/node_modules/@webref/idl/WEBGL_debug_renderer_info.idl +++ /dev/null @@ -1,12 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL WEBGL_debug_renderer_info Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_debug_renderer_info { - - const GLenum UNMASKED_VENDOR_WEBGL = 0x9245; - const GLenum UNMASKED_RENDERER_WEBGL = 0x9246; - -}; diff --git a/node_modules/@webref/idl/WEBGL_debug_shaders.idl b/node_modules/@webref/idl/WEBGL_debug_shaders.idl deleted file mode 100644 index 1f50c3ec9a..0000000000 --- a/node_modules/@webref/idl/WEBGL_debug_shaders.idl +++ /dev/null @@ -1,11 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL WEBGL_debug_shaders Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_debug_shaders { - - DOMString getTranslatedShaderSource(WebGLShader shader); - -}; diff --git a/node_modules/@webref/idl/WEBGL_depth_texture.idl b/node_modules/@webref/idl/WEBGL_depth_texture.idl deleted file mode 100644 index 5502b9d51c..0000000000 --- a/node_modules/@webref/idl/WEBGL_depth_texture.idl +++ /dev/null @@ -1,9 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL WEBGL_depth_texture Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_depth_texture { - const GLenum UNSIGNED_INT_24_8_WEBGL = 0x84FA; -}; diff --git a/node_modules/@webref/idl/WEBGL_draw_buffers.idl b/node_modules/@webref/idl/WEBGL_draw_buffers.idl deleted file mode 100644 index c9ca092c3c..0000000000 --- a/node_modules/@webref/idl/WEBGL_draw_buffers.idl +++ /dev/null @@ -1,46 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL WEBGL_draw_buffers Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_draw_buffers/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_draw_buffers { - const GLenum COLOR_ATTACHMENT0_WEBGL = 0x8CE0; - const GLenum COLOR_ATTACHMENT1_WEBGL = 0x8CE1; - const GLenum COLOR_ATTACHMENT2_WEBGL = 0x8CE2; - const GLenum COLOR_ATTACHMENT3_WEBGL = 0x8CE3; - const GLenum COLOR_ATTACHMENT4_WEBGL = 0x8CE4; - const GLenum COLOR_ATTACHMENT5_WEBGL = 0x8CE5; - const GLenum COLOR_ATTACHMENT6_WEBGL = 0x8CE6; - const GLenum COLOR_ATTACHMENT7_WEBGL = 0x8CE7; - const GLenum COLOR_ATTACHMENT8_WEBGL = 0x8CE8; - const GLenum COLOR_ATTACHMENT9_WEBGL = 0x8CE9; - const GLenum COLOR_ATTACHMENT10_WEBGL = 0x8CEA; - const GLenum COLOR_ATTACHMENT11_WEBGL = 0x8CEB; - const GLenum COLOR_ATTACHMENT12_WEBGL = 0x8CEC; - const GLenum COLOR_ATTACHMENT13_WEBGL = 0x8CED; - const GLenum COLOR_ATTACHMENT14_WEBGL = 0x8CEE; - const GLenum COLOR_ATTACHMENT15_WEBGL = 0x8CEF; - - const GLenum DRAW_BUFFER0_WEBGL = 0x8825; - const GLenum DRAW_BUFFER1_WEBGL = 0x8826; - const GLenum DRAW_BUFFER2_WEBGL = 0x8827; - const GLenum DRAW_BUFFER3_WEBGL = 0x8828; - const GLenum DRAW_BUFFER4_WEBGL = 0x8829; - const GLenum DRAW_BUFFER5_WEBGL = 0x882A; - const GLenum DRAW_BUFFER6_WEBGL = 0x882B; - const GLenum DRAW_BUFFER7_WEBGL = 0x882C; - const GLenum DRAW_BUFFER8_WEBGL = 0x882D; - const GLenum DRAW_BUFFER9_WEBGL = 0x882E; - const GLenum DRAW_BUFFER10_WEBGL = 0x882F; - const GLenum DRAW_BUFFER11_WEBGL = 0x8830; - const GLenum DRAW_BUFFER12_WEBGL = 0x8831; - const GLenum DRAW_BUFFER13_WEBGL = 0x8832; - const GLenum DRAW_BUFFER14_WEBGL = 0x8833; - const GLenum DRAW_BUFFER15_WEBGL = 0x8834; - - const GLenum MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF; - const GLenum MAX_DRAW_BUFFERS_WEBGL = 0x8824; - - undefined drawBuffersWEBGL(sequence buffers); -}; diff --git a/node_modules/@webref/idl/WEBGL_draw_instanced_base_vertex_base_instance.idl b/node_modules/@webref/idl/WEBGL_draw_instanced_base_vertex_base_instance.idl deleted file mode 100644 index 028a320429..0000000000 --- a/node_modules/@webref/idl/WEBGL_draw_instanced_base_vertex_base_instance.idl +++ /dev/null @@ -1,14 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL WEBGL_draw_instanced_base_vertex_base_instance Extension Draft Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_draw_instanced_base_vertex_base_instance/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_draw_instanced_base_vertex_base_instance { - undefined drawArraysInstancedBaseInstanceWEBGL( - GLenum mode, GLint first, GLsizei count, - GLsizei instanceCount, GLuint baseInstance); - undefined drawElementsInstancedBaseVertexBaseInstanceWEBGL( - GLenum mode, GLsizei count, GLenum type, GLintptr offset, - GLsizei instanceCount, GLint baseVertex, GLuint baseInstance); -}; diff --git a/node_modules/@webref/idl/WEBGL_lose_context.idl b/node_modules/@webref/idl/WEBGL_lose_context.idl deleted file mode 100644 index b4ced345a0..0000000000 --- a/node_modules/@webref/idl/WEBGL_lose_context.idl +++ /dev/null @@ -1,10 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL WEBGL_lose_context Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_lose_context { - undefined loseContext(); - undefined restoreContext(); -}; diff --git a/node_modules/@webref/idl/WEBGL_multi_draw.idl b/node_modules/@webref/idl/WEBGL_multi_draw.idl deleted file mode 100644 index d5ab6cf4f4..0000000000 --- a/node_modules/@webref/idl/WEBGL_multi_draw.idl +++ /dev/null @@ -1,32 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL WEBGL_multi_draw Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_multi_draw/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_multi_draw { - undefined multiDrawArraysWEBGL( - GLenum mode, - ([AllowShared] Int32Array or sequence) firstsList, GLuint firstsOffset, - ([AllowShared] Int32Array or sequence) countsList, GLuint countsOffset, - GLsizei drawcount); - undefined multiDrawElementsWEBGL( - GLenum mode, - ([AllowShared] Int32Array or sequence) countsList, GLuint countsOffset, - GLenum type, - ([AllowShared] Int32Array or sequence) offsetsList, GLuint offsetsOffset, - GLsizei drawcount); - undefined multiDrawArraysInstancedWEBGL( - GLenum mode, - ([AllowShared] Int32Array or sequence) firstsList, GLuint firstsOffset, - ([AllowShared] Int32Array or sequence) countsList, GLuint countsOffset, - ([AllowShared] Int32Array or sequence) instanceCountsList, GLuint instanceCountsOffset, - GLsizei drawcount); - undefined multiDrawElementsInstancedWEBGL( - GLenum mode, - ([AllowShared] Int32Array or sequence) countsList, GLuint countsOffset, - GLenum type, - ([AllowShared] Int32Array or sequence) offsetsList, GLuint offsetsOffset, - ([AllowShared] Int32Array or sequence) instanceCountsList, GLuint instanceCountsOffset, - GLsizei drawcount); -}; diff --git a/node_modules/@webref/idl/WEBGL_multi_draw_instanced_base_vertex_base_instance.idl b/node_modules/@webref/idl/WEBGL_multi_draw_instanced_base_vertex_base_instance.idl deleted file mode 100644 index 8dd3253a24..0000000000 --- a/node_modules/@webref/idl/WEBGL_multi_draw_instanced_base_vertex_base_instance.idl +++ /dev/null @@ -1,26 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebGL WEBGL_multi_draw_instanced_base_vertex_base_instance Extension Draft Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_multi_draw_instanced_base_vertex_base_instance/) - -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_multi_draw_instanced_base_vertex_base_instance { - undefined multiDrawArraysInstancedBaseInstanceWEBGL( - GLenum mode, - ([AllowShared] Int32Array or sequence) firstsList, GLuint firstsOffset, - ([AllowShared] Int32Array or sequence) countsList, GLuint countsOffset, - ([AllowShared] Int32Array or sequence) instanceCountsList, GLuint instanceCountsOffset, - ([AllowShared] Uint32Array or sequence) baseInstancesList, GLuint baseInstancesOffset, - GLsizei drawCount - ); - undefined multiDrawElementsInstancedBaseVertexBaseInstanceWEBGL( - GLenum mode, - ([AllowShared] Int32Array or sequence) countsList, GLuint countsOffset, - GLenum type, - ([AllowShared] Int32Array or sequence) offsetsList, GLuint offsetsOffset, - ([AllowShared] Int32Array or sequence) instanceCountsList, GLuint instanceCountsOffset, - ([AllowShared] Int32Array or sequence) baseVerticesList, GLuint baseVerticesOffset, - ([AllowShared] Uint32Array or sequence) baseInstancesList, GLuint baseInstancesOffset, - GLsizei drawCount - ); -}; diff --git a/node_modules/@webref/idl/WebCryptoAPI.idl b/node_modules/@webref/idl/WebCryptoAPI.idl deleted file mode 100644 index 0e68ea82f5..0000000000 --- a/node_modules/@webref/idl/WebCryptoAPI.idl +++ /dev/null @@ -1,237 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Web Cryptography API (https://w3c.github.io/webcrypto/) - -partial interface mixin WindowOrWorkerGlobalScope { - [SameObject] readonly attribute Crypto crypto; -}; - -[Exposed=(Window,Worker)] -interface Crypto { - [SecureContext] readonly attribute SubtleCrypto subtle; - ArrayBufferView getRandomValues(ArrayBufferView array); - [SecureContext] DOMString randomUUID(); -}; - -typedef (object or DOMString) AlgorithmIdentifier; - -typedef AlgorithmIdentifier HashAlgorithmIdentifier; - -dictionary Algorithm { - required DOMString name; -}; - -dictionary KeyAlgorithm { - required DOMString name; -}; - -enum KeyType { "public", "private", "secret" }; - -enum KeyUsage { "encrypt", "decrypt", "sign", "verify", "deriveKey", "deriveBits", "wrapKey", "unwrapKey" }; - -[SecureContext,Exposed=(Window,Worker),Serializable] -interface CryptoKey { - readonly attribute KeyType type; - readonly attribute boolean extractable; - readonly attribute object algorithm; - readonly attribute object usages; -}; - -enum KeyFormat { "raw", "spki", "pkcs8", "jwk" }; - -[SecureContext,Exposed=(Window,Worker)] -interface SubtleCrypto { - Promise encrypt(AlgorithmIdentifier algorithm, - CryptoKey key, - BufferSource data); - Promise decrypt(AlgorithmIdentifier algorithm, - CryptoKey key, - BufferSource data); - Promise sign(AlgorithmIdentifier algorithm, - CryptoKey key, - BufferSource data); - Promise verify(AlgorithmIdentifier algorithm, - CryptoKey key, - BufferSource signature, - BufferSource data); - Promise digest(AlgorithmIdentifier algorithm, - BufferSource data); - - Promise generateKey(AlgorithmIdentifier algorithm, - boolean extractable, - sequence keyUsages ); - Promise deriveKey(AlgorithmIdentifier algorithm, - CryptoKey baseKey, - AlgorithmIdentifier derivedKeyType, - boolean extractable, - sequence keyUsages ); - Promise deriveBits(AlgorithmIdentifier algorithm, - CryptoKey baseKey, - unsigned long length); - - Promise importKey(KeyFormat format, - (BufferSource or JsonWebKey) keyData, - AlgorithmIdentifier algorithm, - boolean extractable, - sequence keyUsages ); - Promise exportKey(KeyFormat format, CryptoKey key); - - Promise wrapKey(KeyFormat format, - CryptoKey key, - CryptoKey wrappingKey, - AlgorithmIdentifier wrapAlgorithm); - Promise unwrapKey(KeyFormat format, - BufferSource wrappedKey, - CryptoKey unwrappingKey, - AlgorithmIdentifier unwrapAlgorithm, - AlgorithmIdentifier unwrappedKeyAlgorithm, - boolean extractable, - sequence keyUsages ); -}; - -dictionary RsaOtherPrimesInfo { - // The following fields are defined in Section 6.3.2.7 of JSON Web Algorithms - DOMString r; - DOMString d; - DOMString t; -}; - -dictionary JsonWebKey { - // The following fields are defined in Section 3.1 of JSON Web Key - DOMString kty; - DOMString use; - sequence key_ops; - DOMString alg; - - // The following fields are defined in JSON Web Key Parameters Registration - boolean ext; - - // The following fields are defined in Section 6 of JSON Web Algorithms - DOMString crv; - DOMString x; - DOMString y; - DOMString d; - DOMString n; - DOMString e; - DOMString p; - DOMString q; - DOMString dp; - DOMString dq; - DOMString qi; - sequence oth; - DOMString k; -}; - -typedef Uint8Array BigInteger; - -dictionary CryptoKeyPair { - CryptoKey publicKey; - CryptoKey privateKey; -}; - -dictionary RsaKeyGenParams : Algorithm { - required [EnforceRange] unsigned long modulusLength; - required BigInteger publicExponent; -}; - -dictionary RsaHashedKeyGenParams : RsaKeyGenParams { - required HashAlgorithmIdentifier hash; -}; - -dictionary RsaKeyAlgorithm : KeyAlgorithm { - required unsigned long modulusLength; - required BigInteger publicExponent; -}; - -dictionary RsaHashedKeyAlgorithm : RsaKeyAlgorithm { - required KeyAlgorithm hash; -}; - -dictionary RsaHashedImportParams : Algorithm { - required HashAlgorithmIdentifier hash; -}; - -dictionary RsaPssParams : Algorithm { - required [EnforceRange] unsigned long saltLength; -}; - -dictionary RsaOaepParams : Algorithm { - BufferSource label; -}; - -dictionary EcdsaParams : Algorithm { - required HashAlgorithmIdentifier hash; -}; - -typedef DOMString NamedCurve; - -dictionary EcKeyGenParams : Algorithm { - required NamedCurve namedCurve; -}; - -dictionary EcKeyAlgorithm : KeyAlgorithm { - required NamedCurve namedCurve; -}; - -dictionary EcKeyImportParams : Algorithm { - required NamedCurve namedCurve; -}; - -dictionary EcdhKeyDeriveParams : Algorithm { - required CryptoKey public; -}; - -dictionary AesCtrParams : Algorithm { - required BufferSource counter; - required [EnforceRange] octet length; -}; - -dictionary AesKeyAlgorithm : KeyAlgorithm { - required unsigned short length; -}; - -dictionary AesKeyGenParams : Algorithm { - required [EnforceRange] unsigned short length; -}; - -dictionary AesDerivedKeyParams : Algorithm { - required [EnforceRange] unsigned short length; -}; - -dictionary AesCbcParams : Algorithm { - required BufferSource iv; -}; - -dictionary AesGcmParams : Algorithm { - required BufferSource iv; - BufferSource additionalData; - [EnforceRange] octet tagLength; -}; - -dictionary HmacImportParams : Algorithm { - required HashAlgorithmIdentifier hash; - [EnforceRange] unsigned long length; -}; - -dictionary HmacKeyAlgorithm : KeyAlgorithm { - required KeyAlgorithm hash; - required unsigned long length; -}; - -dictionary HmacKeyGenParams : Algorithm { - required HashAlgorithmIdentifier hash; - [EnforceRange] unsigned long length; -}; - -dictionary HkdfParams : Algorithm { - required HashAlgorithmIdentifier hash; - required BufferSource salt; - required BufferSource info; -}; - -dictionary Pbkdf2Params : Algorithm { - required BufferSource salt; - required [EnforceRange] unsigned long iterations; - required HashAlgorithmIdentifier hash; -}; diff --git a/node_modules/@webref/idl/accelerometer.idl b/node_modules/@webref/idl/accelerometer.idl deleted file mode 100644 index fc8fc07ff7..0000000000 --- a/node_modules/@webref/idl/accelerometer.idl +++ /dev/null @@ -1,40 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Accelerometer (https://w3c.github.io/accelerometer/) - -[SecureContext, Exposed=Window] -interface Accelerometer : Sensor { - constructor(optional AccelerometerSensorOptions options = {}); - readonly attribute double? x; - readonly attribute double? y; - readonly attribute double? z; -}; - -enum AccelerometerLocalCoordinateSystem { "device", "screen" }; - -dictionary AccelerometerSensorOptions : SensorOptions { - AccelerometerLocalCoordinateSystem referenceFrame = "device"; -}; - -[SecureContext, Exposed=Window] -interface LinearAccelerationSensor : Accelerometer { - constructor(optional AccelerometerSensorOptions options = {}); -}; - -[SecureContext, Exposed=Window] -interface GravitySensor : Accelerometer { - constructor(optional AccelerometerSensorOptions options = {}); -}; - -dictionary AccelerometerReadingValues { - required double? x; - required double? y; - required double? z; -}; - -dictionary LinearAccelerationReadingValues : AccelerometerReadingValues { -}; - -dictionary GravityReadingValues : AccelerometerReadingValues { -}; diff --git a/node_modules/@webref/idl/ambient-light.idl b/node_modules/@webref/idl/ambient-light.idl deleted file mode 100644 index 6d9c8e03ea..0000000000 --- a/node_modules/@webref/idl/ambient-light.idl +++ /dev/null @@ -1,14 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Ambient Light Sensor (https://w3c.github.io/ambient-light/) - -[SecureContext, Exposed=Window] -interface AmbientLightSensor : Sensor { - constructor(optional SensorOptions sensorOptions = {}); - readonly attribute double? illuminance; -}; - -dictionary AmbientLightReadingValues { - required double? illuminance; -}; diff --git a/node_modules/@webref/idl/anchors.idl b/node_modules/@webref/idl/anchors.idl deleted file mode 100644 index e92e7d10cd..0000000000 --- a/node_modules/@webref/idl/anchors.idl +++ /dev/null @@ -1,28 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: WebXR Anchors Module (https://immersive-web.github.io/anchors/) - -[SecureContext, Exposed=Window] -interface XRAnchor { - readonly attribute XRSpace anchorSpace; - - undefined delete(); -}; - -partial interface XRFrame { - Promise createAnchor(XRRigidTransform pose, XRSpace space); -}; - -partial interface XRHitTestResult { - Promise createAnchor(); -}; - -[Exposed=Window] -interface XRAnchorSet { - readonly setlike; -}; - -partial interface XRFrame { - [SameObject] readonly attribute XRAnchorSet trackedAnchors; -}; diff --git a/node_modules/@webref/idl/attribution-reporting-api.idl b/node_modules/@webref/idl/attribution-reporting-api.idl deleted file mode 100644 index 76640f54c8..0000000000 --- a/node_modules/@webref/idl/attribution-reporting-api.idl +++ /dev/null @@ -1,12 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Attribution Reporting (https://wicg.github.io/attribution-reporting-api/) - -interface mixin HTMLAttributionSrcElementUtils { - [CEReactions] attribute USVString attributionSrc; -}; - -HTMLAnchorElement includes HTMLAttributionSrcElementUtils; -HTMLImageElement includes HTMLAttributionSrcElementUtils; -HTMLScriptElement includes HTMLAttributionSrcElementUtils; diff --git a/node_modules/@webref/idl/audio-output.idl b/node_modules/@webref/idl/audio-output.idl deleted file mode 100644 index 80ceb22530..0000000000 --- a/node_modules/@webref/idl/audio-output.idl +++ /dev/null @@ -1,17 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Audio Output Devices API (https://w3c.github.io/mediacapture-output/) - -partial interface HTMLMediaElement { - [SecureContext] readonly attribute DOMString sinkId; - [SecureContext] Promise setSinkId (DOMString sinkId); -}; - -partial interface MediaDevices { - Promise selectAudioOutput(optional AudioOutputOptions options = {}); -}; - -dictionary AudioOutputOptions { - DOMString deviceId = ""; -}; diff --git a/node_modules/@webref/idl/autoplay-detection.idl b/node_modules/@webref/idl/autoplay-detection.idl deleted file mode 100644 index cd0884fe52..0000000000 --- a/node_modules/@webref/idl/autoplay-detection.idl +++ /dev/null @@ -1,19 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Autoplay Policy Detection (https://w3c.github.io/autoplay/) - -enum AutoplayPolicy { - "allowed", - "allowed-muted", - "disallowed" -}; - -enum AutoplayPolicyMediaType { "mediaelement", "audiocontext" }; - -[Exposed=Window] -partial interface Navigator { - AutoplayPolicy getAutoplayPolicy(AutoplayPolicyMediaType type); - AutoplayPolicy getAutoplayPolicy(HTMLMediaElement element); - AutoplayPolicy getAutoplayPolicy(AudioContext context); -}; diff --git a/node_modules/@webref/idl/background-fetch.idl b/node_modules/@webref/idl/background-fetch.idl deleted file mode 100644 index 993bd8bc2f..0000000000 --- a/node_modules/@webref/idl/background-fetch.idl +++ /dev/null @@ -1,89 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Background Fetch (https://wicg.github.io/background-fetch/) - -partial interface ServiceWorkerGlobalScope { - attribute EventHandler onbackgroundfetchsuccess; - attribute EventHandler onbackgroundfetchfail; - attribute EventHandler onbackgroundfetchabort; - attribute EventHandler onbackgroundfetchclick; -}; - -partial interface ServiceWorkerRegistration { - readonly attribute BackgroundFetchManager backgroundFetch; -}; - -[Exposed=(Window,Worker)] -interface BackgroundFetchManager { - Promise fetch(DOMString id, (RequestInfo or sequence) requests, optional BackgroundFetchOptions options = {}); - Promise get(DOMString id); - Promise> getIds(); -}; - -dictionary BackgroundFetchUIOptions { - sequence icons; - DOMString title; -}; - -dictionary BackgroundFetchOptions : BackgroundFetchUIOptions { - unsigned long long downloadTotal = 0; -}; - -[Exposed=(Window,Worker)] -interface BackgroundFetchRegistration : EventTarget { - readonly attribute DOMString id; - readonly attribute unsigned long long uploadTotal; - readonly attribute unsigned long long uploaded; - readonly attribute unsigned long long downloadTotal; - readonly attribute unsigned long long downloaded; - readonly attribute BackgroundFetchResult result; - readonly attribute BackgroundFetchFailureReason failureReason; - readonly attribute boolean recordsAvailable; - - attribute EventHandler onprogress; - - Promise abort(); - Promise match(RequestInfo request, optional CacheQueryOptions options = {}); - Promise> matchAll(optional RequestInfo request, optional CacheQueryOptions options = {}); -}; - -enum BackgroundFetchResult { "", "success", "failure" }; - -enum BackgroundFetchFailureReason { - // The background fetch has not completed yet, or was successful. - "", - // The operation was aborted by the user, or abort() was called. - "aborted", - // A response had a not-ok-status. - "bad-status", - // A fetch failed for other reasons, e.g. CORS, MIX, an invalid partial response, - // or a general network failure for a fetch that cannot be retried. - "fetch-error", - // Storage quota was reached during the operation. - "quota-exceeded", - // The provided downloadTotal was exceeded. - "download-total-exceeded" -}; - -[Exposed=(Window,Worker)] -interface BackgroundFetchRecord { - readonly attribute Request request; - readonly attribute Promise responseReady; -}; - -[Exposed=ServiceWorker] -interface BackgroundFetchEvent : ExtendableEvent { - constructor(DOMString type, BackgroundFetchEventInit init); - readonly attribute BackgroundFetchRegistration registration; -}; - -dictionary BackgroundFetchEventInit : ExtendableEventInit { - required BackgroundFetchRegistration registration; -}; - -[Exposed=ServiceWorker] -interface BackgroundFetchUpdateUIEvent : BackgroundFetchEvent { - constructor(DOMString type, BackgroundFetchEventInit init); - Promise updateUI(optional BackgroundFetchUIOptions options = {}); -}; diff --git a/node_modules/@webref/idl/background-sync.idl b/node_modules/@webref/idl/background-sync.idl deleted file mode 100644 index 79a13a617a..0000000000 --- a/node_modules/@webref/idl/background-sync.idl +++ /dev/null @@ -1,30 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Web Background Synchronization (https://wicg.github.io/background-sync/spec/) - -partial interface ServiceWorkerRegistration { - readonly attribute SyncManager sync; -}; - -[Exposed=(Window,Worker)] -interface SyncManager { - Promise register(DOMString tag); - Promise> getTags(); -}; - -partial interface ServiceWorkerGlobalScope { - attribute EventHandler onsync; -}; - -[Exposed=ServiceWorker] -interface SyncEvent : ExtendableEvent { - constructor(DOMString type, SyncEventInit init); - readonly attribute DOMString tag; - readonly attribute boolean lastChance; -}; - -dictionary SyncEventInit : ExtendableEventInit { - required DOMString tag; - boolean lastChance = false; -}; diff --git a/node_modules/@webref/idl/badging.idl b/node_modules/@webref/idl/badging.idl deleted file mode 100644 index 28578621c9..0000000000 --- a/node_modules/@webref/idl/badging.idl +++ /dev/null @@ -1,21 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Badging API (https://w3c.github.io/badging/) - -// Methods only exposed on documents. -[SecureContext] -partial interface Navigator { - Promise setClientBadge(optional [EnforceRange] unsigned long long contents); - Promise clearClientBadge(); -}; - -// Methods exposed on both documents and service workers. -[SecureContext] -interface mixin NavigatorBadge { - Promise setAppBadge(optional [EnforceRange] unsigned long long contents); - Promise clearAppBadge(); -}; - -Navigator includes NavigatorBadge; -WorkerNavigator includes NavigatorBadge; diff --git a/node_modules/@webref/idl/battery-status.idl b/node_modules/@webref/idl/battery-status.idl deleted file mode 100644 index 2d042db28a..0000000000 --- a/node_modules/@webref/idl/battery-status.idl +++ /dev/null @@ -1,21 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Battery Status API (https://w3c.github.io/battery/) - -[SecureContext] -partial interface Navigator { - Promise getBattery(); -}; - -[SecureContext, Exposed=Window] -interface BatteryManager : EventTarget { - readonly attribute boolean charging; - readonly attribute unrestricted double chargingTime; - readonly attribute unrestricted double dischargingTime; - readonly attribute double level; - attribute EventHandler onchargingchange; - attribute EventHandler onchargingtimechange; - attribute EventHandler ondischargingtimechange; - attribute EventHandler onlevelchange; -}; diff --git a/node_modules/@webref/idl/beacon.idl b/node_modules/@webref/idl/beacon.idl deleted file mode 100644 index 103a999fd4..0000000000 --- a/node_modules/@webref/idl/beacon.idl +++ /dev/null @@ -1,8 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Beacon (https://w3c.github.io/beacon/) - -partial interface Navigator { - boolean sendBeacon(USVString url, optional BodyInit? data = null); -}; diff --git a/node_modules/@webref/idl/capture-handle-identity.idl b/node_modules/@webref/idl/capture-handle-identity.idl deleted file mode 100644 index 37b2c61dac..0000000000 --- a/node_modules/@webref/idl/capture-handle-identity.idl +++ /dev/null @@ -1,27 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Capture Handle - Bootstrapping Collaboration when Screensharing (https://w3c.github.io/mediacapture-handle/identity/) - -dictionary CaptureHandleConfig { - boolean exposeOrigin = false; - DOMString handle = ""; - sequence permittedOrigins = []; -}; - -partial interface MediaDevices { - undefined setCaptureHandleConfig(optional CaptureHandleConfig config = {}); -}; - -dictionary CaptureHandle { - DOMString origin; - DOMString handle; -}; - -partial interface MediaStreamTrack { - CaptureHandle? getCaptureHandle(); -}; - -partial interface MediaStreamTrack { - attribute EventHandler oncapturehandlechange; -}; diff --git a/node_modules/@webref/idl/clipboard-apis.idl b/node_modules/@webref/idl/clipboard-apis.idl deleted file mode 100644 index 3f2c9ba6f2..0000000000 --- a/node_modules/@webref/idl/clipboard-apis.idl +++ /dev/null @@ -1,51 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Clipboard API and events (https://w3c.github.io/clipboard-apis/) - -dictionary ClipboardEventInit : EventInit { - DataTransfer? clipboardData = null; -}; - -[Exposed=Window] -interface ClipboardEvent : Event { - constructor(DOMString type, optional ClipboardEventInit eventInitDict = {}); - readonly attribute DataTransfer? clipboardData; -}; - -partial interface Navigator { - [SecureContext, SameObject] readonly attribute Clipboard clipboard; -}; - -typedef Promise<(DOMString or Blob)> ClipboardItemData; - -[SecureContext, Exposed=Window] -interface ClipboardItem { - constructor(record items, - optional ClipboardItemOptions options = {}); - - readonly attribute PresentationStyle presentationStyle; - readonly attribute FrozenArray types; - - Promise getType(DOMString type); -}; - -enum PresentationStyle { "unspecified", "inline", "attachment" }; - -dictionary ClipboardItemOptions { - PresentationStyle presentationStyle = "unspecified"; -}; - -typedef sequence ClipboardItems; - -[SecureContext, Exposed=Window] -interface Clipboard : EventTarget { - Promise read(); - Promise readText(); - Promise write(ClipboardItems data); - Promise writeText(DOMString data); -}; - -dictionary ClipboardPermissionDescriptor : PermissionDescriptor { - boolean allowWithoutGesture = false; -}; diff --git a/node_modules/@webref/idl/close-watcher.idl b/node_modules/@webref/idl/close-watcher.idl deleted file mode 100644 index de7940c07e..0000000000 --- a/node_modules/@webref/idl/close-watcher.idl +++ /dev/null @@ -1,19 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Close Watcher API (https://wicg.github.io/close-watcher/) - -[Exposed=Window] -interface CloseWatcher : EventTarget { - constructor(optional CloseWatcherOptions options = {}); - - undefined destroy(); - undefined close(); - - attribute EventHandler oncancel; - attribute EventHandler onclose; -}; - -dictionary CloseWatcherOptions { - AbortSignal signal; -}; diff --git a/node_modules/@webref/idl/compat.idl b/node_modules/@webref/idl/compat.idl deleted file mode 100644 index 8106c2d4e0..0000000000 --- a/node_modules/@webref/idl/compat.idl +++ /dev/null @@ -1,13 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Compatibility Standard (https://compat.spec.whatwg.org/) - -partial interface Window { - readonly attribute short orientation; - attribute EventHandler onorientationchange; -}; - -partial interface HTMLBodyElement { - attribute EventHandler onorientationchange; -}; diff --git a/node_modules/@webref/idl/compression.idl b/node_modules/@webref/idl/compression.idl deleted file mode 100644 index 88be302a4a..0000000000 --- a/node_modules/@webref/idl/compression.idl +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Compression Streams (https://wicg.github.io/compression/) - -[Exposed=*] -interface CompressionStream { - constructor(DOMString format); -}; -CompressionStream includes GenericTransformStream; - -[Exposed=*] -interface DecompressionStream { - constructor(DOMString format); -}; -DecompressionStream includes GenericTransformStream; diff --git a/node_modules/@webref/idl/compute-pressure.idl b/node_modules/@webref/idl/compute-pressure.idl deleted file mode 100644 index d327122c63..0000000000 --- a/node_modules/@webref/idl/compute-pressure.idl +++ /dev/null @@ -1,40 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Compute Pressure Level 1 (https://wicg.github.io/compute-pressure/) - -enum PressureState { "nominal", "fair", "serious", "critical" }; - -enum PressureFactor { "thermal", "power-supply" }; - -callback PressureUpdateCallback = undefined ( - sequence changes, - PressureObserver observer -); - -enum PressureSource { "cpu" }; - -[Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext] -interface PressureObserver { - constructor(PressureUpdateCallback callback, optional PressureObserverOptions options = {}); - - undefined observe(PressureSource source); - undefined unobserve(PressureSource source); - undefined disconnect(); - sequence takeRecords(); - - [SameObject] static readonly attribute FrozenArray supportedSources; - - [Exposed=Window] static Promise requestPermission(); -}; - -dictionary PressureRecord { - PressureSource source; - PressureState state; - sequence factors; - DOMHighResTimeStamp time; -}; - -dictionary PressureObserverOptions { - double samplerate; -}; diff --git a/node_modules/@webref/idl/console.idl b/node_modules/@webref/idl/console.idl deleted file mode 100644 index 7cd73a6176..0000000000 --- a/node_modules/@webref/idl/console.idl +++ /dev/null @@ -1,34 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Console Standard (https://console.spec.whatwg.org/) - -[Exposed=(Window,Worker,Worklet)] -namespace console { // but see namespace object requirements below - // Logging - undefined assert(optional boolean condition = false, any... data); - undefined clear(); - undefined debug(any... data); - undefined error(any... data); - undefined info(any... data); - undefined log(any... data); - undefined table(optional any tabularData, optional sequence properties); - undefined trace(any... data); - undefined warn(any... data); - undefined dir(optional any item, optional object? options); - undefined dirxml(any... data); - - // Counting - undefined count(optional DOMString label = "default"); - undefined countReset(optional DOMString label = "default"); - - // Grouping - undefined group(any... data); - undefined groupCollapsed(any... data); - undefined groupEnd(); - - // Timing - undefined time(optional DOMString label = "default"); - undefined timeLog(optional DOMString label = "default", any... data); - undefined timeEnd(optional DOMString label = "default"); -}; diff --git a/node_modules/@webref/idl/contact-api.idl b/node_modules/@webref/idl/contact-api.idl deleted file mode 100644 index d7f2ba5d95..0000000000 --- a/node_modules/@webref/idl/contact-api.idl +++ /dev/null @@ -1,44 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Contact Picker API (https://w3c.github.io/contact-api/spec/) - -[Exposed=Window] -partial interface Navigator { - [SecureContext, SameObject] readonly attribute ContactsManager contacts; -}; - -enum ContactProperty { "address", "email", "icon", "name", "tel" }; - -[Exposed=Window] -interface ContactAddress { - [Default] object toJSON(); - readonly attribute DOMString city; - readonly attribute DOMString country; - readonly attribute DOMString dependentLocality; - readonly attribute DOMString organization; - readonly attribute DOMString phone; - readonly attribute DOMString postalCode; - readonly attribute DOMString recipient; - readonly attribute DOMString region; - readonly attribute DOMString sortingCode; - readonly attribute FrozenArray addressLine; -}; - -dictionary ContactInfo { - sequence address; - sequence email; - sequence icon; - sequence name; - sequence tel; -}; - -dictionary ContactsSelectOptions { - boolean multiple = false; -}; - -[Exposed=Window,SecureContext] -interface ContactsManager { - Promise> getProperties(); - Promise> select(sequence properties, optional ContactsSelectOptions options = {}); -}; diff --git a/node_modules/@webref/idl/content-index.idl b/node_modules/@webref/idl/content-index.idl deleted file mode 100644 index 177c5b9f11..0000000000 --- a/node_modules/@webref/idl/content-index.idl +++ /dev/null @@ -1,46 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Content Index (https://wicg.github.io/content-index/spec/) - -partial interface ServiceWorkerGlobalScope { - attribute EventHandler oncontentdelete; -}; - -partial interface ServiceWorkerRegistration { - [SameObject] readonly attribute ContentIndex index; -}; - -enum ContentCategory { - "", - "homepage", - "article", - "video", - "audio", -}; - -dictionary ContentDescription { - required DOMString id; - required DOMString title; - required DOMString description; - ContentCategory category = ""; - sequence icons = []; - required USVString url; -}; - -[Exposed=(Window,Worker)] -interface ContentIndex { - Promise add(ContentDescription description); - Promise delete(DOMString id); - Promise> getAll(); -}; - -dictionary ContentIndexEventInit : ExtendableEventInit { - required DOMString id; -}; - -[Exposed=ServiceWorker] -interface ContentIndexEvent : ExtendableEvent { - constructor(DOMString type, ContentIndexEventInit init); - readonly attribute DOMString id; -}; diff --git a/node_modules/@webref/idl/cookie-store.idl b/node_modules/@webref/idl/cookie-store.idl deleted file mode 100644 index 993b327fe7..0000000000 --- a/node_modules/@webref/idl/cookie-store.idl +++ /dev/null @@ -1,110 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Cookie Store API (https://wicg.github.io/cookie-store/) - -[Exposed=(ServiceWorker,Window), - SecureContext] -interface CookieStore : EventTarget { - Promise get(USVString name); - Promise get(optional CookieStoreGetOptions options = {}); - - Promise getAll(USVString name); - Promise getAll(optional CookieStoreGetOptions options = {}); - - Promise set(USVString name, USVString value); - Promise set(CookieInit options); - - Promise delete(USVString name); - Promise delete(CookieStoreDeleteOptions options); - - [Exposed=Window] - attribute EventHandler onchange; -}; - -dictionary CookieStoreGetOptions { - USVString name; - USVString url; -}; - -enum CookieSameSite { - "strict", - "lax", - "none" -}; - -dictionary CookieInit { - required USVString name; - required USVString value; - DOMTimeStamp? expires = null; - USVString? domain = null; - USVString path = "/"; - CookieSameSite sameSite = "strict"; -}; - -dictionary CookieStoreDeleteOptions { - required USVString name; - USVString? domain = null; - USVString path = "/"; -}; - -dictionary CookieListItem { - USVString name; - USVString value; - USVString? domain; - USVString path; - DOMTimeStamp? expires; - boolean secure; - CookieSameSite sameSite; -}; - -typedef sequence CookieList; - -[Exposed=(ServiceWorker,Window), - SecureContext] -interface CookieStoreManager { - Promise subscribe(sequence subscriptions); - Promise> getSubscriptions(); - Promise unsubscribe(sequence subscriptions); -}; - -[Exposed=(ServiceWorker,Window)] -partial interface ServiceWorkerRegistration { - [SameObject] readonly attribute CookieStoreManager cookies; -}; - -[Exposed=Window, - SecureContext] -interface CookieChangeEvent : Event { - constructor(DOMString type, optional CookieChangeEventInit eventInitDict = {}); - [SameObject] readonly attribute FrozenArray changed; - [SameObject] readonly attribute FrozenArray deleted; -}; - -dictionary CookieChangeEventInit : EventInit { - CookieList changed; - CookieList deleted; -}; - -[Exposed=ServiceWorker] -interface ExtendableCookieChangeEvent : ExtendableEvent { - constructor(DOMString type, optional ExtendableCookieChangeEventInit eventInitDict = {}); - [SameObject] readonly attribute FrozenArray changed; - [SameObject] readonly attribute FrozenArray deleted; -}; - -dictionary ExtendableCookieChangeEventInit : ExtendableEventInit { - CookieList changed; - CookieList deleted; -}; - -[SecureContext] -partial interface Window { - [SameObject] readonly attribute CookieStore cookieStore; -}; - -partial interface ServiceWorkerGlobalScope { - [SameObject] readonly attribute CookieStore cookieStore; - - attribute EventHandler oncookiechange; -}; diff --git a/node_modules/@webref/idl/crash-reporting.idl b/node_modules/@webref/idl/crash-reporting.idl deleted file mode 100644 index 7c8a0ff71f..0000000000 --- a/node_modules/@webref/idl/crash-reporting.idl +++ /dev/null @@ -1,10 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Crash Reporting (https://wicg.github.io/crash-reporting/) - -[Exposed=(Window,Worker)] -interface CrashReportBody : ReportBody { - [Default] object toJSON(); - readonly attribute DOMString? reason; -}; diff --git a/node_modules/@webref/idl/credential-management.idl b/node_modules/@webref/idl/credential-management.idl deleted file mode 100644 index bf1adbaffc..0000000000 --- a/node_modules/@webref/idl/credential-management.idl +++ /dev/null @@ -1,105 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Credential Management Level 1 (https://w3c.github.io/webappsec-credential-management/) - -[Exposed=Window, SecureContext] -interface Credential { - readonly attribute USVString id; - readonly attribute DOMString type; - static boolean isConditionalMediationAvailable(); -}; - -[SecureContext] -interface mixin CredentialUserData { - readonly attribute USVString name; - readonly attribute USVString iconURL; -}; - -partial interface Navigator { - [SecureContext, SameObject] readonly attribute CredentialsContainer credentials; -}; - -[Exposed=Window, SecureContext] -interface CredentialsContainer { - Promise get(optional CredentialRequestOptions options = {}); - Promise store(Credential credential); - Promise create(optional CredentialCreationOptions options = {}); - Promise preventSilentAccess(); -}; - -dictionary CredentialData { - required USVString id; -}; - -dictionary CredentialRequestOptions { - CredentialMediationRequirement mediation = "optional"; - AbortSignal signal; -}; - -enum CredentialMediationRequirement { - "silent", - "optional", - "conditional", - "required" -}; - -dictionary CredentialCreationOptions { - AbortSignal signal; -}; - -[Exposed=Window, - SecureContext] -interface PasswordCredential : Credential { - constructor(HTMLFormElement form); - constructor(PasswordCredentialData data); - readonly attribute USVString password; -}; -PasswordCredential includes CredentialUserData; - -partial dictionary CredentialRequestOptions { - boolean password = false; -}; - -dictionary PasswordCredentialData : CredentialData { - USVString name; - USVString iconURL; - required USVString origin; - required USVString password; -}; - -typedef (PasswordCredentialData or HTMLFormElement) PasswordCredentialInit; - -partial dictionary CredentialCreationOptions { - PasswordCredentialInit password; -}; - -[Exposed=Window, - SecureContext] -interface FederatedCredential : Credential { - constructor(FederatedCredentialInit data); - readonly attribute USVString provider; - readonly attribute DOMString? protocol; -}; -FederatedCredential includes CredentialUserData; - -dictionary FederatedCredentialRequestOptions { - sequence providers; - sequence protocols; -}; - -partial dictionary CredentialRequestOptions { - FederatedCredentialRequestOptions federated; -}; - -dictionary FederatedCredentialInit : CredentialData { - USVString name; - USVString iconURL; - required USVString origin; - required USVString provider; - DOMString protocol; -}; - -partial dictionary CredentialCreationOptions { - FederatedCredentialInit federated; -}; diff --git a/node_modules/@webref/idl/csp-embedded-enforcement.idl b/node_modules/@webref/idl/csp-embedded-enforcement.idl deleted file mode 100644 index a980630bc1..0000000000 --- a/node_modules/@webref/idl/csp-embedded-enforcement.idl +++ /dev/null @@ -1,8 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Content Security Policy: Embedded Enforcement (https://w3c.github.io/webappsec-cspee/) - -partial interface HTMLIFrameElement { - [CEReactions] attribute DOMString csp; -}; diff --git a/node_modules/@webref/idl/csp-next.idl b/node_modules/@webref/idl/csp-next.idl deleted file mode 100644 index d94b36cf88..0000000000 --- a/node_modules/@webref/idl/csp-next.idl +++ /dev/null @@ -1,21 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: Scripting Policy (https://wicg.github.io/csp-next/scripting-policy.html) - -enum ScriptingPolicyViolationType { - "externalScript", - "inlineScript", - "inlineEventHandler", - "eval" -}; - -[Exposed=(Window,Worker), SecureContext] -interface ScriptingPolicyReportBody : ReportBody { - [Default] object toJSON(); - readonly attribute DOMString violationType; - readonly attribute USVString? violationURL; - readonly attribute USVString? violationSample; - readonly attribute unsigned long lineno; - readonly attribute unsigned long colno; -}; diff --git a/node_modules/@webref/idl/css-animation-worklet.idl b/node_modules/@webref/idl/css-animation-worklet.idl deleted file mode 100644 index 82d34a3ea2..0000000000 --- a/node_modules/@webref/idl/css-animation-worklet.idl +++ /dev/null @@ -1,37 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Animation Worklet API (https://drafts.css-houdini.org/css-animationworklet-1/) - -[Exposed=Window] -partial namespace CSS { - [SameObject] readonly attribute Worklet animationWorklet; -}; - -[ Global=(Worklet,AnimationWorklet), Exposed=AnimationWorklet ] -interface AnimationWorkletGlobalScope : WorkletGlobalScope { - undefined registerAnimator(DOMString name, AnimatorInstanceConstructor animatorCtor); -}; - -callback AnimatorInstanceConstructor = any (any options, optional any state); - -[ Exposed=AnimationWorklet ] -interface WorkletAnimationEffect { - EffectTiming getTiming(); - ComputedEffectTiming getComputedTiming(); - attribute double? localTime; -}; - -[Exposed=Window] -interface WorkletAnimation : Animation { - constructor(DOMString animatorName, - optional (AnimationEffect or sequence)? effects = null, - optional AnimationTimeline? timeline, - optional any options); - readonly attribute DOMString animatorName; -}; - -[Exposed=AnimationWorklet] -interface WorkletGroupEffect { - sequence getChildren(); -}; diff --git a/node_modules/@webref/idl/css-animations-2.idl b/node_modules/@webref/idl/css-animations-2.idl deleted file mode 100644 index 84f138e8ab..0000000000 --- a/node_modules/@webref/idl/css-animations-2.idl +++ /dev/null @@ -1,9 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Animations Level 2 (https://drafts.csswg.org/css-animations-2/) - -[Exposed=Window] -interface CSSAnimation : Animation { - readonly attribute CSSOMString animationName; -}; diff --git a/node_modules/@webref/idl/css-animations.idl b/node_modules/@webref/idl/css-animations.idl deleted file mode 100644 index 8185170943..0000000000 --- a/node_modules/@webref/idl/css-animations.idl +++ /dev/null @@ -1,45 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Animations Level 1 (https://drafts.csswg.org/css-animations/) - -[Exposed=Window] -interface AnimationEvent : Event { - constructor(CSSOMString type, optional AnimationEventInit animationEventInitDict = {}); - readonly attribute CSSOMString animationName; - readonly attribute double elapsedTime; - readonly attribute CSSOMString pseudoElement; -}; -dictionary AnimationEventInit : EventInit { - CSSOMString animationName = ""; - double elapsedTime = 0.0; - CSSOMString pseudoElement = ""; -}; - -partial interface CSSRule { - const unsigned short KEYFRAMES_RULE = 7; - const unsigned short KEYFRAME_RULE = 8; -}; - -[Exposed=Window] -interface CSSKeyframeRule : CSSRule { - attribute CSSOMString keyText; - [SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style; -}; - -[Exposed=Window] -interface CSSKeyframesRule : CSSRule { - attribute CSSOMString name; - readonly attribute CSSRuleList cssRules; - - undefined appendRule(CSSOMString rule); - undefined deleteRule(CSSOMString select); - CSSKeyframeRule? findRule(CSSOMString select); -}; - -partial interface mixin GlobalEventHandlers { - attribute EventHandler onanimationstart; - attribute EventHandler onanimationiteration; - attribute EventHandler onanimationend; - attribute EventHandler onanimationcancel; -}; diff --git a/node_modules/@webref/idl/css-cascade.idl b/node_modules/@webref/idl/css-cascade.idl deleted file mode 100644 index 9011dc7fd9..0000000000 --- a/node_modules/@webref/idl/css-cascade.idl +++ /dev/null @@ -1,18 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Cascading and Inheritance Level 5 (https://drafts.csswg.org/css-cascade-5/) - -partial interface CSSImportRule { - readonly attribute CSSOMString? layerName; -}; - -[Exposed=Window] -interface CSSLayerBlockRule : CSSGroupingRule { - readonly attribute CSSOMString name; -}; - -[Exposed=Window] -interface CSSLayerStatementRule : CSSRule { - readonly attribute FrozenArray nameList; -}; diff --git a/node_modules/@webref/idl/css-conditional.idl b/node_modules/@webref/idl/css-conditional.idl deleted file mode 100644 index d87f305fdd..0000000000 --- a/node_modules/@webref/idl/css-conditional.idl +++ /dev/null @@ -1,27 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Conditional Rules Module Level 3 (https://drafts.csswg.org/css-conditional-3/) - -partial interface CSSRule { - const unsigned short SUPPORTS_RULE = 12; -}; - -[Exposed=Window] -interface CSSConditionRule : CSSGroupingRule { - readonly attribute CSSOMString conditionText; -}; - -[Exposed=Window] -interface CSSMediaRule : CSSConditionRule { - [SameObject, PutForwards=mediaText] readonly attribute MediaList media; -}; - -[Exposed=Window] -interface CSSSupportsRule : CSSConditionRule { -}; - -partial namespace CSS { - boolean supports(CSSOMString property, CSSOMString value); - boolean supports(CSSOMString conditionText); -}; diff --git a/node_modules/@webref/idl/css-contain-3.idl b/node_modules/@webref/idl/css-contain-3.idl deleted file mode 100644 index 11585b659e..0000000000 --- a/node_modules/@webref/idl/css-contain-3.idl +++ /dev/null @@ -1,8 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Containment Module Level 3 (https://drafts.csswg.org/css-contain-3/) - -[Exposed=Window] -interface CSSContainerRule : CSSConditionRule { -}; diff --git a/node_modules/@webref/idl/css-counter-styles.idl b/node_modules/@webref/idl/css-counter-styles.idl deleted file mode 100644 index 86c89e1eb2..0000000000 --- a/node_modules/@webref/idl/css-counter-styles.idl +++ /dev/null @@ -1,23 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Counter Styles Level 3 (https://drafts.csswg.org/css-counter-styles/) - -partial interface CSSRule { - const unsigned short COUNTER_STYLE_RULE = 11; -}; - -[Exposed=Window] -interface CSSCounterStyleRule : CSSRule { - attribute CSSOMString name; - attribute CSSOMString system; - attribute CSSOMString symbols; - attribute CSSOMString additiveSymbols; - attribute CSSOMString negative; - attribute CSSOMString prefix; - attribute CSSOMString suffix; - attribute CSSOMString range; - attribute CSSOMString pad; - attribute CSSOMString speakAs; - attribute CSSOMString fallback; -}; diff --git a/node_modules/@webref/idl/css-device-adapt.idl b/node_modules/@webref/idl/css-device-adapt.idl deleted file mode 100644 index bfd4a6d247..0000000000 --- a/node_modules/@webref/idl/css-device-adapt.idl +++ /dev/null @@ -1,13 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Device Adaptation Module Level 1 (https://drafts.csswg.org/css-device-adapt/) - -partial interface CSSRule { - const unsigned short VIEWPORT_RULE = 15; -}; - -[Exposed=Window] -interface CSSViewportRule : CSSRule { - readonly attribute CSSStyleDeclaration style; -}; diff --git a/node_modules/@webref/idl/css-font-loading.idl b/node_modules/@webref/idl/css-font-loading.idl deleted file mode 100644 index 89de61d73d..0000000000 --- a/node_modules/@webref/idl/css-font-loading.idl +++ /dev/null @@ -1,134 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Font Loading Module Level 3 (https://drafts.csswg.org/css-font-loading/) - -typedef (ArrayBuffer or ArrayBufferView) BinaryData; - -dictionary FontFaceDescriptors { - CSSOMString style = "normal"; - CSSOMString weight = "normal"; - CSSOMString stretch = "normal"; - CSSOMString unicodeRange = "U+0-10FFFF"; - CSSOMString variant = "normal"; - CSSOMString featureSettings = "normal"; - CSSOMString variationSettings = "normal"; - CSSOMString display = "auto"; - CSSOMString ascentOverride = "normal"; - CSSOMString descentOverride = "normal"; - CSSOMString lineGapOverride = "normal"; -}; - -enum FontFaceLoadStatus { "unloaded", "loading", "loaded", "error" }; - -[Exposed=(Window,Worker)] -interface FontFace { - constructor(CSSOMString family, (CSSOMString or BinaryData) source, - optional FontFaceDescriptors descriptors = {}); - attribute CSSOMString family; - attribute CSSOMString style; - attribute CSSOMString weight; - attribute CSSOMString stretch; - attribute CSSOMString unicodeRange; - attribute CSSOMString variant; - attribute CSSOMString featureSettings; - attribute CSSOMString variationSettings; - attribute CSSOMString display; - attribute CSSOMString ascentOverride; - attribute CSSOMString descentOverride; - attribute CSSOMString lineGapOverride; - - readonly attribute FontFaceLoadStatus status; - - Promise load(); - readonly attribute Promise loaded; -}; - -[Exposed=(Window,Worker)] -interface FontFaceFeatures { - /* The CSSWG is still discussing what goes in here */ -}; - -[Exposed=(Window,Worker)] -interface FontFaceVariationAxis { - readonly attribute DOMString name; - readonly attribute DOMString axisTag; - readonly attribute double minimumValue; - readonly attribute double maximumValue; - readonly attribute double defaultValue; -}; - -[Exposed=(Window,Worker)] -interface FontFaceVariations { - readonly setlike; -}; - -[Exposed=(Window,Worker)] -interface FontFacePalette { - iterable; - readonly attribute unsigned long length; - getter DOMString (unsigned long index); - readonly attribute boolean usableWithLightBackground; - readonly attribute boolean usableWithDarkBackground; -}; - -[Exposed=(Window,Worker)] -interface FontFacePalettes { - iterable; - readonly attribute unsigned long length; - getter FontFacePalette (unsigned long index); -}; - -partial interface FontFace { - readonly attribute FontFaceFeatures features; - readonly attribute FontFaceVariations variations; - readonly attribute FontFacePalettes palettes; -}; - -dictionary FontFaceSetLoadEventInit : EventInit { - sequence fontfaces = []; -}; - -[Exposed=(Window,Worker)] -interface FontFaceSetLoadEvent : Event { - constructor(CSSOMString type, optional FontFaceSetLoadEventInit eventInitDict = {}); - [SameObject] readonly attribute FrozenArray fontfaces; -}; - -enum FontFaceSetLoadStatus { "loading", "loaded" }; - -[Exposed=(Window,Worker)] -interface FontFaceSet : EventTarget { - constructor(sequence initialFaces); - - setlike; - FontFaceSet add(FontFace font); - boolean delete(FontFace font); - undefined clear(); - - // events for when loading state changes - attribute EventHandler onloading; - attribute EventHandler onloadingdone; - attribute EventHandler onloadingerror; - - // check and start loads if appropriate - // and fulfill promise when all loads complete - Promise> load(CSSOMString font, optional CSSOMString text = " "); - - // return whether all fonts in the fontlist are loaded - // (does not initiate load if not available) - boolean check(CSSOMString font, optional CSSOMString text = " "); - - // async notification that font loading and layout operations are done - readonly attribute Promise ready; - - // loading state, "loading" while one or more fonts loading, "loaded" otherwise - readonly attribute FontFaceSetLoadStatus status; -}; - -interface mixin FontFaceSource { - readonly attribute FontFaceSet fonts; -}; - -Document includes FontFaceSource; -WorkerGlobalScope includes FontFaceSource; diff --git a/node_modules/@webref/idl/css-fonts.idl b/node_modules/@webref/idl/css-fonts.idl deleted file mode 100644 index eddfc02521..0000000000 --- a/node_modules/@webref/idl/css-fonts.idl +++ /dev/null @@ -1,36 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Fonts Module Level 4 (https://drafts.csswg.org/css-fonts-4/) - -[Exposed=Window] -interface CSSFontFaceRule : CSSRule { - readonly attribute CSSStyleDeclaration style; -}; - -partial interface CSSRule { const unsigned short FONT_FEATURE_VALUES_RULE = 14; -}; -[Exposed=Window] -interface CSSFontFeatureValuesRule : CSSRule { - attribute CSSOMString fontFamily; - readonly attribute CSSFontFeatureValuesMap annotation; - readonly attribute CSSFontFeatureValuesMap ornaments; - readonly attribute CSSFontFeatureValuesMap stylistic; - readonly attribute CSSFontFeatureValuesMap swash; - readonly attribute CSSFontFeatureValuesMap characterVariant; - readonly attribute CSSFontFeatureValuesMap styleset; -}; - -[Exposed=Window] -interface CSSFontFeatureValuesMap { - maplike>; - undefined set(CSSOMString featureValueName, - (unsigned long or sequence) values); -}; - -[Exposed=Window]interface CSSFontPaletteValuesRule : CSSRule { - readonly attribute CSSOMString name; - readonly attribute CSSOMString fontFamily; - readonly attribute CSSOMString basePalette; - readonly attribute CSSOMString overrideColors; -}; diff --git a/node_modules/@webref/idl/css-highlight-api.idl b/node_modules/@webref/idl/css-highlight-api.idl deleted file mode 100644 index f3c6b2e9d2..0000000000 --- a/node_modules/@webref/idl/css-highlight-api.idl +++ /dev/null @@ -1,27 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Custom Highlight API Module Level 1 (https://drafts.csswg.org/css-highlight-api-1/) - -enum HighlightType { - "highlight", - "spelling-error", - "grammar-error" -}; - -[Exposed=Window] -interface Highlight { - constructor(AbstractRange... initialRanges); - setlike; - attribute long priority; - attribute HighlightType type; -}; - -partial namespace CSS { - readonly attribute HighlightRegistry highlights; -}; - -[Exposed=Window] -interface HighlightRegistry { - maplike; -}; diff --git a/node_modules/@webref/idl/css-images-4.idl b/node_modules/@webref/idl/css-images-4.idl deleted file mode 100644 index 8866b008cc..0000000000 --- a/node_modules/@webref/idl/css-images-4.idl +++ /dev/null @@ -1,8 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Images Module Level 4 (https://drafts.csswg.org/css-images-4/) - -partial namespace CSS { - [SameObject] readonly attribute any elementSources; -}; diff --git a/node_modules/@webref/idl/css-layout-api.idl b/node_modules/@webref/idl/css-layout-api.idl deleted file mode 100644 index 2b772d5b84..0000000000 --- a/node_modules/@webref/idl/css-layout-api.idl +++ /dev/null @@ -1,144 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Layout API Level 1 (https://drafts.css-houdini.org/css-layout-api-1/) - -partial namespace CSS { - [SameObject] readonly attribute Worklet layoutWorklet; -}; - -[Global=(Worklet,LayoutWorklet),Exposed=LayoutWorklet] -interface LayoutWorkletGlobalScope : WorkletGlobalScope { - undefined registerLayout(DOMString name, VoidFunction layoutCtor); -}; - -dictionary LayoutOptions { - ChildDisplayType childDisplay = "block"; - LayoutSizingMode sizing = "block-like"; -}; - -enum ChildDisplayType { - "block", // default - "blockifies" the child boxes. - "normal", -}; - -enum LayoutSizingMode { - "block-like", // default - Sizing behaves like block containers. - "manual", // Sizing is specified by the web developer. -}; - -[Exposed=LayoutWorklet] -interface LayoutChild { - readonly attribute StylePropertyMapReadOnly styleMap; - - Promise intrinsicSizes(); - Promise layoutNextFragment(LayoutConstraintsOptions constraints, ChildBreakToken breakToken); -}; - -[Exposed=LayoutWorklet] -interface LayoutFragment { - readonly attribute double inlineSize; - readonly attribute double blockSize; - - attribute double inlineOffset; - attribute double blockOffset; - - readonly attribute any data; - - readonly attribute ChildBreakToken? breakToken; -}; - -[Exposed=LayoutWorklet] -interface IntrinsicSizes { - readonly attribute double minContentSize; - readonly attribute double maxContentSize; -}; - -[Exposed=LayoutWorklet] -interface LayoutConstraints { - readonly attribute double availableInlineSize; - readonly attribute double availableBlockSize; - - readonly attribute double? fixedInlineSize; - readonly attribute double? fixedBlockSize; - - readonly attribute double percentageInlineSize; - readonly attribute double percentageBlockSize; - - readonly attribute double? blockFragmentationOffset; - readonly attribute BlockFragmentationType blockFragmentationType; - - readonly attribute any data; -}; - -enum BlockFragmentationType { "none", "page", "column", "region" }; - -dictionary LayoutConstraintsOptions { - double availableInlineSize; - double availableBlockSize; - - double fixedInlineSize; - double fixedBlockSize; - - double percentageInlineSize; - double percentageBlockSize; - - double blockFragmentationOffset; - BlockFragmentationType blockFragmentationType = "none"; - - any data; -}; - -[Exposed=LayoutWorklet] -interface ChildBreakToken { - readonly attribute BreakType breakType; - readonly attribute LayoutChild child; -}; - -[Exposed=LayoutWorklet] -interface BreakToken { - readonly attribute FrozenArray childBreakTokens; - readonly attribute any data; -}; - -dictionary BreakTokenOptions { - sequence childBreakTokens; - any data = null; -}; - -enum BreakType { "none", "line", "column", "page", "region" }; - -[Exposed=LayoutWorklet] -interface LayoutEdges { - readonly attribute double inlineStart; - readonly attribute double inlineEnd; - - readonly attribute double blockStart; - readonly attribute double blockEnd; - - // Convenience attributes for the sum in one direction. - readonly attribute double inline; - readonly attribute double block; -}; - -// This is the final return value from the author defined layout() method. -dictionary FragmentResultOptions { - double inlineSize = 0; - double blockSize = 0; - double autoBlockSize = 0; - sequence childFragments = []; - any data = null; - BreakTokenOptions breakToken = null; -}; - -[Exposed=LayoutWorklet] -interface FragmentResult { - constructor(optional FragmentResultOptions options = {}); - readonly attribute double inlineSize; - readonly attribute double blockSize; -}; - -dictionary IntrinsicSizesResultOptions { - double maxContentSize; - double minContentSize; -}; diff --git a/node_modules/@webref/idl/css-masking.idl b/node_modules/@webref/idl/css-masking.idl deleted file mode 100644 index 72fbd9aa1f..0000000000 --- a/node_modules/@webref/idl/css-masking.idl +++ /dev/null @@ -1,20 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Masking Module Level 1 (https://drafts.fxtf.org/css-masking-1/) - -[Exposed=Window] -interface SVGClipPathElement : SVGElement { - readonly attribute SVGAnimatedEnumeration clipPathUnits; - readonly attribute SVGAnimatedTransformList transform; -}; - -[Exposed=Window] -interface SVGMaskElement : SVGElement { - readonly attribute SVGAnimatedEnumeration maskUnits; - readonly attribute SVGAnimatedEnumeration maskContentUnits; - readonly attribute SVGAnimatedLength x; - readonly attribute SVGAnimatedLength y; - readonly attribute SVGAnimatedLength width; - readonly attribute SVGAnimatedLength height; -}; diff --git a/node_modules/@webref/idl/css-nav.idl b/node_modules/@webref/idl/css-nav.idl deleted file mode 100644 index 03f039e4cb..0000000000 --- a/node_modules/@webref/idl/css-nav.idl +++ /dev/null @@ -1,48 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Spatial Navigation Level 1 (https://drafts.csswg.org/css-nav-1/) - -enum SpatialNavigationDirection { - "up", - "down", - "left", - "right", -}; - -partial interface Window { - undefined navigate(SpatialNavigationDirection dir); -}; - -enum FocusableAreaSearchMode { - "visible", - "all" -}; - -dictionary FocusableAreasOption { - FocusableAreaSearchMode mode; -}; - -dictionary SpatialNavigationSearchOptions { - sequence? candidates; - Node? container; -}; - -partial interface Element { - Node getSpatialNavigationContainer(); - sequence focusableAreas(optional FocusableAreasOption option = {}); - Node? spatialNavigationSearch(SpatialNavigationDirection dir, optional SpatialNavigationSearchOptions options = {}); -}; - -[Exposed=Window] -interface NavigationEvent : UIEvent { - constructor(DOMString type, - optional NavigationEventInit eventInitDict = {}); - readonly attribute SpatialNavigationDirection dir; - readonly attribute EventTarget? relatedTarget; -}; - -dictionary NavigationEventInit : UIEventInit { - SpatialNavigationDirection dir; - EventTarget? relatedTarget = null; -}; diff --git a/node_modules/@webref/idl/css-nesting.idl b/node_modules/@webref/idl/css-nesting.idl deleted file mode 100644 index 8d3cccbc64..0000000000 --- a/node_modules/@webref/idl/css-nesting.idl +++ /dev/null @@ -1,19 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Nesting Module (https://drafts.csswg.org/css-nesting/) - -partial interface CSSStyleRule { - [SameObject] readonly attribute CSSRuleList cssRules; - unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0); - undefined deleteRule(unsigned long index); -}; - -[Exposed=Window] -interface CSSNestingRule : CSSRule { - attribute CSSOMString selectorText; - [SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style; - [SameObject] readonly attribute CSSRuleList cssRules; - unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0); - undefined deleteRule(unsigned long index); -}; diff --git a/node_modules/@webref/idl/css-paint-api.idl b/node_modules/@webref/idl/css-paint-api.idl deleted file mode 100644 index 0924c53556..0000000000 --- a/node_modules/@webref/idl/css-paint-api.idl +++ /dev/null @@ -1,39 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Painting API Level 1 (https://drafts.css-houdini.org/css-paint-api-1/) - -partial namespace CSS { - [SameObject] readonly attribute Worklet paintWorklet; -}; - -[Global=(Worklet,PaintWorklet),Exposed=PaintWorklet] -interface PaintWorkletGlobalScope : WorkletGlobalScope { - undefined registerPaint(DOMString name, VoidFunction paintCtor); - readonly attribute unrestricted double devicePixelRatio; -}; - -dictionary PaintRenderingContext2DSettings { - boolean alpha = true; -}; - -[Exposed=PaintWorklet] -interface PaintRenderingContext2D { -}; -PaintRenderingContext2D includes CanvasState; -PaintRenderingContext2D includes CanvasTransform; -PaintRenderingContext2D includes CanvasCompositing; -PaintRenderingContext2D includes CanvasImageSmoothing; -PaintRenderingContext2D includes CanvasFillStrokeStyles; -PaintRenderingContext2D includes CanvasShadowStyles; -PaintRenderingContext2D includes CanvasRect; -PaintRenderingContext2D includes CanvasDrawPath; -PaintRenderingContext2D includes CanvasDrawImage; -PaintRenderingContext2D includes CanvasPathDrawingStyles; -PaintRenderingContext2D includes CanvasPath; - -[Exposed=PaintWorklet] -interface PaintSize { - readonly attribute double width; - readonly attribute double height; -}; diff --git a/node_modules/@webref/idl/css-parser-api.idl b/node_modules/@webref/idl/css-parser-api.idl deleted file mode 100644 index 4e34a3f25d..0000000000 --- a/node_modules/@webref/idl/css-parser-api.idl +++ /dev/null @@ -1,76 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Parser API (https://wicg.github.io/css-parser-api/) - -typedef (DOMString or ReadableStream) CSSStringSource; -typedef (DOMString or CSSStyleValue or CSSParserValue) CSSToken; - -partial namespace CSS { - Promise> parseStylesheet(CSSStringSource css, optional CSSParserOptions options = {}); - Promise> parseRuleList(CSSStringSource css, optional CSSParserOptions options = {}); - Promise parseRule(CSSStringSource css, optional CSSParserOptions options = {}); - Promise> parseDeclarationList(CSSStringSource css, optional CSSParserOptions options = {}); - CSSParserDeclaration parseDeclaration(DOMString css, optional CSSParserOptions options = {}); - CSSToken parseValue(DOMString css); - sequence parseValueList(DOMString css); - sequence> parseCommaValueList(DOMString css); -}; - -dictionary CSSParserOptions { - object atRules; - /* dict of at-rule name => at-rule type - (contains decls or contains qualified rules) */ -}; - -[Exposed=Window] -interface CSSParserRule { - /* Just a superclass. */ -}; - -[Exposed=Window] -interface CSSParserAtRule : CSSParserRule { - constructor(DOMString name, sequence prelude, optional sequence? body); - readonly attribute DOMString name; - readonly attribute FrozenArray prelude; - readonly attribute FrozenArray? body; - /* nullable to handle at-statements */ - stringifier; -}; - -[Exposed=Window] -interface CSSParserQualifiedRule : CSSParserRule { - constructor(sequence prelude, optional sequence? body); - readonly attribute FrozenArray prelude; - readonly attribute FrozenArray body; - stringifier; -}; - -[Exposed=Window] -interface CSSParserDeclaration : CSSParserRule { - constructor(DOMString name, optional sequence body); - readonly attribute DOMString name; - readonly attribute FrozenArray body; - stringifier; -}; - -[Exposed=Window] -interface CSSParserValue { - /* Just a superclass. */ -}; - -[Exposed=Window] -interface CSSParserBlock : CSSParserValue { - constructor(DOMString name, sequence body); - readonly attribute DOMString name; /* "[]", "{}", or "()" */ - readonly attribute FrozenArray body; - stringifier; -}; - -[Exposed=Window] -interface CSSParserFunction : CSSParserValue { - constructor(DOMString name, sequence> args); - readonly attribute DOMString name; - readonly attribute FrozenArray> args; - stringifier; -}; diff --git a/node_modules/@webref/idl/css-properties-values-api.idl b/node_modules/@webref/idl/css-properties-values-api.idl deleted file mode 100644 index eb7d7b027e..0000000000 --- a/node_modules/@webref/idl/css-properties-values-api.idl +++ /dev/null @@ -1,23 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Properties and Values API Level 1 (https://drafts.css-houdini.org/css-properties-values-api-1/) - -dictionary PropertyDefinition { - required DOMString name; - DOMString syntax = "*"; - required boolean inherits; - DOMString initialValue; -}; - -partial namespace CSS { - undefined registerProperty(PropertyDefinition definition); -}; - -[Exposed=Window] -interface CSSPropertyRule : CSSRule { - readonly attribute CSSOMString name; - readonly attribute CSSOMString syntax; - readonly attribute boolean inherits; - readonly attribute CSSOMString? initialValue; -}; diff --git a/node_modules/@webref/idl/css-pseudo.idl b/node_modules/@webref/idl/css-pseudo.idl deleted file mode 100644 index dbe4c5461f..0000000000 --- a/node_modules/@webref/idl/css-pseudo.idl +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Pseudo-Elements Module Level 4 (https://drafts.csswg.org/css-pseudo-4/) - -[Exposed=Window] -interface CSSPseudoElement : EventTarget { - readonly attribute CSSOMString type; - readonly attribute Element element; - readonly attribute (Element or CSSPseudoElement) parent; - CSSPseudoElement? pseudo(CSSOMString type); -}; - -partial interface Element { - CSSPseudoElement? pseudo(CSSOMString type); -}; diff --git a/node_modules/@webref/idl/css-regions.idl b/node_modules/@webref/idl/css-regions.idl deleted file mode 100644 index 7d615fcead..0000000000 --- a/node_modules/@webref/idl/css-regions.idl +++ /dev/null @@ -1,29 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Regions Module Level 1 (https://drafts.csswg.org/css-regions/) - -partial interface Document { - readonly attribute NamedFlowMap namedFlows; -}; - -[Exposed=Window] interface NamedFlowMap { - maplike; -}; - -[Exposed=Window] -interface NamedFlow : EventTarget { - readonly attribute CSSOMString name; - readonly attribute boolean overset; - sequence getRegions(); - readonly attribute short firstEmptyRegionIndex; - sequence getContent(); - sequence getRegionsByContent(Node node); -}; - -interface mixin Region { - readonly attribute CSSOMString regionOverset; - sequence? getRegionFlowRanges(); -}; - -Element includes Region; diff --git a/node_modules/@webref/idl/css-shadow-parts.idl b/node_modules/@webref/idl/css-shadow-parts.idl deleted file mode 100644 index b7ad99671a..0000000000 --- a/node_modules/@webref/idl/css-shadow-parts.idl +++ /dev/null @@ -1,8 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Shadow Parts (https://drafts.csswg.org/css-shadow-parts/) - -partial interface Element { - [SameObject, PutForwards=value] readonly attribute DOMTokenList part; -}; diff --git a/node_modules/@webref/idl/css-transitions-2.idl b/node_modules/@webref/idl/css-transitions-2.idl deleted file mode 100644 index 9d06f3cf26..0000000000 --- a/node_modules/@webref/idl/css-transitions-2.idl +++ /dev/null @@ -1,9 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Transitions Level 2 (https://drafts.csswg.org/css-transitions-2/) - -[Exposed=Window] -interface CSSTransition : Animation { - readonly attribute CSSOMString transitionProperty; -}; diff --git a/node_modules/@webref/idl/css-transitions.idl b/node_modules/@webref/idl/css-transitions.idl deleted file mode 100644 index 174bf209f1..0000000000 --- a/node_modules/@webref/idl/css-transitions.idl +++ /dev/null @@ -1,25 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Transitions (https://drafts.csswg.org/css-transitions/) - -[Exposed=Window] -interface TransitionEvent : Event { - constructor(CSSOMString type, optional TransitionEventInit transitionEventInitDict = {}); - readonly attribute CSSOMString propertyName; - readonly attribute double elapsedTime; - readonly attribute CSSOMString pseudoElement; -}; - -dictionary TransitionEventInit : EventInit { - CSSOMString propertyName = ""; - double elapsedTime = 0.0; - CSSOMString pseudoElement = ""; -}; - -partial interface mixin GlobalEventHandlers { - attribute EventHandler ontransitionrun; - attribute EventHandler ontransitionstart; - attribute EventHandler ontransitionend; - attribute EventHandler ontransitioncancel; -}; diff --git a/node_modules/@webref/idl/css-typed-om.idl b/node_modules/@webref/idl/css-typed-om.idl deleted file mode 100644 index 595a424e01..0000000000 --- a/node_modules/@webref/idl/css-typed-om.idl +++ /dev/null @@ -1,425 +0,0 @@ -// GENERATED CONTENT - DO NOT EDIT -// Content was automatically extracted by Reffy into webref -// (https://github.com/w3c/webref) -// Source: CSS Typed OM Level 1 (https://drafts.css-houdini.org/css-typed-om-1/) - -[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] -interface CSSStyleValue { - stringifier; - [Exposed=Window] static CSSStyleValue parse(USVString property, USVString cssText); - [Exposed=Window] static sequence parseAll(USVString property, USVString cssText); -}; - -[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] -interface StylePropertyMapReadOnly { - iterable>; - any get(USVString property); - /* 'any' means (undefined or CSSStyleValue) here, - see https://github.com/heycam/webidl/issues/60 */ - sequence getAll(USVString property); - boolean has(USVString property); - readonly attribute unsigned long size; -}; - -[Exposed=Window] -interface StylePropertyMap : StylePropertyMapReadOnly { - undefined set(USVString property, (CSSStyleValue or USVString)... values); - undefined append(USVString property, (CSSStyleValue or USVString)... values); - undefined delete(USVString property); - undefined clear(); -}; - -partial interface Element { - [SameObject] StylePropertyMapReadOnly computedStyleMap(); -}; - -partial interface CSSStyleRule { - [SameObject] readonly attribute StylePropertyMap styleMap; -}; - -partial interface mixin ElementCSSInlineStyle { - [SameObject] readonly attribute StylePropertyMap attributeStyleMap; -}; - -[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] -interface CSSUnparsedValue : CSSStyleValue { - constructor(sequence members); - iterable; - readonly attribute unsigned long length; - getter CSSUnparsedSegment (unsigned long index); - setter CSSUnparsedSegment (unsigned long index, CSSUnparsedSegment val); -}; - -typedef (USVString or CSSVariableReferenceValue) CSSUnparsedSegment; - -[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] -interface CSSVariableReferenceValue { - constructor(USVString variable, optional CSSUnparsedValue? fallback = null); - attribute USVString variable; - readonly attribute CSSUnparsedValue? fallback; -}; - -[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] -interface CSSKeywordValue : CSSStyleValue { - constructor(USVString value); - attribute USVString value; -}; - -typedef (DOMString or CSSKeywordValue) CSSKeywordish; - -typedef (double or CSSNumericValue) CSSNumberish; - -enum CSSNumericBaseType { - "length", - "angle", - "time", - "frequency", - "resolution", - "flex", - "percent", -}; - -dictionary CSSNumericType { - long length; - long angle; - long time; - long frequency; - long resolution; - long flex; - long percent; - CSSNumericBaseType percentHint; -}; - -[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] -interface CSSNumericValue : CSSStyleValue { - CSSNumericValue add(CSSNumberish... values); - CSSNumericValue sub(CSSNumberish... values); - CSSNumericValue mul(CSSNumberish... values); - CSSNumericValue div(CSSNumberish... values); - CSSNumericValue min(CSSNumberish... values); - CSSNumericValue max(CSSNumberish... values); - - boolean equals(CSSNumberish... value); - - CSSUnitValue to(USVString unit); - CSSMathSum toSum(USVString... units); - CSSNumericType type(); - - [Exposed=Window] static CSSNumericValue parse(USVString cssText); -}; - -[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] -interface CSSUnitValue : CSSNumericValue { - constructor(double value, USVString unit); - attribute double value; - readonly attribute USVString unit; -}; - -[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] -interface CSSMathValue : CSSNumericValue { - readonly attribute CSSMathOperator operator; -}; - -[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] -interface CSSMathSum : CSSMathValue { - constructor(CSSNumberish... args); - readonly attribute CSSNumericArray values; -}; - -[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] -interface CSSMathProduct : CSSMathValue { - constructor(CSSNumberish... args); - readonly attribute CSSNumericArray values; -}; - -[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] -interface CSSMathNegate : CSSMathValue { - constructor(CSSNumberish arg); - readonly attribute CSSNumericValue value; -}; - -[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] -interface CSSMathInvert : CSSMathValue { - constructor(CSSNumberish arg); - readonly attribute CSSNumericValue value; -}; - -[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] -interface CSSMathMin : CSSMathValue { - constructor(CSSNumberish... args); - readonly attribute CSSNumericArray values; -}; - -[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] -interface CSSMathMax : CSSMathValue { - constructor(CSSNumberish... args); - readonly attribute CSSNumericArray values; -}; - -[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] -interface CSSMathClamp : CSSMathValue { - constructor(CSSNumberish lower, CSSNumberish value, CSSNumberish upper); - readonly attribute CSSNumericValue lower; - readonly attribute CSSNumericValue value; - readonly attribute CSSNumericValue upper; -}; - -[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] -interface CSSNumericArray { - iterable; - readonly attribute unsigned long length; - getter CSSNumericValue (unsigned long index); -}; - -enum CSSMathOperator { - "sum", - "product", - "negate", - "invert", - "min", - "max", - "clamp", -}; - -partial namespace CSS { - CSSUnitValue number(double value); - CSSUnitValue percent(double value); - - // - CSSUnitValue em(double value); - CSSUnitValue ex(double value); - CSSUnitValue ch(double value); - CSSUnitValue ic(double value); - CSSUnitValue rem(double value); - CSSUnitValue lh(double value); - CSSUnitValue rlh(double value); - CSSUnitValue vw(double value); - CSSUnitValue vh(double value); - CSSUnitValue vi(double value); - CSSUnitValue vb(double value); - CSSUnitValue vmin(double value); - CSSUnitValue vmax(double value); - CSSUnitValue svw(double value); - CSSUnitValue svh(double value); - CSSUnitValue svi(double value); - CSSUnitValue svb(double value); - CSSUnitValue svmin(double value); - CSSUnitValue svmax(double value); - CSSUnitValue lvw(double value); - CSSUnitValue lvh(double value); - CSSUnitValue lvi(double value); - CSSUnitValue lvb(double value); - CSSUnitValue lvmin(double value); - CSSUnitValue lvmax(double value); - CSSUnitValue dvw(double value); - CSSUnitValue dvh(double value); - CSSUnitValue dvi(double value); - CSSUnitValue dvb(double value); - CSSUnitValue dvmin(double value); - CSSUnitValue dvmax(double value); - CSSUnitValue cqw(double value); - CSSUnitValue cqh(double value); - CSSUnitValue cqi(double value); - CSSUnitValue cqb(double value); - CSSUnitValue cqmin(double value); - CSSUnitValue cqmax(double value); - CSSUnitValue cm(double value); - CSSUnitValue mm(double value); - CSSUnitValue Q(double value); - CSSUnitValue in(double value); - CSSUnitValue pt(double value); - CSSUnitValue pc(double value); - CSSUnitValue px(double value); - - // - CSSUnitValue deg(double value); - CSSUnitValue grad(double value); - CSSUnitValue rad(double value); - CSSUnitValue turn(double value); - - //