UNPKG

@html-eslint/eslint-plugin

Version:
621 lines (619 loc) 19.8 kB
/** This file is auto-generated. (yarn run baseline) */ const BASELINE_HIGH = 10; const BASELINE_LOW = 5; const BASELINE_FALSE = 0; const elements = new Map([ ["a", "10:2015"], ["a.attributionsourceid", "0:"], ["a.attributionsrc", "0:"], ["a.download", "10:2019"], ["a.href", "10:2015"], ["a.href.href_sms", "0:"], ["a.href.href_top", "10:2015"], ["a.hreflang", "10:2015"], ["a.implicit_noopener", "10:2021"], ["a.ping", "0:"], ["a.referrerpolicy", "10:2020"], ["a.referrerpolicy.no-referrer-when-downgrade", "0:"], ["a.referrerpolicy.origin-when-cross-origin", "0:"], ["a.referrerpolicy.unsafe-url", "0:"], ["a.rel", "10:2015"], ["a.rel.noopener", "10:2020"], ["a.rel.noreferrer", "10:2015"], ["a.target", "10:2015"], ["a.target.unfencedTop", "0:"], ["a.text_fragments", "5:2024"], ["a.type", "10:2015"], ["abbr", "10:2015"], ["address", "10:2015"], ["area", "10:2015"], ["area.alt", "10:2015"], ["area.attributionsrc", "0:"], ["area.coords", "10:2015"], ["area.download", "10:2017"], ["area.href", "10:2015"], ["area.implicit_noopener", "10:2021"], ["area.ping", "0:"], ["area.referrerpolicy", "10:2020"], ["area.referrerpolicy.no-referrer-when-downgrade", "0:"], ["area.referrerpolicy.origin-when-cross-origin", "0:"], ["area.referrerpolicy.unsafe-url", "0:"], ["area.rel", "10:2015"], ["area.rel.noopener", "10:2020"], ["area.rel.noreferrer", "10:2015"], ["area.shape", "10:2015"], ["area.target", "10:2015"], ["article", "10:2015"], ["aside", "10:2015"], ["audio", "10:2015"], ["audio.controls", "10:2015"], ["audio.controlslist", "0:"], ["audio.crossorigin", "10:2020"], ["audio.disableremoteplayback", "0:"], ["audio.loop", "10:2015"], ["audio.muted", "10:2018"], ["audio.preload", "10:2015"], ["audio.src", "10:2015"], ["b", "10:2015"], ["base", "10:2015"], ["base.href", "10:2015"], ["base.href.forbid_data_javascript_urls", "5:2024"], ["base.href.relative_url", "10:2015"], ["base.target", "10:2015"], ["bdi", "10:2020"], ["bdo", "10:2015"], ["blockquote", "10:2015"], ["blockquote.cite", "10:2015"], ["body", "10:2015"], ["br", "10:2015"], ["button", "10:2015"], ["button.command", "5:2025"], ["button.command.request-close", "5:2025"], ["button.commandfor", "5:2025"], ["button.disabled", "10:2015"], ["button.form", "10:2017"], ["button.formaction", "10:2015"], ["button.formenctype", "10:2015"], ["button.formmethod", "10:2015"], ["button.formnovalidate", "10:2015"], ["button.formtarget", "10:2015"], ["button.name", "10:2015"], ["button.popovertarget", "5:2024"], ["button.popovertarget.implicit_anchor_reference", "0:"], ["button.popovertargetaction", "5:2024"], ["button.type", "10:2015"], ["button.value", "10:2015"], ["canvas", "10:2015"], ["canvas.height", "10:2015"], ["canvas.width", "10:2015"], ["caption", "10:2015"], ["caption.align", "0:"], ["cite", "10:2015"], ["code", "10:2015"], ["col", "10:2015"], ["col.align", "0:"], ["col.char", "0:"], ["col.charoff", "0:"], ["col.span", "0:"], ["col.valign", "0:"], ["col.width", "0:"], ["colgroup", "10:2015"], ["colgroup.align", "0:"], ["colgroup.char", "0:"], ["colgroup.charoff", "0:"], ["colgroup.span", "10:2015"], ["colgroup.valign", "0:"], ["colgroup.width", "0:"], ["data", "10:2017"], ["data.value", "10:2017"], ["datalist", "0:"], ["dd", "10:2015"], ["del", "10:2015"], ["del.cite", "10:2015"], ["del.datetime", "10:2015"], ["details", "10:2020"], ["details.name", "5:2024"], ["details.open", "10:2020"], ["dfn", "10:2015"], ["dialog", "10:2022"], ["dialog.closedby", "0:"], ["dialog.open", "10:2022"], ["div", "10:2015"], ["dl", "10:2015"], ["dt", "10:2015"], ["em", "10:2015"], ["embed", "10:2015"], ["embed.height", "10:2015"], ["embed.src", "10:2015"], ["embed.type", "10:2020"], ["embed.width", "10:2015"], ["fencedframe", "0:"], ["fencedframe.allow", "0:"], ["fencedframe.height", "0:"], ["fencedframe.width", "0:"], ["fieldset", "10:2015"], ["fieldset.disabled", "10:2020"], ["fieldset.form", "10:2015"], ["fieldset.name", "10:2015"], ["figcaption", "10:2015"], ["figure", "10:2015"], ["footer", "10:2015"], ["form", "10:2015"], ["form.accept-charset", "10:2015"], ["form.action", "10:2015"], ["form.autocomplete", "10:2015"], ["form.enctype", "10:2015"], ["form.method", "10:2015"], ["form.name", "10:2015"], ["form.novalidate", "10:2017"], ["form.rel", "10:2023"], ["form.target", "10:2015"], ["h1", "10:2015"], ["h1.no_ua_styles_in_article_aside_nav_section", "0:"], ["h2", "10:2015"], ["h3", "10:2015"], ["h4", "10:2015"], ["h5", "10:2015"], ["h6", "10:2015"], ["head", "10:2015"], ["header", "10:2015"], ["hgroup", "10:2015"], ["hr", "10:2015"], ["html", "10:2015"], ["i", "10:2015"], ["iframe", "10:2015"], ["iframe.allow", "10:2020"], ["iframe.allow.accelerometer", "0:"], ["iframe.allow.ambient-light-sensor", "0:"], ["iframe.allow.attribution-reporting", "0:"], ["iframe.allow.bluetooth", "0:"], ["iframe.allow.camera", "10:2020"], ["iframe.allow.compute-pressure", "0:"], ["iframe.allow.display-capture", "0:"], ["iframe.allow.encrypted-media", "0:"], ["iframe.allow.fullscreen", "0:"], ["iframe.allow.gamepad", "0:"], ["iframe.allow.geolocation", "0:"], ["iframe.allow.gyroscope", "0:"], ["iframe.allow.hid", "0:"], ["iframe.allow.idle-detection", "0:"], ["iframe.allow.local-fonts", "0:"], ["iframe.allow.magnetometer", "0:"], ["iframe.allow.microphone", "10:2020"], ["iframe.allow.midi", "0:"], ["iframe.allow.otp-credentials", "0:"], ["iframe.allow.payment", "0:"], ["iframe.allow.picture-in-picture", "0:"], ["iframe.allow.publickey-credentials-create", "0:"], ["iframe.allow.publickey-credentials-get", "0:"], ["iframe.allow.screen-wake-lock", "5:2024"], ["iframe.allow.serial", "0:"], ["iframe.allow.storage-access", "0:"], ["iframe.allow.usb", "0:"], ["iframe.allow.web-share", "0:"], ["iframe.allow.window-management", "0:"], ["iframe.allow.xr-spatial-tracking", "0:"], ["iframe.allowfullscreen", "0:"], ["iframe.credentialless", "0:"], ["iframe.csp", "0:"], ["iframe.height", "10:2015"], ["iframe.loading", "5:2023"], ["iframe.name", "10:2015"], ["iframe.referrerpolicy", "10:2020"], ["iframe.referrerpolicy.no-referrer-when-downgrade", "0:"], ["iframe.referrerpolicy.origin-when-cross-origin", "0:"], ["iframe.referrerpolicy.unsafe-url", "0:"], ["iframe.sandbox", "10:2015"], ["iframe.sandbox.allow-downloads", "5:2023"], ["iframe.sandbox.allow-forms", "10:2020"], ["iframe.sandbox.allow-modals", "10:2020"], ["iframe.sandbox.allow-pointer-lock", "0:"], ["iframe.sandbox.allow-popups", "10:2015"], ["iframe.sandbox.allow-popups-to-escape-sandbox", "10:2020"], ["iframe.sandbox.allow-presentation", "0:"], ["iframe.sandbox.allow-same-origin", "10:2020"], ["iframe.sandbox.allow-scripts", "10:2020"], ["iframe.sandbox.allow-top-navigation", "10:2020"], ["iframe.sandbox.allow-top-navigation-by-user-activation", "10:2020"], ["iframe.sandbox.allow-top-navigation-to-custom-protocols", "0:"], ["iframe.src", "10:2015"], ["iframe.srcdoc", "10:2020"], ["iframe.width", "10:2015"], ["img", "10:2015"], ["img.alt", "10:2015"], ["img.aspect_ratio_computed_from_attributes", "10:2021"], ["img.attributionsrc", "0:"], ["img.crossorigin", "10:2015"], ["img.decoding", "10:2020"], ["img.fetchpriority", "5:2024"], ["img.height", "10:2015"], ["img.ismap", "10:2015"], ["img.loading", "10:2022"], ["img.referrerpolicy", "10:2020"], ["img.referrerpolicy.no-referrer-when-downgrade", "0:"], ["img.referrerpolicy.origin-when-cross-origin", "0:"], ["img.referrerpolicy.unsafe-url", "0:"], ["img.sizes", "10:2016"], ["img.sizes.auto", "0:"], ["img.src", "10:2015"], ["img.srcset", "10:2015"], ["img.usemap", "10:2015"], ["img.width", "10:2015"], ["input", "10:2015"], ["input.accept", "10:2015"], ["input.alpha", "0:"], ["input.alt", "10:2015"], ["input.capture", "0:"], ["input.checked", "10:2015"], ["input.colorspace", "0:"], ["input.dirname", "5:2023"], ["input.disabled", "10:2015"], ["input.form", "10:2015"], ["input.formaction", "10:2015"], ["input.formenctype", "10:2015"], ["input.formmethod", "10:2015"], ["input.formnovalidate", "10:2015"], ["input.formtarget", "10:2015"], ["input.list", "10:2019"], ["input.max", "10:2015"], ["input.maxlength", "10:2015"], ["input.min", "10:2015"], ["input.minlength", "10:2018"], ["input.multiple", "10:2015"], ["input.name", "10:2015"], ["input.pattern", "10:2015"], ["input.placeholder", "10:2015"], ["input.popovertarget", "5:2024"], ["input.popovertarget.implicit_anchor_reference", "0:"], ["input.popovertargetaction", "5:2024"], ["input.readonly", "10:2015"], ["input.required", "10:2015"], ["input.size", "10:2015"], ["input.src", "10:2015"], ["input.step", "10:2015"], ["input.type_button", "10:2015"], ["input.type_checkbox", "10:2015"], ["input.type_color", "0:"], ["input.type_color.accepts_css_colors", "0:"], ["input.type_date", "10:2021"], ["input.type_datetime-local", "10:2021"], ["input.type_email", "10:2015"], ["input.type_file", "10:2015"], ["input.type_hidden", "10:2015"], ["input.type_image", "10:2015"], ["input.type_month", "0:"], ["input.type_number", "10:2015"], ["input.type_password", "10:2015"], ["input.type_password.insecure_login_handling", "0:"], ["input.type_radio", "10:2015"], ["input.type_range", "10:2017"], ["input.type_range.labeled_values", "0:"], ["input.type_range.tick_marks", "10:2023"], ["input.type_range.vertical_orientation", "5:2024"], ["input.type_reset", "10:2015"], ["input.type_search", "10:2015"], ["input.type_submit", "10:2015"], ["input.type_tel", "10:2015"], ["input.type_text", "10:2015"], ["input.type_time", "10:2021"], ["input.type_url", "10:2015"], ["input.type_week", "0:"], ["ins", "10:2015"], ["ins.cite", "10:2015"], ["ins.datetime", "10:2015"], ["kbd", "10:2015"], ["label", "10:2015"], ["label.for", "10:2015"], ["legend", "10:2015"], ["li", "10:2015"], ["li.value", "10:2015"], ["link", "10:2015"], ["link.as", "10:2018"], ["link.blocking", "0:"], ["link.crossorigin", "10:2018"], ["link.disabled", "10:2015"], ["link.fetchpriority", "5:2024"], ["link.href", "10:2015"], ["link.hreflang", "10:2015"], ["link.imagesizes", "5:2023"], ["link.imagesrcset", "5:2023"], ["link.integrity", "10:2018"], ["link.media", "10:2015"], ["link.referrerpolicy", "10:2020"], ["link.referrerpolicy.no-referrer-when-downgrade", "0:"], ["link.referrerpolicy.origin-when-cross-origin", "0:"], ["link.referrerpolicy.unsafe-url", "0:"], ["link.rel", "10:2015"], ["link.rel.alternate_stylesheet", "0:"], ["link.rel.compression-dictionary", "0:"], ["link.rel.dns-prefetch", "5:2025"], ["link.rel.expect", "0:"], ["link.rel.manifest", "0:"], ["link.rel.modulepreload", "5:2023"], ["link.rel.preconnect", "10:2020"], ["link.rel.prefetch", "0:"], ["link.rel.preload", "10:2021"], ["link.rel.preload.as-fetch", "10:2021"], ["link.rel.preload.as-font", "10:2021"], ["link.rel.preload.as-image", "10:2021"], ["link.rel.preload.as-script", "10:2021"], ["link.rel.preload.as-style", "10:2021"], ["link.rel.preload.as-track", "0:"], ["link.sizes", "10:2020"], ["link.type", "10:2015"], ["main", "10:2015"], ["map", "10:2015"], ["map.name", "10:2015"], ["mark", "10:2015"], ["menu", "10:2015"], ["meta", "10:2015"], ["meta.charset", "10:2015"], ["meta.content", "10:2015"], ["meta.http-equiv", "10:2015"], ["meta.http-equiv.content-security-policy", "10:2017"], ["meta.http-equiv.content-type", "10:2017"], ["meta.http-equiv.refresh", "10:2015"], ["meta.name", "10:2015"], ["meta.name.application-title", "0:"], ["meta.name.color-scheme", "10:2022"], ["meta.name.referrer", "10:2020"], ["meta.name.theme-color", "0:"], ["meter", "10:2017"], ["meter.high", "10:2017"], ["meter.low", "10:2017"], ["meter.max", "10:2017"], ["meter.min", "10:2017"], ["meter.optimum", "10:2017"], ["meter.value", "10:2017"], ["nav", "10:2015"], ["noscript", "10:2015"], ["object", "10:2015"], ["object.data", "10:2015"], ["object.form", "10:2015"], ["object.height", "10:2015"], ["object.name", "10:2015"], ["object.type", "10:2015"], ["object.width", "10:2015"], ["ol", "10:2015"], ["ol.reversed", "10:2020"], ["ol.start", "10:2015"], ["ol.type", "10:2015"], ["optgroup", "10:2015"], ["optgroup.disabled", "0:"], ["optgroup.label", "10:2015"], ["option", "10:2015"], ["option.disabled", "10:2015"], ["option.label", "10:2015"], ["option.selected", "10:2015"], ["option.value", "10:2015"], ["output", "10:2018"], ["output.for", "10:2018"], ["output.form", "10:2018"], ["output.name", "10:2018"], ["p", "10:2015"], ["picture", "10:2016"], ["pre", "10:2015"], ["progress", "10:2015"], ["progress.max", "10:2015"], ["progress.value", "10:2015"], ["q", "10:2015"], ["q.cite", "10:2015"], ["rp", "10:2015"], ["rt", "10:2015"], ["ruby", "10:2015"], ["s", "10:2015"], ["samp", "10:2015"], ["script", "10:2015"], ["script.async", "10:2015"], ["script.attributionsrc", "0:"], ["script.blocking", "0:"], ["script.crossorigin", "10:2016"], ["script.defer", "10:2015"], ["script.fetchpriority", "5:2024"], ["script.integrity", "10:2018"], ["script.nomodule", "10:2018"], ["script.referrerpolicy", "10:2020"], ["script.referrerpolicy.no-referrer-when-downgrade", "0:"], ["script.referrerpolicy.origin-when-cross-origin", "0:"], ["script.referrerpolicy.unsafe-url", "0:"], ["script.src", "10:2015"], ["script.type", "10:2015"], ["script.type.importmap", "10:2023"], ["script.type.module", "10:2018"], ["script.type.speculationrules", "0:"], ["script.type.speculationrules.eagerness", "0:"], ["script.type.speculationrules.expects_no_vary_search", "0:"], ["script.type.speculationrules.prefetch", "0:"], ["script.type.speculationrules.prerender", "0:"], ["script.type.speculationrules.referrer_policy", "0:"], ["script.type.speculationrules.relative_to", "0:"], ["script.type.speculationrules.requires", "0:"], [ "script.type.speculationrules.requires.anonymous-client-ip-when-cross-origin", "0:", ], ["script.type.speculationrules.source_optional", "0:"], ["script.type.speculationrules.tag", "0:"], ["script.type.speculationrules.target_hint", "0:"], ["script.type.speculationrules.urls", "0:"], ["script.type.speculationrules.where", "0:"], ["search", "5:2023"], ["section", "10:2015"], ["select", "10:2015"], ["select.disabled", "10:2015"], ["select.form", "10:2015"], ["select.hr_in_select", "0:"], ["select.multiple", "10:2015"], ["select.name", "10:2015"], ["select.required", "10:2015"], ["select.size", "0:"], ["selectedcontent", "0:"], ["slot", "10:2020"], ["slot.name", "10:2020"], ["small", "10:2015"], ["source", "10:2015"], ["source.height", "10:2022"], ["source.media", "10:2015"], ["source.sizes", "10:2016"], ["source.src", "10:2015"], ["source.srcset", "10:2016"], ["source.type", "10:2015"], ["source.width", "10:2022"], ["span", "10:2015"], ["strong", "10:2015"], ["style", "10:2015"], ["style.blocking", "0:"], ["style.media", "10:2015"], ["sub", "10:2015"], ["summary", "10:2020"], ["summary.display_list_item", "0:"], ["sup", "10:2015"], ["table", "10:2015"], ["table.align", "0:"], ["table.bgcolor", "0:"], ["table.border", "0:"], ["table.cellpadding", "0:"], ["table.cellspacing", "0:"], ["table.frame", "0:"], ["table.rules", "0:"], ["table.summary", "0:"], ["table.width", "0:"], ["tbody", "10:2015"], ["tbody.align", "0:"], ["tbody.bgcolor", "0:"], ["tbody.char", "0:"], ["tbody.charoff", "0:"], ["tbody.valign", "0:"], ["td", "10:2015"], ["td.abbr", "0:"], ["td.align", "0:"], ["td.axis", "0:"], ["td.bgcolor", "0:"], ["td.char", "0:"], ["td.charoff", "0:"], ["td.colspan", "10:2015"], ["td.headers", "10:2015"], ["td.rowspan", "10:2015"], ["td.rowspan.rowspan_zero", "0:"], ["td.scope", "0:"], ["td.valign", "0:"], ["td.width", "0:"], ["template", "10:2015"], ["template.shadowrootclonable", "5:2024"], ["template.shadowrootdelegatesfocus", "5:2024"], ["template.shadowrootmode", "5:2024"], ["template.shadowrootserializable", "0:"], ["textarea", "10:2015"], ["textarea.autocomplete", "10:2020"], ["textarea.cols", "10:2015"], ["textarea.dirname", "5:2023"], ["textarea.disabled", "10:2015"], ["textarea.form", "10:2015"], ["textarea.maxlength", "10:2015"], ["textarea.minlength", "10:2018"], ["textarea.name", "10:2015"], ["textarea.placeholder", "10:2015"], ["textarea.placeholder.line_breaks", "10:2022"], ["textarea.readonly", "10:2015"], ["textarea.required", "10:2015"], ["textarea.rows", "10:2015"], ["textarea.wrap", "10:2015"], ["textarea.wrap.hard", "0:"], ["tfoot", "10:2015"], ["tfoot.align", "0:"], ["tfoot.bgcolor", "0:"], ["tfoot.char", "0:"], ["tfoot.charoff", "0:"], ["tfoot.valign", "0:"], ["th", "10:2015"], ["th.abbr", "10:2015"], ["th.align", "0:"], ["th.axis", "0:"], ["th.bgcolor", "0:"], ["th.char", "0:"], ["th.charoff", "0:"], ["th.colspan", "10:2015"], ["th.headers", "10:2015"], ["th.rowspan", "10:2015"], ["th.rowspan.rowspan_zero", "0:"], ["th.scope", "10:2015"], ["th.valign", "0:"], ["th.width", "0:"], ["thead", "10:2015"], ["thead.align", "0:"], ["thead.bgcolor", "0:"], ["thead.char", "0:"], ["thead.charoff", "0:"], ["thead.valign", "0:"], ["time", "10:2017"], ["time.datetime", "10:2017"], ["title", "10:2015"], ["tr", "10:2015"], ["tr.align", "0:"], ["tr.bgcolor", "0:"], ["tr.char", "0:"], ["tr.charoff", "0:"], ["tr.valign", "0:"], ["track", "10:2015"], ["track.default", "10:2015"], ["track.kind", "10:2015"], ["track.label", "10:2015"], ["track.src", "10:2016"], ["track.srclang", "10:2015"], ["u", "10:2015"], ["ul", "10:2015"], ["var", "10:2015"], ["video", "10:2015"], ["video.aspect_ratio_computed_from_attributes", "10:2020"], ["video.autoplay", "10:2016"], ["video.controls", "10:2015"], ["video.controlslist", "0:"], ["video.crossorigin", "10:2020"], ["video.disablepictureinpicture", "0:"], ["video.disableremoteplayback", "0:"], ["video.height", "10:2015"], ["video.loop", "10:2015"], ["video.muted", "10:2015"], ["video.playsinline", "0:"], ["video.poster", "10:2015"], ["video.preload", "10:2015"], ["video.src", "10:2015"], ["video.width", "10:2015"], ["wbr", "10:2015"], ]); const globalAttributes = new Map([ ["accesskey", "10:2015"], ["autocapitalize", "0:"], ["autocorrect", "0:"], ["autofocus", "10:2023"], ["contenteditable", "10:2015"], ["contenteditable.plaintext-only", "5:2025"], ["enterkeyhint", "10:2021"], ["exportparts", "10:2020"], ["inert", "10:2023"], ["inert.ignores_find_in_page", "0:"], ["inputmode", "10:2021"], ["is", "0:"], ["lang", "10:2015"], ["nonce", "10:2022"], ["nonce.nonce_hiding", "10:2022"], ["part", "10:2020"], ["popover", "5:2024"], ["popover.hint", "0:"], ["slot", "10:2020"], ["spellcheck", "10:2017"], ["style", "10:2015"], ["tabindex", "10:2015"], ["title", "10:2015"], ["title.multi-line_titles", "10:2018"], ["translate", "10:2023"], ["virtualkeyboardpolicy", "0:"], ["writingsuggestions", "0:"], ]); module.exports = { elements, globalAttributes, BASELINE_HIGH, BASELINE_LOW, BASELINE_FALSE, };