Skip to content

Commit 1825153

Browse files
committed
clip start string in IE svg test for robustness
1 parent 15579e1 commit 1825153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jasmine/tests/download_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ describe('Plotly.downloadImage', function() {
8181
var savedBlob;
8282
navigator.msSaveBlob = function(blob) { savedBlob = blob; };
8383

84-
var expectedStart = '<svg class=\'main-svg\' xmlns=\'http://www.w3.org/2000/svg\' xmlns:xlink=\'http://www.w3.org/1999/xlink\' width=\'300\' height=\'300\' style=\'\' viewBox=\'0 0 300 300\'>';
84+
var expectedStart = '<svg class=\'main-svg\' xmlns=\'http://www.w3.org/2000/svg\' xmlns:xlink=\'http://www.w3.org/1999/xlink\'';
8585
var plotClip = /clip-path='url\("#clip[0-9a-f]{6}xyplot"\)/;
8686
var legendClip = /clip-path=\'url\("#legend[0-9a-f]{6}"\)/;
8787

0 commit comments

Comments
 (0)