← Back to release summary

Screen.colorDepth and Screen.pixelDepth can return other value than 24

Category
Graphics
Type
New or changed feature
Status
Enabled by default (Chrome 59)
Intent stage
None

Summary

The Screen object is no longer required to return 24 for colorDepth and pixelDepth. It enables websites to have a better idea of the number of bits being used to display a color on the screen.

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/API/Screen https://developer.mozilla.org/en-US/docs/Web/API/Screen/colorDepth https://developer.mozilla.org/en-US/docs/Web/API/Screen/pixelDepth

View on chromestatus.com