On Fri, Sep 13, 2013 at 7:25 AM, Benjamin Smedberg <benja...@smedbergs.us>wrote:
> This is a hard problem, and it depends on what question you're asking: > > * Is a node visible if it's in the window but some other window is > covering the current window? > * Is a node visible if it's currently scrolled out of view but would be > visible when scrolled? > * What about if overflow:hidden is set on whatever is scrollable? > * What about if it's in a background tab? > Yes, and what if it's covered by an opaque element? What about an element that's opacity:0.999? What if it's in a CSS transform with scale(0)? scale(0.001)? visibility:hidden? font-size:0? Figure out what's wanted and we can implement it or tell you how to :-). Rob -- Jtehsauts tshaei dS,o n" Wohfy Mdaon yhoaus eanuttehrotraiitny eovni le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o Whhei csha iids teoa stiheer :p atroa lsyazye,d 'mYaonu,r "sGients uapr,e tfaokreg iyvoeunr, 'm aotr atnod sgaoy ,h o'mGee.t" uTph eann dt hwea lmka'n? gBoutt uIp waanndt wyeonut thoo mken.o w * * _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform