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

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.

Documentation

Specification

Editor's draft

Status in Chromium

Blink>CSS


Enabled by default (launch bug) in:

  • Chrome for desktop release 59
  • Chrome for Android release 59
  • Android WebView release 59
  • Opera release 46
  • Opera for Android release 46

Consensus & Standardization

  • Public support
  • No public signals
  • No public signals
  • Positive

Owner

Last updated on 2017-07-20