- From: Glenn Maynard <glenn@zewt.org>
- Date: Thu, 20 Jan 2011 15:50:31 -0500
- To: Alex Komoroske <komoroske@chromium.org>
- Cc: public-webapps@w3.org
- Message-ID: <AANLkTi=_Hwi-vQBH1ya=Lm=h6eYWL-5PoL+ZuG3J1jqn@mail.gmail.com>
On Thu, Jan 20, 2011 at 2:36 PM, Alex Komoroske <komoroske@chromium.org>wrote: > If you intend "preview" to include large but smaller-than-full-size >> previews, eg. scaled to 50%, I'd recommend avoiding the word "thumbnail"; I >> think most people wouldn't consider that a thumbnail. (I could probably >> come up with a reasonable UI where a preview is at 100%, too...) >> > > I agree, although I'm struggling with the precise wording to replace that > description with. Do you have any suggestions? > I did, too. The main generality behind previews that I came up with is that they're not actually the real, interactive page; they're more like a picture of the page than the page itself (eg. moving the mouse over it won't trip any mouseovers)--but that's far too complicated to get into for a description that should be simple and generalized. > visibilitychange >> > >> > A simple event, fired at the document object immediately after >> document.visibilityState transitions between visibility states. The event >> has a property, fromState, that is set to the value of >> document.visibilityState just before it was changed to the current value. >> Note that visibility has nothing to do with whether the document’s contents >> have fully loaded or not, which implies that for any given visibility >> transition event, onload may or may not have already fired. >> >> This should also include the old document.visibility value. >> > > Agreed, but what should the property of the event be called? fromVisible > seems awkward. > "wasVisible" is more natural, but it may be inconsistent to use both "from" and "was" in the same event. I'm not sure if there are any precedents to follow... On Thu, Jan 20, 2011 at 6:47 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote: > So an iframe that's scrolled out of view could return "hidden" if the browser wants? That's probably bad: if you're in a hidden iframe, you likely want to know if the document you're in is visible, not to always think you're hidden. -- Glenn Maynard
Received on Thursday, 20 January 2011 20:51:06 UTC