Skip to content

Commit

Permalink
Add :nth-child() features
Browse files Browse the repository at this point in the history
  • Loading branch information
foolip committed May 22, 2024
1 parent bbaf34d commit 30d78e7
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 0 deletions.
24 changes: 24 additions & 0 deletions features/nth-child-of.dist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Generated from: nth-child-of.yml
# Do not edit this file by hand. Edit the source file instead!

name: ":nth-child() of <selector>"
description: "The `:nth-child()` and `:nth-last-child()` CSS functional pseudo-class match TODO."
spec:
- https://drafts.csswg.org/selectors/#the-nth-child-pseudo
- https://drafts.csswg.org/selectors/#the-nth-last-child-pseudo
group: css
caniuse: css-nth-child-of
status:
baseline: low
baseline_low_date: 2023-05-09
support:
chrome: "111"
chrome_android: "111"
edge: "111"
firefox: "113"
firefox_android: "113"
safari: "9"
safari_ios: "9"
compat_features:
- css.selectors.nth-child.of_syntax
- css.selectors.nth-last-child.of_syntax
10 changes: 10 additions & 0 deletions features/nth-child-of.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: ":nth-child() of <selector>"
description: "The `:nth-child()` and `:nth-last-child()` CSS functional pseudo-class match TODO."
spec:
- https://drafts.csswg.org/selectors/#the-nth-child-pseudo
- https://drafts.csswg.org/selectors/#the-nth-last-child-pseudo
group: css
caniuse: css-nth-child-of
compat_features:
- css.selectors.nth-child.of_syntax
- css.selectors.nth-last-child.of_syntax
24 changes: 24 additions & 0 deletions features/nth-child.dist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Generated from: nth-child.yml
# Do not edit this file by hand. Edit the source file instead!

name: ":nth-child() (initial support)"
description: "The `:nth-child()` and `:nth-last-child()` CSS functional pseudo-class match TODO."
spec:
- https://drafts.csswg.org/selectors/#the-nth-child-pseudo
- https://drafts.csswg.org/selectors/#the-nth-last-child-pseudo
group: css
status:
baseline: high
baseline_low_date: 2015-07-29
baseline_high_date: 2018-01-29
support:
chrome: "4"
chrome_android: "18"
edge: "12"
firefox: "3.5"
firefox_android: "4"
safari: "3.1"
safari_ios: "2"
compat_features:
- css.selectors.nth-child
- css.selectors.nth-last-child
9 changes: 9 additions & 0 deletions features/nth-child.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: ":nth-child() (initial support)"
description: "The `:nth-child()` and `:nth-last-child()` CSS functional pseudo-class match TODO."
spec:
- https://drafts.csswg.org/selectors/#the-nth-child-pseudo
- https://drafts.csswg.org/selectors/#the-nth-last-child-pseudo
group: css
compat_features:
- css.selectors.nth-child
- css.selectors.nth-last-child

0 comments on commit 30d78e7

Please sign in to comment.