Skip to content
Skip the list of specifications

font-variant-numeric

same effect as Chrome: 4 of 4 decided examples match Chrome; 1 not decided

css-fonts-4

The declaration changes our page the way it changes Chrome’s. What still differs between the two renderings was there before the declaration too, on the same page without it (mostly the fonts): no larger with it, or in the same places and no stronger.

What the specification says

Initial valuenormal
Applies toall elements and text
Inheritedyes
Percentagesn/a
Computed valueas specified
Syntaxnormal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]

The definition in css-fonts-4

The measurements

5 examples: four match Chrome and one is not decided. 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-numeric:ordinal

not decided
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,247
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 pages differ by 5,247 pixels with the declaration and by 4,691 without it: a little more, but within the difference the text already makes, so the measurement does not decide this example.

The example’s page

font-variant-numeric:diagonal-fractions

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 Chrome4,571
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 pages differ by 4,571 pixels with the declaration and by 4,691 without it: what differs is there before the property (mostly the fonts), and the declaration does not add to it.

The example’s page

font-variant-numeric:proportional-nums

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 Chrome4,606
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 pages differ by 4,606 pixels with the declaration and by 4,691 without it: what differs is there before the property (mostly the fonts), and the declaration does not add to it.

The example’s page

font-variant-numeric:oldstyle-nums

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 Chrome4,591
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 pages differ by 4,591 pixels with the declaration and by 4,691 without it: what differs is there before the property (mostly the fonts), and the declaration does not add to it.

The example’s page

font-variant-numeric:slashed-zero

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 Chrome4,688
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 pages differ by 4,688 pixels with the declaration and by 4,691 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 9 branches, and 5 of them carry a measurement.

ValueMeasured
lining-numsnot measured
oldstyle-nums
same effect as Chrome
proportional-nums
same effect as Chrome
tabular-numsnot measured
diagonal-fractions
same effect as Chrome
stacked-fractionsnot measured
ordinal
not decided
slashed-zero
same effect as Chrome
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