@quick-game/cli
Version:
Command line interface for rapid qg development
1,293 lines • 67.7 kB
JavaScript
// 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
/**
* 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,
};
/**
* 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 = {
'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': {},
},
},
'HTMLDirectory