- From: Michael Blain <mpb@google.com>
- Date: Thu, 30 Oct 2014 20:39:44 -0400
- To: public-web-perf@w3.org
- Message-ID: <CAKZ0ab-wucZ5cGs21f6=WikBoQ+u+xNmFbKnk5+9jEtwcYQvCA@mail.gmail.com>
Hi All, The current Page Visibility 2 spec [http://w3c.github.io/page-visibility/] was brought up at TPAC, and got a "looks good to me" from all present. Basically, we agreed that "On getting, the hidden attribute MUST return false if the given Document is at least partially visible on at least one screen. The attribute SHOULD return true if the given Document is not visible at all." [ http://w3c.github.io/page-visibility/#dom-document-hidden] sounded reasonable to all present. Firefox's implementation is already following proposed behavior by not firing requestAnimationFrame events for hidden content. The conclusion at the meeting was to enable this behavior in other browsers as well. If this change raises compatibility problems for site authors (i.e. they rely on raF in hidden frames and are already providing workarounds for FF), we can consider introducing an opt-in behavior later on. Is there anyone who was unable to attend in person who has any thoughts one way or the other on this (Boris?) please let us know! Thanks, -Mike
Received on Friday, 31 October 2014 00:40:12 UTC