Re: [PageVisibility] Feedback on the spec

On 4/16/12 3:14 PM, James Graham wrote:
> Am I wrong in assuming that the visibility is supposed to reflect only
> the visibility of the top level browsing context as a whole, and not be
> individually correct for each nested browsing context?

No, you're not wrong (modulo the discussion about what should happen 
during page unloading).

> Assuming I am not wrong about that, I think the right fix to the problem
> above is to specify that when the visibility of a top level browsing
> context changes, an event is fired on that browsing context's document
> object and on the document object of each descendant browsing context.

That might be fine, yes.

-Boris

Received on Monday, 16 April 2012 19:17:20 UTC