Skip to content
Skip the list of specifications

font-variant-caps

parsed, no effect: 0 of 5 examples match Chrome

css-fonts-4

Our parser accepts the name, yet our rendering is the same with and without the declaration, while Chrome’s changes: on this page the declaration has no effect.

What the specification says

Initial valuenormal
Applies toall elements and text
Inheritedyes
Percentagesn/a
Computed valueas specified
Syntaxnormal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps

The definition in css-fonts-4

The measurements

5 examples, all 5 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.

font-variant-caps:all-small-caps

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 Chrome5,594
The same, on the page without the declaration4,691
Largest difference on one colour channel221 of 255
The same, on the page without the declaration221 of 255

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

The example’s page

font-variant-caps:all-petite-caps

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 Chrome5,917
The same, on the page without the declaration4,691
Largest difference on one colour channel221 of 255
The same, on the page without the declaration221 of 255

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

The example’s page

font-variant-caps:unicase

parsed, no effect
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 Chrome5,346
The same, on the page without the declaration4,691
Largest difference on one colour channel221 of 255
The same, on the page without the declaration221 of 255

Our page is the same with and without the declaration; Chrome’s page changes.

The example’s page

font-variant-caps:small-caps

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,073
The same, on the page without the declaration4,691
Largest difference on one colour channel221 of 255
The same, on the page without the declaration221 of 255

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

The example’s page

font-variant-caps:petite-caps

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,238
The same, on the page without the declaration4,691
Largest difference on one colour channel221 of 255
The same, on the page without the declaration221 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 7 branches, and 5 of them carry a measurement.

ValueMeasured
small-caps
renders differently
all-small-caps
renders differently
petite-caps
renders differently
all-petite-caps
renders differently
unicase
parsed, no effect
titling-capsnot measured
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