← Back to release summary

Support the `hanging` and `each-line` for the `text-indent` property

Category
CSS
Type
Chromium catches up
Status
Proposed (Chrome Proposed)
Intent stage
None

WPT details: https://wpt.fyi/results/css/css-text?label=master&label=experimental&aligned&q=text-indent%20%28hanging%20or%20each-line%20or%20parsing%20or%20animations%29

Summary

The two optional keywords for the `text-indent` property extends the capability and the usability of the property. The `hanging` keyword changes indentation to "hanging", that is, all lines except the first line will be indented. The `each-line` keyword makes indentation to affect not only the first line but also each line after a forced line break.

Standards & signals

Ecosystem

View on chromestatus.com