#7339 closed defect (fixed)
GFX: Image shift in IE if surface contains a path.
Reported by: | jayantbsai | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | 1.3 |
Component: | DojoX GFX | Version: | 1.1.1 |
Keywords: | gfx, image, path | Cc: | |
Blocked By: | Blocking: |
Description
This is a HUGE issue for us.
If a surface contains a path and an image. On applying translation transform on the surface, if the path reaches the left/top edge of the surface, the image starts shifting left/above.
I have attached a test case, here are the steps to reproduce the problem: Note that at startup, the top-left of the image matches with the center of the blue circle. Now if you start translating the group up or left. As soon as the top left of the path reaches either the top or left border of the surface and beyond, the image starts shifting. The image's top-left no longer matches with the center of the blue circle.
Attachments (1)
Change History (7)
Changed 12 years ago by
Attachment: | dojox_gfx_path_image_translate.html added |
---|
comment:1 Changed 12 years ago by
Milestone: | tbd → 1.2 |
---|---|
Priority: | highest → normal |
severity: | critical → normal |
Status: | new → assigned |
In IE any graphics element reaching left/top forces recalculation of left/top offsets for a parent div. It means that any relative elements will be visually shifted accordingly. It includes the image, which is implemented as an HTML element.
One possible solution is to to use one of the outer divs for such elements. Need experiments with that.
comment:3 Changed 12 years ago by
Should be fixed as part of #8435 --- please verify and close the ticket, or comment if the problem persists.
comment:4 Changed 12 years ago by
Milestone: | future → 1.3 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
I verified it with the included program and it works for me now.
Test case