← Back to release summary

'auto' keyword for '-webkit-appearance' CSS property

Category
CSS
Type
New or changed feature
Status
Enabled by default (Chrome 83)
Intent stage
Evaluate readiness to ship

Summary

'-webkit-appearance' CSS property will have new 'auto' keyword, which indicates the default appearance of the target element.

Motivation

It's hard to remember correct keywords for each of element types. For example, what's the correct keyword for the default appearance of <input type=range>; 'slider', '-webkit-slider', 'horizontal-slider', 'horizontalslider', 'or slider-horizontal'?

Standards & signals

Docs: N/A

Explainers: N/A

View on chromestatus.com