Opened 11 years ago
Closed 11 years ago
#9858 closed defect (fixed)
Images not scaling correctly with SVG renderer.
Reported by: | Luis Montes | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | 1.4.1 |
Component: | DojoX GFX | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
When adding an image to a surface using createImage(), the shape created is of the correct dimensions specified. However, the image does not stretch in SVG to fill the shape's dimensions. The image keeps its original proportions and the extra space in the shape is transparent.
This is a problem with the default renderer on Firefox 3.5 and Chrome.
In IE7 with VML, the image correctly stretches to the shape's dimensions specified in the constructor.
Change History (6)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Milestone: | tbd → 1.4.1 |
---|---|
severity: | major → normal |
Status: | new → assigned |
comment:3 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 Changed 11 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
does not appear to be in 1.4 branch
comment:5 Changed 11 years ago by
comment:6 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
thx Adam for spotting the problem!
Note: See
TracTickets for help on using
tickets.
Also seems to render correctly in Canvas. Problem appears to be limited to the SVG renderer.