Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add counter-style #716

Merged
merged 1 commit into from
Mar 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
28 changes: 28 additions & 0 deletions feature-group-definitions/counter-style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "@counter-style"
description: The `@counter-style` CSS at-rule defines custom counter styles for list items. For example, you can use a sequence of specific symbols instead of numbers for an ordered list.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@font-face and @scope don't have descriptions yet, but I think "CSS at-rule" will work in general 👍

spec: https://drafts.csswg.org/css-counter-styles-3/
caniuse: css-at-counter-style
compat_features:
- css.at-rules.counter-style
- css.at-rules.counter-style.additive-symbols
- css.at-rules.counter-style.fallback
- css.at-rules.counter-style.negative
- css.at-rules.counter-style.pad
- css.at-rules.counter-style.prefix
- css.at-rules.counter-style.range
- css.at-rules.counter-style.speak-as
- css.at-rules.counter-style.suffix
- css.at-rules.counter-style.symbols
- css.at-rules.counter-style.system
- api.CSSCounterStyleRule
- api.CSSCounterStyleRule.additiveSymbols
- api.CSSCounterStyleRule.fallback
- api.CSSCounterStyleRule.name
- api.CSSCounterStyleRule.negative
- api.CSSCounterStyleRule.pad
- api.CSSCounterStyleRule.prefix
- api.CSSCounterStyleRule.range
- api.CSSCounterStyleRule.speakAs
- api.CSSCounterStyleRule.suffix
- api.CSSCounterStyleRule.symbols
- api.CSSCounterStyleRule.system