- From: Anne van Kesteren <annevk@opera.com>
- Date: Fri, 07 Oct 2011 12:14:52 +0200
- To: "Arvind Jain" <arvind@google.com>, "Jonas Sicking" <jonas@sicking.cc>
- Cc: "Jatinder Mann" <jmann@microsoft.com>, "Boris Zbarsky" <bzbarsky@mit.edu>, "public-web-perf@w3.org" <public-web-perf@w3.org>
On Fri, 07 Oct 2011 02:28:18 +0200, Jonas Sicking <jonas@sicking.cc> wrote: > That means that if a page wants to only do certain actions when > displayed, it has to first check it's .hidden state, then walk up the > element.ownerDocument.defaultView.frameElement chain and at each > element use CSSOM to check if the iframe is hidden (which off the top > of my head I don't remember the API for). > > This seems severely more complex than simply checking .hidden. Does > anyone know of any webpages that we can check to see if they do this? > > What is the benefit of this approach? Are you also going to check for it being positioned off-screen, visibility:hidden, et cetera? It seems somewhat weird to have a display:none special case in this API. -- Anne van Kesteren http://annevankesteren.nl/
Received on Friday, 7 October 2011 10:15:30 UTC