Skip to content
Skip the list of specifications

letter-spacing

renders differently: 0 of 6 examples match Chrome

css-text-4

The property takes effect, but our pixels are not Chrome’s. The difference map on this page shows where.

What the specification says

Initial valuenormal
Applies toinline boxes and text
Inheritedyes
Percentagesrelative to used font-size
Computed valuean absolute length and/or a percentage
Syntaxnormal | <length-percentage>

The definition in css-text-4

The measurements

6 examples, all 6 render differently. 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.

letter-spacing:20px

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 Chrome12,493
The same, on the page without the declaration1,402
Largest difference on one colour channel221 of 255
The same, on the page without the declaration45 of 255

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

The example’s page

letter-spacing:50%

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 Chrome25,848
The same, on the page without the declaration1,402
Largest difference on one colour channel238 of 255
The same, on the page without the declaration45 of 255

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

The example’s page

letter-spacing:40%

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 Chrome6,832
The same, on the page without the declaration1,402
Largest difference on one colour channel32 of 255
The same, on the page without the declaration45 of 255

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

The example’s page

letter-spacing:4px

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 Chrome6,816
The same, on the page without the declaration1,402
Largest difference on one colour channel32 of 255
The same, on the page without the declaration45 of 255

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

The example’s page

letter-spacing:calc(40% + 20px)

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 Chrome42,714
The same, on the page without the declaration1,402
Largest difference on one colour channel238 of 255
The same, on the page without the declaration45 of 255

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

The example’s page

letter-spacing:calc(20px + 4px)

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 Chrome38,602
The same, on the page without the declaration1,402
Largest difference on one colour channel238 of 255
The same, on the page without the declaration45 of 255

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

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 3 branches, and 2 of them carry a measurement.

ValueMeasured
20px
4px
calc(20px + 4px)
renders differently
renders differently
renders differently
50%
40%
calc(40% + 20px)
renders differently
renders differently
renders differently
normalnot measured

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