diff --git a/features/focus-within.yml b/features/focus-within.yml new file mode 100644 index 00000000000..3228af21214 --- /dev/null +++ b/features/focus-within.yml @@ -0,0 +1,7 @@ +name: :focus-within +description: "The `:focus-within` CSS pseudo-class matches an element if the element or any of its children are focused." +spec: https://drafts.csswg.org/selectors-4/#the-focus-within-pseudo +caniuse: css-focus-within +group: selectors +compat_features: + - css.selectors.focus-within diff --git a/features/focus-within.yml.dist b/features/focus-within.yml.dist new file mode 100644 index 00000000000..b1cd1795585 --- /dev/null +++ b/features/focus-within.yml.dist @@ -0,0 +1,17 @@ +# Generated from: focus-within.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2020-01-15 + baseline_high_date: 2022-07-15 + support: + chrome: "60" + chrome_android: "60" + edge: "79" + firefox: "52" + firefox_android: "52" + safari: "10.1" + safari_ios: "10.3" +compat_features: + - css.selectors.focus-within diff --git a/features/form-validity-pseudos.yml b/features/form-validity-pseudos.yml new file mode 100644 index 00000000000..e3039ab7c90 --- /dev/null +++ b/features/form-validity-pseudos.yml @@ -0,0 +1,18 @@ +name: Form validity pseudo-classes +description: "The form validity CSS pseudo-classes match `
` elements based on the constraints of a form field, such as validity (`:valid`, `:invalid`, `:in-range`, `:out-of-range`) and necessity (`:optional` or `:required`)." +spec: https://drafts.csswg.org/selectors-4/#ui-validity +caniuse: + - css-optional-pseudo + - css-in-out-of-range +group: selectors +status: + compute_from: css.selectors.optional +compat_features: + - css.selectors.invalid.form + - css.selectors.valid.form + - css.selectors.invalid + - css.selectors.optional + - css.selectors.required + - css.selectors.valid + - css.selectors.in-range + - css.selectors.out-of-range diff --git a/features/form-validity-pseudos.yml.dist b/features/form-validity-pseudos.yml.dist new file mode 100644 index 00000000000..77f2493141e --- /dev/null +++ b/features/form-validity-pseudos.yml.dist @@ -0,0 +1,60 @@ +# Generated from: form-validity-pseudos.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: "10" + chrome_android: "18" + edge: "12" + firefox: "4" + firefox_android: "4" + safari: "5" + 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: "10" + # chrome_android: "18" + # edge: "12" + # firefox: "4" + # firefox_android: "4" + # safari: "5" + # safari_ios: "5" + - css.selectors.invalid + - css.selectors.optional + - css.selectors.required + - css.selectors.valid + + # baseline: high + # baseline_low_date: 2015-11-12 + # baseline_high_date: 2018-05-12 + # support: + # chrome: "10" + # chrome_android: "18" + # edge: "13" + # firefox: "29" + # firefox_android: "16" + # safari: "5.1" + # safari_ios: "5" + - css.selectors.in-range + - css.selectors.out-of-range + + # baseline: high + # baseline_low_date: 2020-01-15 + # baseline_high_date: 2022-07-15 + # support: + # chrome: "40" + # chrome_android: "40" + # edge: "79" + # firefox: "13" + # firefox_android: "14" + # safari: "9" + # safari_ios: "9" + - css.selectors.invalid.form + - css.selectors.valid.form diff --git a/features/link-selectors.yml b/features/link-selectors.yml new file mode 100644 index 00000000000..f96e1702050 --- /dev/null +++ b/features/link-selectors.yml @@ -0,0 +1,15 @@ +name: Link selectors +description: The `:link` CSS pseudo-class matches unvisited links, `:visited` matches visited links, and `:any-link` matches both. +spec: https://drafts.csswg.org/selectors-4/#location +caniuse: css-any-link +group: selectors +status: + compute_from: css.selectors.any-link +compat_features: + - css.selectors.any-link + - css.selectors.any-link.not_match_link + - css.selectors.link + - css.selectors.link.not_match_link + - css.selectors.visited + - css.selectors.visited.not_match_link + - css.selectors.visited.privacy_measures diff --git a/features/link-selectors.yml.dist b/features/link-selectors.yml.dist new file mode 100644 index 00000000000..3e3e1aa0b8c --- /dev/null +++ b/features/link-selectors.yml.dist @@ -0,0 +1,95 @@ +# Generated from: link-selectors.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2020-01-15 + baseline_high_date: 2022-07-15 + support: + chrome: "65" + chrome_android: "65" + edge: "79" + firefox: "50" + firefox_android: "50" + safari: "9" + safari_ios: "9" +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: "1" + # safari_ios: "1" + - css.selectors.visited + + # 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: "1" + # safari_ios: "3.2" + - css.selectors.link + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "6" + # chrome_android: "18" + # edge: "12" + # firefox: "4" + # firefox_android: "4" + # safari: "5" + # safari_ios: "4.2" + - css.selectors.visited.privacy_measures + + # ⬇️ Same status as overall feature ⬇️ + # baseline: high + # baseline_low_date: 2020-01-15 + # baseline_high_date: 2022-07-15 + # support: + # chrome: "65" + # chrome_android: "65" + # edge: "79" + # firefox: "50" + # firefox_android: "50" + # safari: "9" + # safari_ios: "9" + - css.selectors.any-link + + # baseline: high + # baseline_low_date: 2021-09-20 + # baseline_high_date: 2024-03-20 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "87" + # firefox_android: "87" + # safari: "15" + # safari_ios: "15" + - css.selectors.link.not_match_link + - css.selectors.visited.not_match_link + + # baseline: high + # baseline_low_date: 2021-09-20 + # baseline_high_date: 2024-03-20 + # support: + # chrome: "65" + # chrome_android: "65" + # edge: "79" + # firefox: "87" + # firefox_android: "87" + # safari: "15" + # safari_ios: "15" + - css.selectors.any-link.not_match_link diff --git a/features/scope-pseudo.yml b/features/scope-pseudo.yml new file mode 100644 index 00000000000..e85437334c2 --- /dev/null +++ b/features/scope-pseudo.yml @@ -0,0 +1,7 @@ +name: :scope (pseudo-class) +description: The `:scope` CSS pseudo-class matches the scoping root, for instance the element that `querySelector()` is called on, or the root of a DOM subtree specified with `@scope`. +spec: https://drafts.csswg.org/selectors-4/#the-scope-pseudo +group: selectors +compat_features: + - css.selectors.scope + - css.selectors.scope.dom_api diff --git a/features/scope-pseudo.yml.dist b/features/scope-pseudo.yml.dist new file mode 100644 index 00000000000..2b4b0fffae5 --- /dev/null +++ b/features/scope-pseudo.yml.dist @@ -0,0 +1,18 @@ +# Generated from: scope-pseudo.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2020-01-15 + baseline_high_date: 2022-07-15 + support: + chrome: "27" + chrome_android: "27" + edge: "79" + firefox: "32" + firefox_android: "32" + safari: "7" + safari_ios: "7" +compat_features: + - css.selectors.scope + - css.selectors.scope.dom_api