← Back to release summary

Standardized CSS zoom

Category
CSS
Type
New or changed feature
Status
In developer trial (Behind a flag) (Chrome 128)
Intent stage
None

Summary

Updates the existing implementation of the previously non-standard CSS zoom property to align with the new standard. This changes various JS APIs to align with the spec (see design doc), changes zoom to apply to iframe content documents, and changes it to apply to all inherited length properties (previously it only changed inherited font-size).

Motivation

Aligns the existing implementation of the previously non-standard CSS zoom property to align with the new standard. This changes various JS APIs to align with the spec (see design doc), change zoom to apply to iframes, and change it to apply to all inherit length properties (currently it only changes inherited font-size)

Standards & signals

Docs: https://docs.google.com/document/d/1AcnDShjT-kEuRaMchZPm5uaIgNZ4OiYtM4JI9qiV8Po/edit

Samples: https://jsbin.com/wasafateko/edit?html,css,js,output

View on chromestatus.com