w3c / window-management

Window Management API
https://www.w3.org/TR/window-management/
Other
96 stars 25 forks source link

colorDepth and pixelDepth #42

Closed fantasai closed 2 years ago

fantasai commented 3 years ago

CSSOM View defines colorDepth and pixelDepth to return 24 always, and says they exist only for compat. It's not clear to me if the ScreenInfo API intends to do the same (in which case, I would suggest to drop them?) or if it intends to return some more specific information somehow.

rektide commented 3 years ago

Likely related to https://github.com/webscreens/window-placement/issues/20 ?

michaelwasserman commented 2 years ago

This API proposes an interface that inherits from Screen, which would expose the same per-screen attributes with the same definition. I would support CSSOM View updating its definition of these attributes if possible, or exposing additional per-screen information like WCG and HDR details as suggested in #20, but I don't think there is any specific action to take otherwise. Thanks for this feedback, and please reopen this issue if you have some additional insight.