[whatwg] Proposal for a tab visibility API

Alex Komoroske komoroske at chromium.org
Tue Jan 4 17:02:45 PST 2011


On Tue, Jan 4, 2011 at 3:50 PM, Glenn Maynard <glenn at zewt.org> wrote:
>
>
> The earlier condition that I think you mentioned seemed reasonable:
> never say the page is "hidden" when it's not, eg. no false positives.
> It's more harmful to tell a visible page that it's invisible, than to
> tell an invisible page that it's visible:
>
>  * “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.
>
> This gives implementations some latitude to decide whether a condition
> should be treated as hidden, and doesn't require figuring out
> precisely whether a window is visible in every case.
>
> Great point, Glenn.  I agree completely.

--Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20110104/46c2e004/attachment-0002.htm>


More information about the whatwg mailing list