← Back to release summary

tab-size supports <number> css value type

Category
CSS
Type
New or changed feature
Status
Enabled by default (Chrome 77)
Intent stage
Prepare to ship

Summary

Adds support for <number> css value type to the CSS property tab-size, which determines the tab size used to render preserved tab characters. 'tab-size' accepts an <integer> or a <number> as its value type, and represents the measure as a real-number multiple of the space character’s advance width, in addition to its integer multiple.

Standards & signals

Explainers: https://drafts.csswg.org/css-text-3/#tab-size-property

View on chromestatus.com