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 value | horizontal-tb |
|---|---|
| Applies to | All elements except table row groups, table column groups, table rows, table columns, ruby base containers, ruby annotation containers |
| Inherited | yes |
| Percentages | n/a |
| Computed value | specified value |
| Syntax | horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr |
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

| Pixels that differ from Chrome | 3,228 |
|---|---|
| The same, on the page without the declaration | 1,402 |
| Largest difference on one colour channel | 215 of 255 |
| The same, on the page without the declaration | 45 of 255 |
The declaration takes effect differently from Chrome: the difference map shows where.
writing-mode:vertical-lr
renders differently

| Pixels that differ from Chrome | 3,980 |
|---|---|
| The same, on the page without the declaration | 1,402 |
| Largest difference on one colour channel | 215 of 255 |
| The same, on the page without the declaration | 45 of 255 |
The declaration takes effect differently from Chrome: the difference map shows where.
writing-mode:sideways-rl
same effect as Chrome

| Pixels that differ from Chrome | 0 |
|---|---|
| The same, on the page without the declaration | 1,402 |
| Largest difference on one colour channel | 0 of 255 |
| The same, on the page without the declaration | 45 of 255 |
Identical to Chrome.
writing-mode:sideways-lr
same effect as Chrome

| Pixels that differ from Chrome | 0 |
|---|---|
| The same, on the page without the declaration | 1,402 |
| Largest difference on one colour channel | 0 of 255 |
| The same, on the page without the declaration | 45 of 255 |
Identical to Chrome.
writing-mode:sideways-lr
same effect as Chrome

| Pixels that differ from Chrome | 0 |
|---|---|
| The same, on the page without the declaration | 864 |
| Largest difference on one colour channel | 0 of 255 |
| The same, on the page without the declaration | 45 of 255 |
Identical to Chrome.
writing-mode:vertical-rl
same effect as Chrome

| Pixels that differ from Chrome | 0 |
|---|---|
| The same, on the page without the declaration | 0 |
| Largest difference on one colour channel | 0 of 255 |
| The same, on the page without the declaration | 0 of 255 |
Identical to Chrome.
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.
| Value | Measured |
|---|---|
vertical-rlvertical-rl | renders differently same effect as Chrome |
vertical-lr | renders differently |
sideways-rl | same effect as Chrome |
sideways-lrsideways-lr | same effect as Chrome same effect as Chrome |
horizontal-tb | not 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.
- Passescss/css-flexbox/flexbox-writing-mode-007.html
- Passescss/css-flexbox/flexbox-writing-mode-008.html
- Passescss/css-flexbox/flexbox-writing-mode-009.html
- Passescss/css-flexbox/flexbox-writing-mode-010.html
- Passescss/css-flexbox/flexbox-writing-mode-011.html
- Passescss/css-flexbox/flexbox-writing-mode-012.html
- Passescss/css-flexbox/flexbox-writing-mode-013.html
- Passescss/css-flexbox/flexbox-writing-mode-014.html
- Passescss/css-flexbox/flexbox-writing-mode-015.html
- Passescss/css-flexbox/flexbox-writing-mode-016.html
- Failscss/css-flexbox/flexbox-writing-mode-slr-row-mix.html
- Failscss/css-flexbox/flexbox-writing-mode-srl-row-mix.html
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