Add clone test for group with clip-mask.

This commit is contained in:
Jonathan Puckey 2011-05-21 20:35:13 +02:00
parent 861f826aa8
commit 14477aac59

View file

@ -118,4 +118,12 @@ test('Raster#clone()', function() {
raster.blendMode = 'multiply';
raster.rotate(20).translate(100);
cloneAndCompare(raster);
});
test('Group with clipmask', function() {
var path = new Path.Circle([100, 100], 30),
path2 = new Path.Circle([100, 100], 20),
group = new Group([path, path2]);
group.clipped = true;
cloneAndCompare(group);
});