Skip to content
Skip the list of specifications

writing-mode

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

css-writing-modes-4

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 2 that do not: writing-mode:vertical-rl, writing-mode:vertical-lr. They come first below, each with its difference map.

What the specification says

Initial valuehorizontal-tb
Applies toAll elements except table row groups, table column groups, table rows, table columns, ruby base containers, ruby annotation containers
Inheritedyes
Percentagesn/a
Computed valuespecified value
Syntaxhorizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr

The definition in css-writing-modes-4

The measurements

6 examples: two render differently and come 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.

writing-mode:vertical-rl

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 Chrome3,228
The same, on the page without the declaration1,402
Largest difference on one colour channel215 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

writing-mode:vertical-lr

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 Chrome3,980
The same, on the page without the declaration1,402
Largest difference on one colour channel215 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

writing-mode:sideways-rl

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

Identical to Chrome.

The example’s page

writing-mode:sideways-lr

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

Identical to Chrome.

The example’s page

writing-mode:sideways-lr

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 Chrome0
The same, on the page without the declaration864
Largest difference on one colour channel0 of 255
The same, on the page without the declaration45 of 255

Identical to Chrome.

The example’s page

writing-mode:vertical-rl

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 Chrome0
The same, on the page without the declaration0
Largest difference on one colour channel0 of 255
The same, on the page without the declaration0 of 255

Identical to Chrome.

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

ValueMeasured
vertical-rl
vertical-rl
renders differently
same effect as Chrome
vertical-lr
renders differently
sideways-rl
same effect as Chrome
sideways-lr
sideways-lr
same effect as Chrome
same effect as Chrome
horizontal-tbnot measured

Tests that name this property

13 web-platform-tests link to this property’s definition. Few tests carry such a link, so a short list says little about the property.

And 1 more.

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