Counter styles
Counter styles are a more generalized way of defining what kind of markers your lists use. The traditional values remain supported, but in addition there’s a new, generic way of describing list counters.
Last major update on 12 October 2014.
I'm writing a CSS book.
Using an image for list markers
|
Probably |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
|
Position of the marker
|
Probably |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
|
Changing the default list markers
|
Most |
Most |
Yes |
Yes |
Yes |
Yes |
- IE and Firefox lack a few types.
|
Not yet supported
I don’t yet have tests for all declarations and rules in the spec. I will extend these tests once @counter-style
is supported.
Tested browsers
- IE7 and lower
- I removed them, so they’re not tested for newer methods and properties that they don’t support anyway. However, I copy all information from older versions of the Tables.
- If IE8 supports a method or property I never tested before I have to guess if IE7 and lower also support it. In general I assume they support the Microsoft-invented properties, but for others I will occasionally have to add a "Don’t know" entry. If IE8 does not support something I never tested before, I assume IE7 and lower also don’t support it.
- IE 8, 9, and 10
- On separate Windows 7 virtualizations
- IE11
- On Windows 8.1 virtualization
- On Surface
- Firefox
- 32 on Windows 7, Mac, and Linux
- Safari
- 7.0.5 on Mac
- Chrome
- 37 on Win7, Mac and Linux
- Opera 24
- 24.0 on Win7 and Mac
- Yandex 14
- 14.8 on Win7
- 14.8 on Mac
Operating systems
- Mac
- MacBook Pro 17'' with OS 10.9.4
- This is my main test station. It also runs all virtual Windows systems.
- Windows
- All downloaded from modern.ie. I use VirtualBox, and downloded the Windows 7 systems for all browsers but IE11, which runs on Windows 8.1.
- The non-IE Windows browsers all run on the IE9/Win7 virtualization.
- Surface
- Microsoft Surface with Windows RT 8.1
- Linux
- Ubuntu 12.04 on pretty old hardware. Not fair for performance comparisons.