Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#10353 closed defect (fixed)

Error creating dojox gfx surface in IE8 with no size args

Reported by: baubry Owned by: Eugene Lazutkin
Priority: high Milestone: 1.4.1
Component: DojoX GFX Version: 1.4.0b
Keywords: create surface dojox gfx Cc:
Blocked By: Blocking:

Description

In IE we get a javascript error when creating a surface with dojox.gfx whith no size arguments.

We take a look at vml.js and we have seen that if we put no size parameter the size will be 100%. It is ok for us but the line 781 cs.clip="rect(0px "+_f4+"px "+_f5+"px 0px)"; doesn't work.

Because if we have a size of 100% then the javascript command is: cs.clip="rect(0px 100%px 100%px 0px)";

If we comment the line it works.

Regards Benjamin

Change History (3)

comment:1 Changed 10 years ago by Eugene Lazutkin

Milestone: tbd1.4.1
Status: newassigned

comment:2 Changed 10 years ago by Eugene Lazutkin

Resolution: fixed
Status: assignedclosed

Should be fixed by other changes. Now if no size is specified, it is copied from the parent node.

comment:3 Changed 10 years ago by Eugene Lazutkin

(In [21195]) dojox.gfx: copying fixes to 1.4.x branch, !strict, refs #10345, refs #9815, refs #9858, refs #10353, refs #10632.

Note: See TracTickets for help on using tickets.