From 2a21a2030230f5cd8c540ce0714654dd66e87cab Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Tue, 10 Dec 2024 18:23:51 +0100 Subject: [PATCH 01/39] Add global attributes --- features/contenteditable.yml | 9 +++++ features/contenteditable.yml.dist | 59 +++++++++++++++++++++++++++++++ features/csp.yml | 1 + features/csp.yml.dist | 13 +++++++ features/details.yml | 1 + features/details.yml.dist | 1 + features/dialog.yml | 1 + features/dialog.yml.dist | 31 ++++++++++------ features/popover.yml | 2 ++ features/popover.yml.dist | 28 +++++++++++---- 10 files changed, 129 insertions(+), 17 deletions(-) create mode 100644 features/contenteditable.yml create mode 100644 features/contenteditable.yml.dist diff --git a/features/contenteditable.yml b/features/contenteditable.yml new file mode 100644 index 00000000000..9b9d89b4b5b --- /dev/null +++ b/features/contenteditable.yml @@ -0,0 +1,9 @@ +name: Contenteditable +description: The `contenteditable` attribute represents whether the element should be editable by the user. If so, the browser modifies its widget to allow editing. +spec: https://html.spec.whatwg.org/multipage/interaction.html#contenteditable +caniuse: contenteditable +compat_features: + - api.HTMLElement.contentEditable + - api.HTMLElement.contentEditable.plaintext-only + - api.HTMLElement.inputMode + - api.HTMLElement.isContentEditable diff --git a/features/contenteditable.yml.dist b/features/contenteditable.yml.dist new file mode 100644 index 00000000000..227fee838c0 --- /dev/null +++ b/features/contenteditable.yml.dist @@ -0,0 +1,59 @@ +# Generated from: contenteditable.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "66" + chrome_android: "66" + edge: "79" + safari: "12.1" + safari_ios: "12.2" +compat_features: + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "3" + # firefox_android: "4" + # safari: "3" + # safari_ios: "1" + - api.HTMLElement.contentEditable + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "4" + # firefox_android: "4" + # safari: "3" + # safari_ios: "1" + - api.HTMLElement.isContentEditable + + # baseline: high + # baseline_low_date: 2021-12-07 + # baseline_high_date: 2024-06-07 + # support: + # chrome: "66" + # chrome_android: "66" + # edge: "79" + # firefox: "95" + # firefox_android: "79" + # safari: "12.1" + # safari_ios: "12.2" + - api.HTMLElement.inputMode + + # baseline: false + # support: + # chrome: "51" + # chrome_android: "51" + # edge: ≤79 + # safari: "5.1" + # safari_ios: "5" + - api.HTMLElement.contentEditable.plaintext-only diff --git a/features/csp.yml b/features/csp.yml index 26ac27cba89..5aec256587d 100644 --- a/features/csp.yml +++ b/features/csp.yml @@ -26,6 +26,7 @@ compat_features: - api.CSPViolationReportBody.toJSON - api.Document.securitypolicyviolation_event - api.Element.securitypolicyviolation_event + - api.HTMLElement.nonce - api.HTMLIFrameElement.csp - api.SecurityPolicyViolationEvent - api.SecurityPolicyViolationEvent.SecurityPolicyViolationEvent diff --git a/features/csp.yml.dist b/features/csp.yml.dist index 44bf07ca7b0..3bbab61e46f 100644 --- a/features/csp.yml.dist +++ b/features/csp.yml.dist @@ -232,6 +232,19 @@ compat_features: # safari_ios: "15.4" - http.headers.Content-Security-Policy.report-sample + # baseline: high + # baseline_low_date: 2022-03-14 + # baseline_high_date: 2024-09-14 + # support: + # chrome: "61" + # chrome_android: "61" + # edge: "79" + # firefox: "75" + # firefox_android: "79" + # safari: "15.4" + # safari_ios: "15.4" + - api.HTMLElement.nonce + # baseline: high # baseline_low_date: 2022-03-14 # baseline_high_date: 2024-09-14 diff --git a/features/details.yml b/features/details.yml index b96fcd4826a..1bca09b57e8 100644 --- a/features/details.yml +++ b/features/details.yml @@ -9,5 +9,6 @@ compat_features: - api.HTMLDetailsElement - api.HTMLDetailsElement.open - api.HTMLElement.toggle_event + - api.HTMLElement.toggle_event.details_elements - html.elements.details - html.elements.details.open diff --git a/features/details.yml.dist b/features/details.yml.dist index 8029bdd3337..097993034df 100644 --- a/features/details.yml.dist +++ b/features/details.yml.dist @@ -55,3 +55,4 @@ compat_features: # safari: "10.1" # safari_ios: "10.3" - api.HTMLElement.toggle_event + - api.HTMLElement.toggle_event.details_elements diff --git a/features/dialog.yml b/features/dialog.yml index 9842c2bc1b9..722a5db0976 100644 --- a/features/dialog.yml +++ b/features/dialog.yml @@ -12,5 +12,6 @@ compat_features: - api.HTMLDialogElement.returnValue - api.HTMLDialogElement.show - api.HTMLDialogElement.showModal + - api.HTMLElement.toggle_event.dialog_elements - html.elements.dialog - html.elements.dialog.open diff --git a/features/dialog.yml.dist b/features/dialog.yml.dist index 385ed4bbda6..8a4cd87a145 100644 --- a/features/dialog.yml.dist +++ b/features/dialog.yml.dist @@ -2,18 +2,22 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: high - baseline_low_date: 2022-03-14 - baseline_high_date: 2024-09-14 + baseline: false support: - chrome: "37" - chrome_android: "37" - edge: "79" - firefox: "98" - firefox_android: "98" - safari: "15.4" - safari_ios: "15.4" + firefox: "133" + firefox_android: "133" compat_features: + # baseline: high + # baseline_low_date: 2022-03-14 + # baseline_high_date: 2024-09-14 + # support: + # chrome: "37" + # chrome_android: "37" + # edge: "79" + # firefox: "98" + # firefox_android: "98" + # safari: "15.4" + # safari_ios: "15.4" - api.HTMLDialogElement - api.HTMLDialogElement.cancel_event - api.HTMLDialogElement.close @@ -24,3 +28,10 @@ compat_features: - api.HTMLDialogElement.showModal - html.elements.dialog - html.elements.dialog.open + + # ⬇️ Same status as overall feature ⬇️ + # baseline: false + # support: + # firefox: "133" + # firefox_android: "133" + - api.HTMLElement.toggle_event.dialog_elements diff --git a/features/popover.yml b/features/popover.yml index 85b6fd7cb28..2b44fa9345b 100644 --- a/features/popover.yml +++ b/features/popover.yml @@ -12,11 +12,13 @@ compat_features: - api.HTMLButtonElement.popoverTargetAction - api.HTMLButtonElement.popoverTargetElement - api.HTMLElement.beforetoggle_event + - api.HTMLElement.beforetoggle_event.dialog_elements - api.HTMLElement.beforetoggle_event.popover_elements - api.HTMLElement.hidePopover - api.HTMLElement.popover - api.HTMLElement.showPopover - api.HTMLElement.togglePopover + - api.HTMLElement.togglePopover.returns_boolean - api.HTMLElement.toggle_event.popover_elements - api.HTMLInputElement.popoverTargetAction - api.HTMLInputElement.popoverTargetElement diff --git a/features/popover.yml.dist b/features/popover.yml.dist index a1136872470..46eb4b1b7d4 100644 --- a/features/popover.yml.dist +++ b/features/popover.yml.dist @@ -4,12 +4,8 @@ status: baseline: false support: - chrome: "114" - chrome_android: "114" - edge: "114" - firefox: "125" - firefox_android: "125" - safari: "17" + firefox: "133" + firefox_android: "133" compat_features: # baseline: low # baseline_low_date: 2023-11-21 @@ -54,7 +50,18 @@ compat_features: - html.elements.input.popovertargetaction - html.global_attributes.popover - # ⬇️ Same status as overall feature ⬇️ + # baseline: low + # baseline_low_date: 2024-04-16 + # support: + # chrome: "116" + # chrome_android: "116" + # edge: "116" + # firefox: "125" + # firefox_android: "125" + # safari: "17" + # safari_ios: "17" + - api.HTMLElement.togglePopover.returns_boolean + # baseline: false # support: # chrome: "114" @@ -64,3 +71,10 @@ compat_features: # firefox_android: "125" # safari: "17" - api.HTMLElement.popover + + # ⬇️ Same status as overall feature ⬇️ + # baseline: false + # support: + # firefox: "133" + # firefox_android: "133" + - api.HTMLElement.beforetoggle_event.dialog_elements From 950dfeac46add72acad06ebc6efd0fddb2829aba Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Fri, 13 Dec 2024 10:00:27 +0100 Subject: [PATCH 02/39] fixes --- features/dialog.yml | 3 +++ features/dialog.yml.dist | 16 ++++++++++++---- features/popover.yml | 2 ++ features/popover.yml.dist | 10 +++++++--- 4 files changed, 24 insertions(+), 7 deletions(-) diff --git a/features/dialog.yml b/features/dialog.yml index 722a5db0976..483b036f69c 100644 --- a/features/dialog.yml +++ b/features/dialog.yml @@ -3,6 +3,8 @@ description: The `` HTML element represents a modal or non-modal dialog spec: https://html.spec.whatwg.org/multipage/interactive-elements.html#the-dialog-element group: html-elements caniuse: dialog +status: + compute_from: html.elements.dialog compat_features: - api.HTMLDialogElement - api.HTMLDialogElement.cancel_event @@ -12,6 +14,7 @@ compat_features: - api.HTMLDialogElement.returnValue - api.HTMLDialogElement.show - api.HTMLDialogElement.showModal + - api.HTMLElement.beforetoggle_event.dialog_elements - api.HTMLElement.toggle_event.dialog_elements - html.elements.dialog - html.elements.dialog.open diff --git a/features/dialog.yml.dist b/features/dialog.yml.dist index 8a4cd87a145..23d8f193acc 100644 --- a/features/dialog.yml.dist +++ b/features/dialog.yml.dist @@ -2,11 +2,19 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: false + baseline: high + baseline_low_date: 2022-03-14 + baseline_high_date: 2024-09-14 support: - firefox: "133" - firefox_android: "133" + chrome: "37" + chrome_android: "37" + edge: "79" + firefox: "98" + firefox_android: "98" + safari: "15.4" + safari_ios: "15.4" compat_features: + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2022-03-14 # baseline_high_date: 2024-09-14 @@ -29,9 +37,9 @@ compat_features: - html.elements.dialog - html.elements.dialog.open - # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: # firefox: "133" # firefox_android: "133" + - api.HTMLElement.beforetoggle_event.dialog_elements - api.HTMLElement.toggle_event.dialog_elements diff --git a/features/popover.yml b/features/popover.yml index 2b44fa9345b..007b89d1c8d 100644 --- a/features/popover.yml +++ b/features/popover.yml @@ -8,6 +8,8 @@ group: html # References: # - https://github.com/mdn/browser-compat-data/issues/22927 # - https://bugs.webkit.org/show_bug.cgi?id=267688 +status: + compute_from: api.HTMLElement.popover compat_features: - api.HTMLButtonElement.popoverTargetAction - api.HTMLButtonElement.popoverTargetElement diff --git a/features/popover.yml.dist b/features/popover.yml.dist index 46eb4b1b7d4..4532c3ab81d 100644 --- a/features/popover.yml.dist +++ b/features/popover.yml.dist @@ -4,8 +4,12 @@ status: baseline: false support: - firefox: "133" - firefox_android: "133" + chrome: "114" + chrome_android: "114" + edge: "114" + firefox: "125" + firefox_android: "125" + safari: "17" compat_features: # baseline: low # baseline_low_date: 2023-11-21 @@ -62,6 +66,7 @@ compat_features: # safari_ios: "17" - api.HTMLElement.togglePopover.returns_boolean + # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: # chrome: "114" @@ -72,7 +77,6 @@ compat_features: # safari: "17" - api.HTMLElement.popover - # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: # firefox: "133" From 5388b5013097b9e1398e02b86a2b013a3ff36efd Mon Sep 17 00:00:00 2001 From: Dietrich Ayala <50103+autonome@users.noreply.github.com> Date: Fri, 13 Dec 2024 17:12:28 +0700 Subject: [PATCH 03/39] Update features/contenteditable.yml Co-authored-by: Patrick Brosset --- features/contenteditable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/contenteditable.yml b/features/contenteditable.yml index 9b9d89b4b5b..a06f39ef1e3 100644 --- a/features/contenteditable.yml +++ b/features/contenteditable.yml @@ -1,5 +1,5 @@ name: Contenteditable -description: The `contenteditable` attribute represents whether the element should be editable by the user. If so, the browser modifies its widget to allow editing. +description: The `contenteditable` attribute allows the user to edit the content of an element, for example by inserting or deleting text. spec: https://html.spec.whatwg.org/multipage/interaction.html#contenteditable caniuse: contenteditable compat_features: From 0072e93b1512212c8d598d76331102a905602bfc Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Fri, 13 Dec 2024 13:35:36 +0100 Subject: [PATCH 04/39] move plaintext-only out --- features/contenteditable.yml | 3 +-- features/contenteditable.yml.dist | 16 ++++++---------- features/popover.yml | 1 - features/popover.yml.dist | 6 ------ 4 files changed, 7 insertions(+), 19 deletions(-) diff --git a/features/contenteditable.yml b/features/contenteditable.yml index 9b9d89b4b5b..3adb9694872 100644 --- a/features/contenteditable.yml +++ b/features/contenteditable.yml @@ -1,9 +1,8 @@ name: Contenteditable -description: The `contenteditable` attribute represents whether the element should be editable by the user. If so, the browser modifies its widget to allow editing. +description: The `contenteditable` attribute allows the user to edit the content of an element, for example by inserting or deleting text. spec: https://html.spec.whatwg.org/multipage/interaction.html#contenteditable caniuse: contenteditable compat_features: - api.HTMLElement.contentEditable - - api.HTMLElement.contentEditable.plaintext-only - api.HTMLElement.inputMode - api.HTMLElement.isContentEditable diff --git a/features/contenteditable.yml.dist b/features/contenteditable.yml.dist index 227fee838c0..b99c87fc0eb 100644 --- a/features/contenteditable.yml.dist +++ b/features/contenteditable.yml.dist @@ -2,11 +2,15 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: false + baseline: high + baseline_low_date: 2021-12-07 + baseline_high_date: 2024-06-07 support: chrome: "66" chrome_android: "66" edge: "79" + firefox: "95" + firefox_android: "79" safari: "12.1" safari_ios: "12.2" compat_features: @@ -36,6 +40,7 @@ compat_features: # safari_ios: "1" - api.HTMLElement.isContentEditable + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2021-12-07 # baseline_high_date: 2024-06-07 @@ -48,12 +53,3 @@ compat_features: # safari: "12.1" # safari_ios: "12.2" - api.HTMLElement.inputMode - - # baseline: false - # support: - # chrome: "51" - # chrome_android: "51" - # edge: ≤79 - # safari: "5.1" - # safari_ios: "5" - - api.HTMLElement.contentEditable.plaintext-only diff --git a/features/popover.yml b/features/popover.yml index 007b89d1c8d..974b4906dba 100644 --- a/features/popover.yml +++ b/features/popover.yml @@ -14,7 +14,6 @@ compat_features: - api.HTMLButtonElement.popoverTargetAction - api.HTMLButtonElement.popoverTargetElement - api.HTMLElement.beforetoggle_event - - api.HTMLElement.beforetoggle_event.dialog_elements - api.HTMLElement.beforetoggle_event.popover_elements - api.HTMLElement.hidePopover - api.HTMLElement.popover diff --git a/features/popover.yml.dist b/features/popover.yml.dist index 4532c3ab81d..6015c9f7020 100644 --- a/features/popover.yml.dist +++ b/features/popover.yml.dist @@ -76,9 +76,3 @@ compat_features: # firefox_android: "125" # safari: "17" - api.HTMLElement.popover - - # baseline: false - # support: - # firefox: "133" - # firefox_android: "133" - - api.HTMLElement.beforetoggle_event.dialog_elements From 1a12a410386a8f647efbd25c5a6b851a861382f0 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Fri, 13 Dec 2024 13:39:03 +0100 Subject: [PATCH 05/39] more new features --- features/accesskey.yml | 11 ++++++++ features/accesskey.yml.dist | 32 ++++++++++++++++++++++ features/contenteditable-plaintextonly.yml | 5 ++++ features/enterkeyhint.yml | 5 ++++ features/enterkeyhint.yml.dist | 17 ++++++++++++ features/lang-attr.yml | 5 ++++ features/lang-attr.yml.dist | 17 ++++++++++++ features/title-attr.yml | 5 ++++ features/title-attr.yml.dist | 17 ++++++++++++ 9 files changed, 114 insertions(+) create mode 100644 features/accesskey.yml create mode 100644 features/accesskey.yml.dist create mode 100644 features/contenteditable-plaintextonly.yml create mode 100644 features/enterkeyhint.yml create mode 100644 features/enterkeyhint.yml.dist create mode 100644 features/lang-attr.yml create mode 100644 features/lang-attr.yml.dist create mode 100644 features/title-attr.yml create mode 100644 features/title-attr.yml.dist diff --git a/features/accesskey.yml b/features/accesskey.yml new file mode 100644 index 00000000000..3752c550d9b --- /dev/null +++ b/features/accesskey.yml @@ -0,0 +1,11 @@ +name: AccessKey global attribute +description: The `accessKey` global attribute gives a hint for generating a keyboard shortcut for the current element. The attribute value must consist of a single printable character. +spec: https://html.spec.whatwg.org/multipage/interaction.html#the-accesskey-attribute +compat_features: + - api.HTMLElement.accessKey + - api.HTMLElement.accessKeyLabel +# - api.HTMLElement.autocapitalize +# - api.HTMLElement.autocorrect +# - api.HTMLElement.click +# - api.HTMLElement.command_event +# - api.HTMLElement.spellcheck diff --git a/features/accesskey.yml.dist b/features/accesskey.yml.dist new file mode 100644 index 00000000000..a3d5900451c --- /dev/null +++ b/features/accesskey.yml.dist @@ -0,0 +1,32 @@ +# Generated from: accesskey.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + firefox: "8" + firefox_android: "8" + safari: "14" + safari_ios: "14" +compat_features: + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "17" + # chrome_android: "18" + # edge: "12" + # firefox: "5" + # firefox_android: "5" + # safari: "6" + # safari_ios: "6" + - api.HTMLElement.accessKey + + # ⬇️ Same status as overall feature ⬇️ + # baseline: false + # support: + # firefox: "8" + # firefox_android: "8" + # safari: "14" + # safari_ios: "14" + - api.HTMLElement.accessKeyLabel diff --git a/features/contenteditable-plaintextonly.yml b/features/contenteditable-plaintextonly.yml new file mode 100644 index 00000000000..ea6d2d5a57e --- /dev/null +++ b/features/contenteditable-plaintextonly.yml @@ -0,0 +1,5 @@ +name: Contenteditable plaintext-only +description: The `contenteditable` attribute with a value of `plaintext-only` makes an element's raw text editable, but disables rich text formatting on it. +spec: https://html.spec.whatwg.org/multipage/interaction.html#attr-contenteditable-plaintextonly-state +compat_features: + - api.HTMLElement.contentEditable.plaintext-only diff --git a/features/enterkeyhint.yml b/features/enterkeyhint.yml new file mode 100644 index 00000000000..2c5af9d824e --- /dev/null +++ b/features/enterkeyhint.yml @@ -0,0 +1,5 @@ +name: Enterkeyhint global attribute +description: The `enterkeyhint` global attribute defines an action label (or icon) to present for the `enter` key on virtual keyboards. +spec: https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-enterkeyhint-attribute +compat_features: + - api.HTMLElement.enterKeyHint diff --git a/features/enterkeyhint.yml.dist b/features/enterkeyhint.yml.dist new file mode 100644 index 00000000000..2dbd25a3855 --- /dev/null +++ b/features/enterkeyhint.yml.dist @@ -0,0 +1,17 @@ +# Generated from: enterkeyhint.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2021-11-02 + baseline_high_date: 2024-05-02 + support: + chrome: "77" + chrome_android: "77" + edge: "79" + firefox: "94" + firefox_android: "94" + safari: "13.1" + safari_ios: "13.4" +compat_features: + - api.HTMLElement.enterKeyHint diff --git a/features/lang-attr.yml b/features/lang-attr.yml new file mode 100644 index 00000000000..6ac550f56ff --- /dev/null +++ b/features/lang-attr.yml @@ -0,0 +1,5 @@ +name: Lang global attribute +description: The `lang` global attribute defines the language of an element. +spec: https://html.spec.whatwg.org/multipage/dom.html#attr-lang +compat_features: + - api.HTMLElement.lang diff --git a/features/lang-attr.yml.dist b/features/lang-attr.yml.dist new file mode 100644 index 00000000000..4e649bb463a --- /dev/null +++ b/features/lang-attr.yml.dist @@ -0,0 +1,17 @@ +# Generated from: lang-attr.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "3" + safari_ios: "1" +compat_features: + - api.HTMLElement.lang diff --git a/features/title-attr.yml b/features/title-attr.yml new file mode 100644 index 00000000000..f2767859906 --- /dev/null +++ b/features/title-attr.yml @@ -0,0 +1,5 @@ +name: Title global attribute +description: The `title` global attribute represents the title of an element, with the attribute value typically displayed in a 'tooltip' popup when the mouse is over the node. +spec: https://html.spec.whatwg.org/multipage/dom.html#dom-title +compat_features: + - api.HTMLElement.title diff --git a/features/title-attr.yml.dist b/features/title-attr.yml.dist new file mode 100644 index 00000000000..da02e0b6e6c --- /dev/null +++ b/features/title-attr.yml.dist @@ -0,0 +1,17 @@ +# Generated from: title-attr.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "3" + safari_ios: "1" +compat_features: + - api.HTMLElement.title From f07dd07cf50dbbdb3b8947fd1abfa7c739982331 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Fri, 13 Dec 2024 14:44:18 +0100 Subject: [PATCH 06/39] more global element attr/property features --- features/accesskey.yml | 8 +--- features/accesskey.yml.dist | 13 ++++++ features/autocapitalize.yml | 6 +++ features/autocapitalize.yml.dist | 33 +++++++++++++++ features/autocorrect.yml | 6 +++ features/autocorrect.yml.dist | 17 ++++++++ features/change-event.yml | 7 ++++ features/change-event.yml.dist | 17 ++++++++ features/click.yml | 5 +++ features/click.yml.dist | 17 ++++++++ features/command-event.yml | 7 ++++ features/command-event.yml.dist | 8 ++++ .../contenteditable-plaintextonly.yml.dist | 13 ++++++ features/focus-apis.yml | 8 ++++ features/focus-apis.yml.dist | 36 ++++++++++++++++ features/spellcheck.yml | 6 +++ features/spellcheck.yml.dist | 42 +++++++++++++++++++ 17 files changed, 243 insertions(+), 6 deletions(-) create mode 100644 features/autocapitalize.yml create mode 100644 features/autocapitalize.yml.dist create mode 100644 features/autocorrect.yml create mode 100644 features/autocorrect.yml.dist create mode 100644 features/change-event.yml create mode 100644 features/change-event.yml.dist create mode 100644 features/click.yml create mode 100644 features/click.yml.dist create mode 100644 features/command-event.yml create mode 100644 features/command-event.yml.dist create mode 100644 features/contenteditable-plaintextonly.yml.dist create mode 100644 features/focus-apis.yml create mode 100644 features/focus-apis.yml.dist create mode 100644 features/spellcheck.yml create mode 100644 features/spellcheck.yml.dist diff --git a/features/accesskey.yml b/features/accesskey.yml index 3752c550d9b..1e5318cca95 100644 --- a/features/accesskey.yml +++ b/features/accesskey.yml @@ -1,11 +1,7 @@ name: AccessKey global attribute -description: The `accessKey` global attribute gives a hint for generating a keyboard shortcut for the current element. The attribute value must consist of a single printable character. +description: The `accessKey` global attribute and property gives a hint for generating a keyboard shortcut for the current element. The attribute value must consist of a single printable character. spec: https://html.spec.whatwg.org/multipage/interaction.html#the-accesskey-attribute compat_features: - api.HTMLElement.accessKey - api.HTMLElement.accessKeyLabel -# - api.HTMLElement.autocapitalize -# - api.HTMLElement.autocorrect -# - api.HTMLElement.click -# - api.HTMLElement.command_event -# - api.HTMLElement.spellcheck + - html.global_attributes.accesskey diff --git a/features/accesskey.yml.dist b/features/accesskey.yml.dist index a3d5900451c..050f3f3c15a 100644 --- a/features/accesskey.yml.dist +++ b/features/accesskey.yml.dist @@ -9,6 +9,19 @@ status: safari: "14" safari_ios: "14" compat_features: + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: ≤4 + # safari_ios: ≤3.2 + - html.global_attributes.accesskey + # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 diff --git a/features/autocapitalize.yml b/features/autocapitalize.yml new file mode 100644 index 00000000000..bc3418c1810 --- /dev/null +++ b/features/autocapitalize.yml @@ -0,0 +1,6 @@ +name: Autocapitalize +description: The `autocapitalize` global attribute and property sets the capitalization behavior for user input on an element in different ways, such as capitalizing all characters, or just the first letter of sentences +spec: https://html.spec.whatwg.org/multipage/interaction.html#the-accesskey-attribute +compat_features: + - api.HTMLElement.autocapitalize + - html.global_attributes.autocapitalize diff --git a/features/autocapitalize.yml.dist b/features/autocapitalize.yml.dist new file mode 100644 index 00000000000..37a71eca7c0 --- /dev/null +++ b/features/autocapitalize.yml.dist @@ -0,0 +1,33 @@ +# Generated from: autocapitalize.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "66" + chrome_android: "66" + edge: "79" + firefox: "111" + firefox_android: "111" + safari_ios: "10.3" +compat_features: + # baseline: false + # support: + # chrome: "43" + # chrome_android: "43" + # edge: "79" + # firefox: "111" + # firefox_android: "111" + # safari_ios: "5" + - html.global_attributes.autocapitalize + + # ⬇️ Same status as overall feature ⬇️ + # baseline: false + # support: + # chrome: "66" + # chrome_android: "66" + # edge: "79" + # firefox: "111" + # firefox_android: "111" + # safari_ios: "10.3" + - api.HTMLElement.autocapitalize diff --git a/features/autocorrect.yml b/features/autocorrect.yml new file mode 100644 index 00000000000..08d07fe5d42 --- /dev/null +++ b/features/autocorrect.yml @@ -0,0 +1,6 @@ +name: Autocorrect +description: The `autocorrect` global attribute and property controls whether or not autocorrection of editable text is enabled for spelling and/or punctuation errors. +spec: https://html.spec.whatwg.org/multipage/interaction.html#the-accesskey-attribute +compat_features: + - api.HTMLElement.autocorrect + - html.global_attributes.autocorrect diff --git a/features/autocorrect.yml.dist b/features/autocorrect.yml.dist new file mode 100644 index 00000000000..f4b2bcab28f --- /dev/null +++ b/features/autocorrect.yml.dist @@ -0,0 +1,17 @@ +# Generated from: autocorrect.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: {} +compat_features: + # baseline: false + # support: + # safari: "14.1" + # safari_ios: "14.5" + - api.HTMLElement.autocorrect + + # ⬇️ Same status as overall feature ⬇️ + # baseline: false + # support: {} + - html.global_attributes.autocorrect diff --git a/features/change-event.yml b/features/change-event.yml new file mode 100644 index 00000000000..dcb712ff475 --- /dev/null +++ b/features/change-event.yml @@ -0,0 +1,7 @@ +name: Change event +description: The `change` event is fired for ``, `