Re: [screen-wake-lock] Control screen brightness 🔆 review feedback (#335)

Thank you @eligrey for your suggestions. We had thought about CSS at https://github.com/w3c/screen-wake-lock/blob/gh-pages/brightness-mode-explainer.md#css-property 

Note that a CSS WG folk suggested a JS approach: https://github.com/w3c/csswg-drafts/issues/6990#issuecomment-1022678458
> Looking over this, I think your JS API looks reasonable. This is something that should be permissioned, so I don't think we want this to be controllable via a CSS property. (In any case, this is more document-global rather than element-specific.)



-- 
GitHub Notification of comment by beaufortfrancois
Please view or discuss this issue at https://github.com/w3c/screen-wake-lock/issues/335#issuecomment-1153642336 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 13 June 2022 08:41:33 UTC