- From: Will Morgan via GitHub <sysbot+gh@w3.org>
- Date: Wed, 21 Sep 2022 10:48:17 +0000
- To: public-device-apis-log@w3.org
Thanks for organising this, @beaufortfrancois. I have a few questions: 1. Should this affect only certain elements like img, canvas, video etc? 2. How should layering elements and z-index work? For example, a canvas element with a translucent div overlay. For (2), here are a couple of scenarios I can think of: Wrapper has `increaseBrightness`: ```html <div style="position: relative;" increaseBrightness> <canvas style="width: 640px; height: 480px; z-index: 1" /> <div style="z-index: 2; position: absolute; top: 0; left: 0; width: 100%; height: 100%"> </div> ``` Lower layer has `increaseBrightness`: ```html <div style="position: relative;"> <canvas increaseBrightness style="width: 640px; height: 480px; z-index: 1" /> <div style="z-index: 2; position: absolute; top: 0; left: 0; width: 100%; height: 100%"> </div> ``` -- GitHub Notification of comment by willmorgan Please view or discuss this issue at https://github.com/w3c/screen-wake-lock/issues/348#issuecomment-1253529029 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 21 September 2022 10:48:19 UTC