From aee26c3f83a02e1e6350e1a4f9ca4108933eab33 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Mon, 4 Nov 2024 09:18:47 -0500 Subject: [PATCH 1/5] Add feature skeletons --- features/case-sensitive-attributes.yml | 6 ++++++ features/case-sensitive-attributes.yml.dist | 10 ++++++++++ features/lang-list-wildcard.yml | 7 +++++++ features/lang-list-wildcard.yml.dist | 13 +++++++++++++ features/open-closed.yml | 7 +++++++ features/open-closed.yml.dist | 9 +++++++++ features/target-within.yml | 6 ++++++ features/target-within.yml.dist | 8 ++++++++ features/time-relative-selectors.yml | 8 ++++++++ features/time-relative-selectors.yml.dist | 14 ++++++++++++++ 10 files changed, 88 insertions(+) create mode 100644 features/case-sensitive-attributes.yml create mode 100644 features/case-sensitive-attributes.yml.dist create mode 100644 features/lang-list-wildcard.yml create mode 100644 features/lang-list-wildcard.yml.dist create mode 100644 features/open-closed.yml create mode 100644 features/open-closed.yml.dist create mode 100644 features/target-within.yml create mode 100644 features/target-within.yml.dist create mode 100644 features/time-relative-selectors.yml create mode 100644 features/time-relative-selectors.yml.dist diff --git a/features/case-sensitive-attributes.yml b/features/case-sensitive-attributes.yml new file mode 100644 index 00000000000..0ac5dddad99 --- /dev/null +++ b/features/case-sensitive-attributes.yml @@ -0,0 +1,6 @@ +name: "" +description: "" +spec: https://drafts.csswg.org/selectors-4/#attribute-case +caniuse: "" +compat_features: + - css.selectors.attribute.case_sensitive_modifier \ No newline at end of file diff --git a/features/case-sensitive-attributes.yml.dist b/features/case-sensitive-attributes.yml.dist new file mode 100644 index 00000000000..121c3b4edab --- /dev/null +++ b/features/case-sensitive-attributes.yml.dist @@ -0,0 +1,10 @@ +# Generated from: case-sensitive-attributes.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + firefox: "66" + firefox_android: "66" +compat_features: + - css.selectors.attribute.case_sensitive_modifier diff --git a/features/lang-list-wildcard.yml b/features/lang-list-wildcard.yml new file mode 100644 index 00000000000..29b06162c43 --- /dev/null +++ b/features/lang-list-wildcard.yml @@ -0,0 +1,7 @@ +name: "" +description: "" +spec: https://drafts.csswg.org/selectors-4/#the-lang-pseudo +caniuse: "" +compat_features: + - css.selectors.lang.argument_list + - css.selectors.lang.wildcards \ No newline at end of file diff --git a/features/lang-list-wildcard.yml.dist b/features/lang-list-wildcard.yml.dist new file mode 100644 index 00000000000..7776e75ab6a --- /dev/null +++ b/features/lang-list-wildcard.yml.dist @@ -0,0 +1,13 @@ +# Generated from: lang-list-wildcard.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + firefox: "114" + firefox_android: "114" + safari: "9" + safari_ios: "9" +compat_features: + - css.selectors.lang.argument_list + - css.selectors.lang.wildcards diff --git a/features/open-closed.yml b/features/open-closed.yml new file mode 100644 index 00000000000..926295bf092 --- /dev/null +++ b/features/open-closed.yml @@ -0,0 +1,7 @@ +name: "" +description: "" +spec: "" +caniuse: "" +compat_features: + - css.selectors.closed + - css.selectors.open \ No newline at end of file diff --git a/features/open-closed.yml.dist b/features/open-closed.yml.dist new file mode 100644 index 00000000000..966d7745a7b --- /dev/null +++ b/features/open-closed.yml.dist @@ -0,0 +1,9 @@ +# Generated from: open-closed.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: {} +compat_features: + - css.selectors.closed + - css.selectors.open diff --git a/features/target-within.yml b/features/target-within.yml new file mode 100644 index 00000000000..38bdf687809 --- /dev/null +++ b/features/target-within.yml @@ -0,0 +1,6 @@ +name: "" +description: "" +spec: https://drafts.csswg.org/selectors-4/#the-target-within-pseudo +caniuse: "" +compat_features: + - css.selectors.target-within \ No newline at end of file diff --git a/features/target-within.yml.dist b/features/target-within.yml.dist new file mode 100644 index 00000000000..16a54b67d7f --- /dev/null +++ b/features/target-within.yml.dist @@ -0,0 +1,8 @@ +# Generated from: target-within.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: {} +compat_features: + - css.selectors.target-within diff --git a/features/time-relative-selectors.yml b/features/time-relative-selectors.yml new file mode 100644 index 00000000000..3b516bb0bf7 --- /dev/null +++ b/features/time-relative-selectors.yml @@ -0,0 +1,8 @@ +name: "" +description: "" +spec: https://drafts.csswg.org/selectors-4/#time-pseudos +caniuse: "" +compat_features: + - css.selectors.future + - css.selectors.past + # Note: `:current` has no support anywhere yet. \ No newline at end of file diff --git a/features/time-relative-selectors.yml.dist b/features/time-relative-selectors.yml.dist new file mode 100644 index 00000000000..3c8f9733b9c --- /dev/null +++ b/features/time-relative-selectors.yml.dist @@ -0,0 +1,14 @@ +# Generated from: time-relative-selectors.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "23" + chrome_android: "25" + edge: "79" + safari: "7" + safari_ios: "7" +compat_features: + - css.selectors.future + - css.selectors.past From dd39e55b5caf04d8f79e376a1b3fa34ed776f8d0 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Mon, 4 Nov 2024 09:31:35 -0500 Subject: [PATCH 2/5] Add case insensitive --- features/case-insensitive-attributes.yml | 6 ++++++ features/case-insensitive-attributes.yml.dist | 17 +++++++++++++++++ features/case-sensitive-attributes.yml | 2 +- features/lang-list-wildcard.yml | 2 +- features/open-closed.yml | 2 +- features/target-within.yml | 2 +- features/time-relative-selectors.yml | 2 +- 7 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 features/case-insensitive-attributes.yml create mode 100644 features/case-insensitive-attributes.yml.dist diff --git a/features/case-insensitive-attributes.yml b/features/case-insensitive-attributes.yml new file mode 100644 index 00000000000..9cdc1ca5dcb --- /dev/null +++ b/features/case-insensitive-attributes.yml @@ -0,0 +1,6 @@ +name: "" +description: "" +spec: https://drafts.csswg.org/selectors-4/#attribute-case +caniuse: "" +compat_features: + - css.selectors.attribute.case_insensitive_modifier diff --git a/features/case-insensitive-attributes.yml.dist b/features/case-insensitive-attributes.yml.dist new file mode 100644 index 00000000000..b7552eb329c --- /dev/null +++ b/features/case-insensitive-attributes.yml.dist @@ -0,0 +1,17 @@ +# Generated from: case-insensitive-attributes.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: "49" + chrome_android: "49" + edge: "79" + firefox: "47" + firefox_android: "47" + safari: "9" + safari_ios: "9" +compat_features: + - css.selectors.attribute.case_insensitive_modifier diff --git a/features/case-sensitive-attributes.yml b/features/case-sensitive-attributes.yml index 0ac5dddad99..614bc44b5b3 100644 --- a/features/case-sensitive-attributes.yml +++ b/features/case-sensitive-attributes.yml @@ -3,4 +3,4 @@ description: "" spec: https://drafts.csswg.org/selectors-4/#attribute-case caniuse: "" compat_features: - - css.selectors.attribute.case_sensitive_modifier \ No newline at end of file + - css.selectors.attribute.case_sensitive_modifier diff --git a/features/lang-list-wildcard.yml b/features/lang-list-wildcard.yml index 29b06162c43..30d2ba392fd 100644 --- a/features/lang-list-wildcard.yml +++ b/features/lang-list-wildcard.yml @@ -4,4 +4,4 @@ spec: https://drafts.csswg.org/selectors-4/#the-lang-pseudo caniuse: "" compat_features: - css.selectors.lang.argument_list - - css.selectors.lang.wildcards \ No newline at end of file + - css.selectors.lang.wildcards diff --git a/features/open-closed.yml b/features/open-closed.yml index 926295bf092..4fa220b6e2f 100644 --- a/features/open-closed.yml +++ b/features/open-closed.yml @@ -4,4 +4,4 @@ spec: "" caniuse: "" compat_features: - css.selectors.closed - - css.selectors.open \ No newline at end of file + - css.selectors.open diff --git a/features/target-within.yml b/features/target-within.yml index 38bdf687809..c2862a7bc8b 100644 --- a/features/target-within.yml +++ b/features/target-within.yml @@ -3,4 +3,4 @@ description: "" spec: https://drafts.csswg.org/selectors-4/#the-target-within-pseudo caniuse: "" compat_features: - - css.selectors.target-within \ No newline at end of file + - css.selectors.target-within diff --git a/features/time-relative-selectors.yml b/features/time-relative-selectors.yml index 3b516bb0bf7..c0a71418e4b 100644 --- a/features/time-relative-selectors.yml +++ b/features/time-relative-selectors.yml @@ -5,4 +5,4 @@ caniuse: "" compat_features: - css.selectors.future - css.selectors.past - # Note: `:current` has no support anywhere yet. \ No newline at end of file + # Note: `:current` has no support anywhere yet. From a4d9e72971e0ac41cb8f626a21cb76ebf2a36634 Mon Sep 17 00:00:00 2001 From: SondraE Date: Wed, 6 Nov 2024 12:48:39 -0700 Subject: [PATCH 3/5] add names, descriptions, groups --- features/case-insensitive-attributes.yml | 7 ++++--- features/case-sensitive-attributes.yml | 6 +++--- features/lang-list-wildcard.yml | 6 +++--- features/open-closed.yml | 6 +++--- features/target-within.yml | 6 +++--- features/time-relative-selectors.yml | 6 +++--- 6 files changed, 19 insertions(+), 18 deletions(-) diff --git a/features/case-insensitive-attributes.yml b/features/case-insensitive-attributes.yml index 9cdc1ca5dcb..7a1ec1217b5 100644 --- a/features/case-insensitive-attributes.yml +++ b/features/case-insensitive-attributes.yml @@ -1,6 +1,7 @@ -name: "" -description: "" +name: Case-insensitive attribute selector +description: The case-insensitive CSS attribute selectors match values with an `i` before the closing bracket. spec: https://drafts.csswg.org/selectors-4/#attribute-case -caniuse: "" +caniuse: css-case-insensitive +group: selectors compat_features: - css.selectors.attribute.case_insensitive_modifier diff --git a/features/case-sensitive-attributes.yml b/features/case-sensitive-attributes.yml index 614bc44b5b3..8f5bc46f686 100644 --- a/features/case-sensitive-attributes.yml +++ b/features/case-sensitive-attributes.yml @@ -1,6 +1,6 @@ -name: "" -description: "" +name: Case-sensitive attribute selector +description: The case-sensitive CSS attribute selectors match elements with case-sensitive values like `class`, `id`, and `data-*` attributes. An `s` before the closing bracket makes the value case sensitive. spec: https://drafts.csswg.org/selectors-4/#attribute-case -caniuse: "" +group: selectors compat_features: - css.selectors.attribute.case_sensitive_modifier diff --git a/features/lang-list-wildcard.yml b/features/lang-list-wildcard.yml index 30d2ba392fd..98d04e8c6ec 100644 --- a/features/lang-list-wildcard.yml +++ b/features/lang-list-wildcard.yml @@ -1,7 +1,7 @@ -name: "" -description: "" +name: Lang list wildcard +description: "[TODO] The `:lang()` CSS pseudo class selector matches elements based on the context of their given language attribute." spec: https://drafts.csswg.org/selectors-4/#the-lang-pseudo -caniuse: "" +group: selectors compat_features: - css.selectors.lang.argument_list - css.selectors.lang.wildcards diff --git a/features/open-closed.yml b/features/open-closed.yml index 4fa220b6e2f..aea1f644b7a 100644 --- a/features/open-closed.yml +++ b/features/open-closed.yml @@ -1,7 +1,7 @@ -name: "" -description: "" +name: Open and closed selectors +description: "The `:open` and `:closed` CSS selectors [TODO]" spec: "" -caniuse: "" +group: selectors compat_features: - css.selectors.closed - css.selectors.open diff --git a/features/target-within.yml b/features/target-within.yml index c2862a7bc8b..a807f420c9e 100644 --- a/features/target-within.yml +++ b/features/target-within.yml @@ -1,6 +1,6 @@ -name: "" -description: "" +name: :target-within +description: "The `:target-within` CSS pseudo-class represents the target element with an id matching the URL fragment." spec: https://drafts.csswg.org/selectors-4/#the-target-within-pseudo -caniuse: "" +group: selectors compat_features: - css.selectors.target-within diff --git a/features/time-relative-selectors.yml b/features/time-relative-selectors.yml index c0a71418e4b..1b4a3dea5cc 100644 --- a/features/time-relative-selectors.yml +++ b/features/time-relative-selectors.yml @@ -1,7 +1,7 @@ -name: "" -description: "" +name: Time-dimensional pseudo-selectors +description: The `:future` and `:past` CSS pseudo-selectors style upcoming or prior elements during media playback. spec: https://drafts.csswg.org/selectors-4/#time-pseudos -caniuse: "" +group: selectors compat_features: - css.selectors.future - css.selectors.past From 6d8429ec096105145325d74fd462312734e34f3e Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Tue, 12 Nov 2024 12:16:54 -0500 Subject: [PATCH 4/5] Remove lang-list-wildcard, update descriptions --- features/case-insensitive-attributes.yml | 2 +- features/case-sensitive-attributes.yml | 2 +- features/lang-list-wildcard.yml | 7 ------- features/lang-list-wildcard.yml.dist | 13 ------------- features/open-closed.yml | 4 ++-- features/target-within.yml | 2 +- 6 files changed, 5 insertions(+), 25 deletions(-) delete mode 100644 features/lang-list-wildcard.yml delete mode 100644 features/lang-list-wildcard.yml.dist diff --git a/features/case-insensitive-attributes.yml b/features/case-insensitive-attributes.yml index 7a1ec1217b5..32281aa8ced 100644 --- a/features/case-insensitive-attributes.yml +++ b/features/case-insensitive-attributes.yml @@ -1,5 +1,5 @@ name: Case-insensitive attribute selector -description: The case-insensitive CSS attribute selectors match values with an `i` before the closing bracket. +description: The `i` identifier in a CSS attribute selector matches attribute values case-insensitively in document languages like XML where attribute values are case-sensitive. spec: https://drafts.csswg.org/selectors-4/#attribute-case caniuse: css-case-insensitive group: selectors diff --git a/features/case-sensitive-attributes.yml b/features/case-sensitive-attributes.yml index 8f5bc46f686..00a92020db4 100644 --- a/features/case-sensitive-attributes.yml +++ b/features/case-sensitive-attributes.yml @@ -1,5 +1,5 @@ name: Case-sensitive attribute selector -description: The case-sensitive CSS attribute selectors match elements with case-sensitive values like `class`, `id`, and `data-*` attributes. An `s` before the closing bracket makes the value case sensitive. +description: The `s` identifier in a CSS attribute selector matches attribute values case-sensitively in document languages like HTML where attribute values are case-insensitive. spec: https://drafts.csswg.org/selectors-4/#attribute-case group: selectors compat_features: diff --git a/features/lang-list-wildcard.yml b/features/lang-list-wildcard.yml deleted file mode 100644 index 98d04e8c6ec..00000000000 --- a/features/lang-list-wildcard.yml +++ /dev/null @@ -1,7 +0,0 @@ -name: Lang list wildcard -description: "[TODO] The `:lang()` CSS pseudo class selector matches elements based on the context of their given language attribute." -spec: https://drafts.csswg.org/selectors-4/#the-lang-pseudo -group: selectors -compat_features: - - css.selectors.lang.argument_list - - css.selectors.lang.wildcards diff --git a/features/lang-list-wildcard.yml.dist b/features/lang-list-wildcard.yml.dist deleted file mode 100644 index 7776e75ab6a..00000000000 --- a/features/lang-list-wildcard.yml.dist +++ /dev/null @@ -1,13 +0,0 @@ -# Generated from: lang-list-wildcard.yml -# Do not edit this file by hand. Edit the source file instead! - -status: - baseline: false - support: - firefox: "114" - firefox_android: "114" - safari: "9" - safari_ios: "9" -compat_features: - - css.selectors.lang.argument_list - - css.selectors.lang.wildcards diff --git a/features/open-closed.yml b/features/open-closed.yml index aea1f644b7a..9e6c464a0b3 100644 --- a/features/open-closed.yml +++ b/features/open-closed.yml @@ -1,6 +1,6 @@ name: Open and closed selectors -description: "The `:open` and `:closed` CSS selectors [TODO]" -spec: "" +description: The `:open` and `:closed` CSS pseudo-classes match elements that have open and closed states, like ``, or `