My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 293: Position of image differs in native vs flash
3 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  grick23
Closed:  Sep 29
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by iiiirichbkiiii, Sep 15, 2009
What steps will reproduce the problem?
1.view offsetie.html?svg.render.forceflash=true
2.view offsetie.html

What is the expected output? What do you see instead?

expected: The background gradient and the photo should have the same x, y
position.
actual: The upper left of the photo is centered in the gradient.

What version of the product are you using? On what operating system,
browser, and version of Flash?

svgweb r844
Mac 10.5.8
Opera 10
Flash Player MAC 10,0,22,87 (Debug player)

Please provide any additional information below. Reduced test cases are
always appreciated!

Same behavior using IE7 under Windows XP.
offsetie.html
705 bytes   Download
offsetie.svg
2.6 KB   Download
Comment 1 by grick23, Sep 15, 2009
(No comment was entered for this change.)
Status: Accepted
Owner: grick23
Comment 2 by grick23, Sep 15, 2009
The transform is not working directly on the image for some reason.
Until I fix this, you can move the transform to a new parent group node and it will work:

<g clip-path="url(#clip0)" id="g2530">
  <g transform="translate(-201.5,-135.5)">
    <image id="background_43"            
xlink:href="http://farm1.static.flickr.com/234/535566372_33c1025c7b_o.jpg"
                 width="403"
                 height="271" />
  </g>
</g>

Comment 3 by iiiirichbkiiii, Sep 15, 2009
Thanks for the quick response!  Your workaround works.
Comment 4 by ccmitchellusa, Sep 29, 2009
This defect is blocking the following Dojo GFX test cases:

o test_image2.html: picture shows, but move and transform has serious problem 
o test_image3.html: picture shows, but move and transform has serious problem 
o test_image4.html: not work (svgweb  bug 293 ) FAIL test_image5.html: not working 

See http://bugs.dojotoolkit.org/ticket/9948
Comment 5 by grick23, Sep 29, 2009
Fixed in r916.
Status: Fixed
Sign in to add a comment

Hosted by Google Code