Skip to content
Skip the list of specifications

dominant-baseline

parsed, no effect: 0 of 5 examples match Chrome

css-inline-3

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 valueauto
Applies toblock containers, inline boxes, table rows, grid containers, flex containers, and SVG text content elements
Inheritedyes
PercentagesN/A
Computed valuespecified keyword
Syntaxauto | <baseline-metric>

The definition in css-inline-3

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.

dominant-baseline:hanging

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 Chrome2,590
The same, on the page without the declaration863
Largest difference on one colour channel204 of 255
The same, on the page without the declaration204 of 255

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

The example’s page

dominant-baseline:mathematical

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 Chrome2,005
The same, on the page without the declaration863
Largest difference on one colour channel204 of 255
The same, on the page without the declaration204 of 255

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

The example’s page

dominant-baseline:central

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 Chrome1,779
The same, on the page without the declaration863
Largest difference on one colour channel204 of 255
The same, on the page without the declaration204 of 255

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

The example’s page

dominant-baseline:middle

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 Chrome1,478
The same, on the page without the declaration863
Largest difference on one colour channel204 of 255
The same, on the page without the declaration204 of 255

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

The example’s page

dominant-baseline:ideographic

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 Chrome1,299
The same, on the page without the declaration863
Largest difference on one colour channel204 of 255
The same, on the page without the declaration204 of 255

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

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
text-bottomnot measured
alphabeticnot measured
ideographic
parsed, no effect
middle
parsed, no effect
central
parsed, no effect
mathematical
parsed, no effect
hanging
parsed, no effect
text-topnot measured
autonot 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