Opened 9 years ago

Closed 9 years ago

#12229 closed defect (fixed)

Error: Problem parsing d="" in Chrome for every .createPath() call

Reported by: vvoovv Owned by: Eugene Lazutkin
Priority: high Milestone: 1.6
Component: DojoX GFX Version: 1.5
Keywords: Cc:
Blocked By: Blocking:

Description

Please check dojox/gfx/tests/test_gfx.html in Chrome: each call of .createPath() with no argument leads to Error: Problem parsing d=""

As consequence each rendering of pie chart in Chrome with two or more slices leads to the same error. Check dojox/charting/tests/test_pie2d.html in Chrome

Attachments (1)

svg.patch (610 bytes) - added by cjolif 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by cjolif

Attachment: svg.patch added

comment:1 Changed 9 years ago by cjolif

This hits every WebKit? browser and is indeed annoying with charting (Pie).

We should not set d attribute if the path is empty and in that case remove d instead.

comment:2 Changed 9 years ago by cjolif

comment:3 Changed 9 years ago by Eugene Lazutkin

Status: newassigned

comment:4 Changed 9 years ago by Eugene Lazutkin

Resolution: fixed
Status: assignedclosed

(In [23735]) gfx: set/remove path to work around Chrome's bug, thx Christophe Jolif (IBM, CCLA), !strict, fixes #12229.

Note: See TracTickets for help on using tickets.