Firefox 96 supports CSS counter-reset: reversed()
#14093
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
FF96 supports new
reversed()
option for CSS counter-reset property. This was added in https://bugzilla.mozilla.org/show_bug.cgi?id=1706346I 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 supportinglist-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.