[OpenLayers-Commits] r11862 - trunk/openlayers/tests/Handler

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Sun Apr 3 15:49:02 EDT 2011


Author: erilem
Date: 2011-04-03 12:49:01 -0700 (Sun, 03 Apr 2011)
New Revision: 11862

Modified:
   trunk/openlayers/tests/Handler/Box.html
Log:
fix test_Handler_Box_draw in FF3, providing getComputedStyle with the correct number of arguments, this test still fails in IE8, no functional change

Modified: trunk/openlayers/tests/Handler/Box.html
===================================================================
--- trunk/openlayers/tests/Handler/Box.html	2011-04-03 12:47:14 UTC (rev 11861)
+++ trunk/openlayers/tests/Handler/Box.html	2011-04-03 19:49:01 UTC (rev 11862)
@@ -20,7 +20,7 @@
     function test_Handler_Box_draw(t) {
         var testAll = true;
         if (document.defaultView && document.defaultView.getComputedStyle &&
-                    !document.defaultView.getComputedStyle(document.body)) {
+                    !document.defaultView.getComputedStyle(document.body, null)) {
             // we don't get dimensions for hidden frames in FF4, and our test
             // runs in a hidden frame.
             testAll = false;



More information about the Commits mailing list