In v4, the way we style <ol> is by creating a custom counter, hiding the browser default list item number, and inserting our own numbering with ::before. That lets us style the heck out of the list item numbers. But it breaks some browser default goodness.
For instance, using the start attribute on the <ol> doesn't work:
<ol start="3">
<li>...
Instead, we should probably leave the default <ol> style mostly intact, and create our nicer custom style such that it can be used opt-in.
In v4, the way we style
<ol>
is by creating a custom counter, hiding the browser default list item number, and inserting our own numbering with::before
. That lets us style the heck out of the list item numbers. But it breaks some browser default goodness.For instance, using the
start
attribute on the<ol>
doesn't work:Instead, we should probably leave the default
<ol>
style mostly intact, and create our nicer custom style such that it can be used opt-in.