diff --git a/features/dataset.yml b/features/dataset.yml new file mode 100644 index 00000000000..49e610351bd --- /dev/null +++ b/features/dataset.yml @@ -0,0 +1,13 @@ +name: Dataset +description: "The `dataset` API attaches and accesses custom data on elements, using either the `dataset` property of `HTMLElement` or attributes prefixed with `data-`." +spec: https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes +caniuse: dataset +# This matches Caniuse, which specifically notes that support figures are derived from +# the HTML support in that spec, not SVG/MathML. +status: + compute_from: api.HTMLElement.dataset +compat_features: + - api.DOMStringMap + - api.HTMLElement.dataset + - api.MathMLElement.dataset + - api.SVGElement.dataset diff --git a/features/dataset.yml.dist b/features/dataset.yml.dist new file mode 100644 index 00000000000..afec0e79475 --- /dev/null +++ b/features/dataset.yml.dist @@ -0,0 +1,55 @@ +# Generated from: dataset.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: "7" + chrome_android: "18" + edge: "12" + firefox: "6" + firefox_android: "6" + safari: "5.1" + safari_ios: "5" +compat_features: + # ⬇️ Same status as overall feature ⬇️ + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "7" + # chrome_android: "18" + # edge: "12" + # firefox: "6" + # firefox_android: "6" + # safari: "5.1" + # safari_ios: "5" + - api.DOMStringMap + - api.HTMLElement.dataset + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "55" + # chrome_android: "55" + # edge: "17" + # firefox: "51" + # firefox_android: "51" + # safari: "5.1" + # safari_ios: "5" + - api.SVGElement.dataset + + # baseline: low + # baseline_low_date: 2023-01-12 + # support: + # chrome: "109" + # chrome_android: "109" + # edge: "109" + # firefox: "71" + # firefox_android: "79" + # safari: "13.1" + # safari_ios: "13.4" + - api.MathMLElement.dataset diff --git a/features/draft/spec/html.yml b/features/draft/spec/html.yml index d2afba3af2d..0d2d8000fc1 100644 --- a/features/draft/spec/html.yml +++ b/features/draft/spec/html.yml @@ -16,7 +16,6 @@ compat_features: - api.DOMStringList.contains - api.DOMStringList.item - api.DOMStringList.length - - api.DOMStringMap - api.DataTransfer - api.DataTransfer.DataTransfer - api.DataTransfer.clearData @@ -133,7 +132,6 @@ compat_features: - api.HTMLElement.change_event - api.HTMLElement.click - api.HTMLElement.contentEditable - - api.HTMLElement.dataset - api.HTMLElement.dir - api.HTMLElement.drag_event - api.HTMLElement.dragend_event @@ -255,7 +253,6 @@ compat_features: - api.Location.search - api.Location.toString - api.MathMLElement.blur - - api.MathMLElement.dataset - api.MathMLElement.focus - api.MathMLElement.nonce - api.MathMLElement.tabIndex @@ -389,7 +386,6 @@ compat_features: - api.RadioNodeList.value - api.Range.createContextualFragment - api.SVGElement.blur - - api.SVGElement.dataset - api.SVGElement.focus - api.SVGElement.nonce - api.SVGElement.tabIndex diff --git a/features/draft/spec/html.yml.dist b/features/draft/spec/html.yml.dist index 180bec8bf71..c0ce1c9910d 100644 --- a/features/draft/spec/html.yml.dist +++ b/features/draft/spec/html.yml.dist @@ -1189,8 +1189,6 @@ compat_features: # firefox_android: "6" # safari: "5.1" # safari_ios: "5" - - api.DOMStringMap - - api.HTMLElement.dataset - html.global_attributes.data_attributes # baseline: high @@ -2096,19 +2094,6 @@ compat_features: - api.HTMLInputElement.minLength - html.elements.input.minlength - # baseline: high - # baseline_low_date: 2018-04-30 - # baseline_high_date: 2020-10-30 - # support: - # chrome: "55" - # chrome_android: "55" - # edge: "17" - # firefox: "51" - # firefox_android: "51" - # safari: "5.1" - # safari_ios: "5" - - api.SVGElement.dataset - # baseline: high # baseline_low_date: 2018-05-09 # baseline_high_date: 2020-11-09 @@ -2952,7 +2937,6 @@ compat_features: # safari: "13.1" # safari_ios: "13.4" - api.MathMLElement.blur - - api.MathMLElement.dataset - api.MathMLElement.focus - api.MathMLElement.tabIndex