-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
[CSS] Implement CSS Lists counter-reset: reversed #10856
Comments
I think I understand this, but I'm seeing some inconsistent behaviour. Discussion kicked off in https://bugzilla.mozilla.org/show_bug.cgi?id=1706346 In summary, counter-reset: <counter-identifier> 7 //counter with initial value 7
counter-reset: <counter-identifier> //counter with initial value zero or you can specify counter-reset: mycounter none What has changed with this PR is that you can specify
This feature has then been used to implement the "special" counter used for lists - So lists behave as you would expect. You can reverse them in HTML using the There is a small "confusion" with reversed items in that if you use |
@Rumyra Would appreciate your advice on interactive examples. This has an example counter reset here: https://github.com/mdn/interactive-examples/tree/main/live-examples/css-examples/lists counter-reset.html allows you to select CSS for Two problems. I can't work out how we might conditionally change the I was thinking of fixing this by leaving the interactive example alone and just adding a simple embedded live example. Seem reasonable? |
Having checked the page I think this is a very good way to go. The interactive example is just going to be finiky otherwise 👍 |
Status
OK, I think the bulk of the work needed for this is done. Obviously we could continue forever with examples and some would be welcome. However I suspect others might do a better job than me at that. |
Acceptance Criteria
For folks helping with Firefox related documentation
dev-doc-complete
or
Features to document
Implement CSS Lists conter-reset: reversed(list-item) and
/
default style per spec
Related Gecko bugs
https://bugzilla.mozilla.org/show_bug.cgi?id=1706346
The text was updated successfully, but these errors were encountered: