web-platform-tests / interop

web-platform-tests Interop project
https://wpt.fyi/interop
301 stars 28 forks source link

writing-mode CSS property #814

Open BearCooder opened 3 days ago

BearCooder commented 3 days ago

Description

The writing-mode CSS property sets whether lines of text are laid out horizontally or vertically, as well as the direction in which blocks progress. When set for an entire document, it should be set on the root element (html element for HTML documents).

Tests should be here: https://wpt.fyi/results/css/css-writing-modes?label=master&label=experimental&aligned&q=writing%20mode

It enables cool usecases like you can use writing-mode to lay out a <select> horizontally for example. Thread

Unfortunately the properties sideways-lr and sideways-rl are not supported in Chrome and Safari.

Specification

https://www.w3.org/TR/css-writing-modes-3/

Additional Signals

MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/writing-mode

yisibl commented 2 days ago

Chrome Implementation is in progress. https://chromestatus.com/feature/6201053052928000