Allows a stylesheets to use an arbitrary character for the list style marker. Examples include "-", "+", "★" and "▸". Since CSS Level 2, list-style-type has supported keywords like "disc" or "decimal" to define the appearance of the list item marker.
Without this, developers are often forced to hide the real marker and insert the arbitrary marker using a ::before pseudo-element via the content property. Unfortunately, the fake marker won't be nicely positioned by list-style-position. Alternatively, developers can use an image (such as an SVG) and reference it using the url() function. This sometimes produces less than desirable results.
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 79
- Chrome for Android release 79
- Android WebView release 79
Consensus & Standardization
Last updated on 2020-12-21