Merge pull request #705 from ahocevar/animation

Remove complexity from the image loading sequence. r=@elemoine,@tschaub
This commit is contained in:
ahocevar
2012-11-05 10:33:59 -08:00
5 changed files with 38 additions and 55 deletions

View File

@@ -770,7 +770,6 @@
}
function test_setOpacity(t) {
t.plan(5);
var map = new OpenLayers.Map('map');
@@ -1309,7 +1308,6 @@
}
function test_delayed_back_buffer_removal(t) {
//
// Test that the delaying of the back buffer removal behaves
// as expected.

View File

@@ -2,7 +2,7 @@
<head>
<script src="../OLLoader.js"></script>
<script type="text/javascript">
// turn off animation frame handling, so we can check img urls in tests
// turn off tile queue, so we can check img urls in tests
delete OpenLayers.Layer.Grid.prototype.queueTileDraw;
var isMozilla = (navigator.userAgent.indexOf("compatible") == -1);

View File

@@ -96,7 +96,7 @@
var eventPane = tile.frame.childNodes[0];
t.ok(OpenLayers.String.contains(eventPane.style.backgroundImage,
tile._blankImageUrl),
tile.blankImageUrl),
"backgroundImage of eventPane is set.");
t.eq(parseInt(eventPane.style.zIndex, 10), 1, "zIndex of eventPane is set.");
if(isIElt9) {