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

Firefox 96 supports CSS counter-reset: reversed() #14093

Merged
merged 2 commits into from
Jan 18, 2022

Conversation

hamishwillee
Copy link
Contributor

FF96 supports new reversed() option for CSS counter-reset property. This was added in https://bugzilla.mozilla.org/show_bug.cgi?id=1706346

I have tested on chrome and it isn't supported in current versions. I have not tested on Safari, but this is recent and I suspect it has not been implemented.
This is in the spec but is only in firefox, so I have marked as experimental.

Should a feature also be added for the implicit list-item counter that was also added in FF96? This is needed to apply counter behaviour to number and reverse normal <ol> elements.

While it is unlikely that you would support reversed() without supporting list-item, it is possible that people might come along and try list-item for forward lists, because it is documented. If they try this in a browser that hasn't updated it will look like a different incompatibility. So my gut feeling is yes, but I wanted to get an opinion.

@github-actions github-actions bot added the data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label Dec 21, 2021
@hamishwillee
Copy link
Contributor Author

@ddbeck Could you please review this? It's a hangover from FF96.

Copy link
Collaborator

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

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

Thank you! One little change needed.

css/properties/counter-reset.json Outdated Show resolved Hide resolved
Co-authored-by: Daniel D. Beck <daniel@ddbeck.com>
@hamishwillee hamishwillee requested a review from ddbeck January 14, 2022 01:24
@hamishwillee
Copy link
Contributor Author

Thanks. I merged your commit, so this should be good to go.

@ddbeck ddbeck changed the title FF96 supports CSS counter-reset: reversed() Firefox 96 supports CSS counter-reset: reversed() Jan 18, 2022
@ddbeck ddbeck merged commit 11a9f42 into mdn:main Jan 18, 2022
@hamishwillee hamishwillee deleted the counter-reset_reversed branch January 31, 2022 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants