This repository was archived by the owner on Nov 27, 2025. It is now read-only.

Description
When a browser window moves between a display supporting HDR and one which doesn't, should an event be dispatched in order to tell applications that could respond to that change in capability?
gpuweb/gpuweb#1231 raises this question; it's come up in other venues before too.
If the rendering is going to an OffscreenCanvas rather than an HTMLCanvasElement, for example, what should the event target be?
CSS Media Queries support querying the color gamut: https://www.w3.org/TR/mediaqueries-4/#color-gamut . Is there already a pattern for dispatching events upon changes to the results of media queries?