[whatwg] Proposal for a tab visibility API

Aryeh Gregor Simetrical+w3c at gmail.com
Wed Jan 5 15:24:50 PST 2011


On Tue, Jan 4, 2011 at 6:50 PM, Glenn Maynard <glenn at zewt.org> wrote:
>  * “visible” : the full-size page content may be at least partially
> visible on at least one screen.
>  * “hidden” : the full-size page content is not visible to the user at all.

I'd even say

* "hidden": the full-size page content is guaranteed not to be visible
to the user at all.
* "visible": the full-size page content may or may not be visible to the user.

Browsers just can't reasonably account for things like the tab being
on a second monitor that's turned off or who knows what.  You can only
guarantee that it's hidden, not that it's visible.



More information about the whatwg mailing list