From 3f6e0141a4bed3e07eca52dea578e41b2b394c73 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Mon, 2 Jan 2012 22:29:23 -0700 Subject: [PATCH] No animation frames on hidden windows. As an optimization, Firefox does not execute functions passed to requestAnimationFrame when the window is hidden. This is the case for the panTo tests here that use a map in a hidden iframe. Since other browsers may follow suit, we just test the fallback setTimeout method of animating on these tests. --- tests/Map.html | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/tests/Map.html b/tests/Map.html index faad0b30c7..54898b9ea9 100644 --- a/tests/Map.html +++ b/tests/Map.html @@ -1,7 +1,22 @@ - - + +