- From: François Beaufort via GitHub <sysbot+gh@w3.org>
- Date: Wed, 21 Sep 2022 11:44:35 +0000
- To: public-device-apis-log@w3.org
Thanks for your feedback @willmorgan! > 1. Should this affect only certain elements like img, canvas, video etc? I can't think of a reason to allow it only on certain elements. In your example below, a `<div>` has the `increaseBrightness` attribute and it works fine. As long as the element has a "certain" visible size, it should be okay. Did you have some elements in mind you didn't want? > 2. How should layering elements and z-index work? For example, a canvas element with a translucent div overlay. I was thinking of using the [bounding client rectangle](https://drafts.csswg.org/cssom-view/#dom-element-getboundingclientrect) of the element. It means we don't deal with layers at all. -- GitHub Notification of comment by beaufortfrancois Please view or discuss this issue at https://github.com/w3c/screen-wake-lock/issues/348#issuecomment-1253589206 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 11:44:37 UTC