A way to declare ties in ordered lists #10443
Labels
addition/proposal
New features or enhancements
needs implementer interest
Moving the issue forward requires implementers to express interest
What problem are you trying to solve?
Sometimes in an ordered list, two or more items are tied. You usually represent this by repeating the ordinal number for the tied items. For example:
In this example, Italy and France are tied, so they’re both in second place, but Spain is in fourth place because there are three items above it.
What solutions exist today?
Currently, you have to manually set
value
attributes:How would you solve it?
It would be useful if you could just declare a value repetition on France via something like
value=repeat
:This would instruct the browser to repeat the value, so France would get Italy’s value (2.), but the
list-item
counter would not be affected, so Spain would get 4. normally. In other words,value=repeat
would tell the browser to not render thelist-item
counter value for that item but to instead render the same value that the preceding item has.Anything else?
Related Mastodon discussion: https://mastodon.social/@simevidas/112689323328071444
The text was updated successfully, but these errors were encountered: