Give the map some height for the box tests
This commit is contained in:
@@ -13,6 +13,8 @@ describe('ol.render.Box', function() {
|
|||||||
box = new RenderBox('test-box');
|
box = new RenderBox('test-box');
|
||||||
|
|
||||||
target = document.createElement('div');
|
target = document.createElement('div');
|
||||||
|
target.style.height = '256px';
|
||||||
|
|
||||||
document.body.appendChild(target);
|
document.body.appendChild(target);
|
||||||
|
|
||||||
map = new Map({
|
map = new Map({
|
||||||
|
|||||||
Reference in New Issue
Block a user