Re: [mediacapture-main] Broken foreground detection (#752)

> - _"...and satisfies the [has focus steps](https://html.spec.whatwg.org/multipage/interaction.html#has-focus-steps)."_

This may not cut it either, as [3 out of 4](https://github.com/whatwg/html/pull/6172#discussion_r532608881) browsers return `false` while the user is in the URL bar, which shouldn't delay camera IMHO.

Worse, only 1 (Firefox) out of 4 browsers appears to care about focus at all:  https://jan-ivar.github.io/dummy/gum_visiblefocus.html

Several specs seem in need of a similar "visible and focused" step in HTML, but it may need to be a new one.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/752#issuecomment-742036800 using your GitHub account


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

Received on Wednesday, 9 December 2020 20:42:13 UTC