began updating the data url strings to match recent Chrome changes

This commit is contained in:
Eric Rowell
2013-03-24 13:32:52 -07:00
parent ffe11a4539
commit b5aaab3584
4 changed files with 8 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@@ -856,7 +856,7 @@ Test.Modules.CONTAINER = {
blueLayer.setZIndex(1);
console.log(greenLayer.getZIndex());
//console.log(greenLayer.getZIndex());
test(greenLayer.getZIndex() === 0, 'green layer should have z index of 0');
test(blueLayer.getZIndex() === 1, 'blue layer should have z index of 1');

View File

@@ -22,8 +22,6 @@ Test.Modules.LAYER = {
var style = layer.getCanvas().getElement().style;
console.log('--' + style.display);
test(style.position === 'absolute', 'canvas position style should be absolute');
test(style.border === '0px', 'canvas border style should be 0px');
test(style.margin === '0px', 'canvas margin style should be 0px');
@@ -104,6 +102,7 @@ Test.Modules.LAYER = {
warn(dataUrls['stacked green circles'] === dataUrl, 'stacked green circles stage data url is incorrect');
}
});
warn(dataUrls['stacked green circles'] === layer.toDataURL(), 'stacked green circles layer data url is incorrect');
},

View File

@@ -2090,6 +2090,8 @@ Test.Modules.NODE = {
var startDataUrl = layer.toDataURL();
//console.log(startDataUrl);
warn(startDataUrl === dataUrls['serialize stage with custom shape'], 'start data url is incorrect');
//test(triangle.getId() === 'myTriangle', 'triangle id should be myTriangle');
@@ -2617,7 +2619,7 @@ Test.Modules.NODE = {
layer.hide();
layer.draw();
console.log(layer.toDataURL());
//console.log(layer.toDataURL());
test(layer.toDataURL() === dataUrls['cleared'], 'layer is still visible');
},