W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2011

[whatwg] Proposal for a tab visibility API

From: Aryeh Gregor <Simetrical+w3c@gmail.com>
Date: Wed, 5 Jan 2011 18:24:50 -0500
Message-ID: <AANLkTimGMM0Bga=nfa_vJJ3B-OS4v4_qiv4wrtpSG0Om@mail.gmail.com>
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.
Received on Wednesday, 5 January 2011 15:24:50 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:29 UTC