[OpenLayers-Commits] r11277 - trunk/openlayers/tests

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Wed Feb 23 04:23:36 EST 2011


Author: erilem
Date: 2011-02-23 01:23:36 -0800 (Wed, 23 Feb 2011)
New Revision: 11277

Modified:
   trunk/openlayers/tests/run-tests.html
Log:
The Android browser doesn't allow scrolling in a div, this is a problem for our unit test page. With this patch, we disable scrolling in our test page's divs if noscroll is set in the query string. No functional change. p=aabt (closes #3085)

Modified: trunk/openlayers/tests/run-tests.html
===================================================================
--- trunk/openlayers/tests/run-tests.html	2011-02-23 09:19:45 UTC (rev 11276)
+++ trunk/openlayers/tests/run-tests.html	2011-02-23 09:23:36 UTC (rev 11277)
@@ -2410,4 +2410,10 @@
 </div>
 
 </span>
+<script>
+    if (/noscroll/.test(location.href)) {
+        document.getElementById('scroller').style.height='auto';
+        document.getElementById('right_frame').style.height='auto';
+    }
+</script>
 </body></html>



More information about the Commits mailing list