Skip to content
Skip the list of specifications

list-style

matches Chrome on some values: 4 of 5 examples match Chrome

css-lists-3

Some of the examples match Chrome and some do not: the count says how many, and the values that differ are listed first, each with its difference map.

The one that does not: list-style:linear-gradient(90deg,#f00,#00f). It comes first below, with its difference map.

What the specification says

Initial valuesee individual properties
Applies tolist items
Inheritedsee individual properties
Percentagessee individual properties
Computed valuesee individual properties
Syntax<'list-style-position'> || <'list-style-image'> || <'list-style-type'>

The definition in css-lists-3

The measurements

5 examples: one renders differently and comes first and four match Chrome. Each is one declaration on a small page, drawn by Chrome and by our engine. Drag on a picture to move the line between them.

list-style:linear-gradient(90deg,#f00,#00f)

renders differently
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome1,326
The same, on the page without the declaration302
Largest difference on one colour channel255 of 255
The same, on the page without the declaration255 of 255

The declaration takes effect differently from Chrome: the difference map shows where.

The example’s page

list-style:inside

same effect as Chrome
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome116
The same, on the page without the declaration302
Largest difference on one colour channel255 of 255
The same, on the page without the declaration255 of 255

The pages differ by 116 pixels with the declaration and by 302 without it: what differs is there before the property (mostly the fonts), and the declaration does not add to it.

The example’s page

list-style:"X"

same effect as Chrome
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome228
The same, on the page without the declaration302
Largest difference on one colour channel52 of 255
The same, on the page without the declaration255 of 255

The pages differ by 228 pixels with the declaration and by 302 without it: what differs is there before the property (mostly the fonts), and the declaration does not add to it.

The example’s page

list-style:none

same effect as Chrome
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome152
The same, on the page without the declaration302
Largest difference on one colour channel52 of 255
The same, on the page without the declaration255 of 255

The pages differ by 152 pixels with the declaration and by 302 without it: what differs is there before the property (mostly the fonts), and the declaration does not add to it.

The example’s page

list-style:square

same effect as Chrome
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome296
The same, on the page without the declaration302
Largest difference on one colour channel255 of 255
The same, on the page without the declaration255 of 255

The pages differ by 296 pixels with the declaration and by 302 without it: what differs is there before the property (mostly the fonts), and the declaration does not add to it.

The example’s page

Which values were measured

A match on one example means a match at the value tried. The property’s grammar has 6 branches, and 5 of them carry a measurement.

ValueMeasured
inside
same effect as Chrome
outsidenot measured
linear-gradient(90deg,#f00,#00f)
renders differently
square
same effect as Chrome
"X"
same effect as Chrome
none
same effect as Chrome

Measured against Chrome 148.0.7778.96 on 5 November 2026, with up to 40 candidate values tried per property. How it was measured