When an application zooms the map programmatically right after initialization, there will be an empty backbuffer. This should be avoided, because it adds an unnecessary DOM element. The tile.onLoadEnd handler registers a transitionend listener on the image of the last loaded tile. But if loading was aborted, there will be no image. The new logic registers the transitionend event on the last child of the layer div, which is not necessarily the tile we're handling loadend for. When the backbuffer is empty (i.e. no tile was loaded at the time the backbuffer was created), it will be removed immediately.
This directory contains unit tests for the OpenLayers library.
Tests use the Test.AnotherWay library from <http://openjsan.org>. The test
runner is 'run-tests.html' and new test files need to be added to
'list-tests.html'.
The following file naming conventions are used:
* A filename that starts with `test_` and has an `.html` extension
contains tests. These should contain tests for a specific class.
* A filename starting with `page_` and has an `.html` extension is a
supporting HTML file used in one or more tests.
* A filename starting with 'data_` is a supporting data file used in one
or more tests.