mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-30 18:14:42 +00:00
Add test for whitespace between commas
This commit is contained in:
parent
112dce71a3
commit
a1cde528dc
1 changed files with 1 additions and 1 deletions
|
|
@ -196,7 +196,7 @@
|
|||
ok(fabric.parsePointsAttribute);
|
||||
|
||||
var element = fabric.document.createElement('polygon');
|
||||
element.setAttribute('points', '10,12 20,22, -0.52,0.001 2.3e2,2.3e-2, 10,-1 ');
|
||||
element.setAttribute('points', '10, 12 20 ,22, -0.52,0.001 2.3e2,2.3e-2, 10,-1 ');
|
||||
|
||||
var actualPoints = fabric.parsePointsAttribute(element.getAttribute('points'));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue