Bug 26897 - Dynamic SVG images do not display correctly
Summary: Dynamic SVG images do not display correctly
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://mwilcox.dojotoolkit.org/svg/sv...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-01 12:59 PDT by Mike Wilcox
Modified: 2009-07-05 06:08 PDT (History)
2 users (show)

See Also:


Attachments
First attempt (5.35 KB, patch)
2009-07-04 12:54 PDT, Rob Buis
mjs: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Wilcox 2009-07-01 12:59:48 PDT
As per the link:
http://mwilcox.dojotoolkit.org/svg/svg2.xhtml

When inserting image nodes into the SVG doc, there are rendering problems. The test case shows that both images (a local and remote) show only half the image. Blurring and focusing the browser window will get them to display.

Note also in the JavaScript of the file, if I insert the element first then set the attributes, the image never shows.
Comment 1 Rob Buis 2009-07-04 12:54:00 PDT
Created attachment 32261 [details]
First attempt

Using repaint works for both normal svg and svg embedded in xhtml. Since it ends up calling clipped clippedOverflowRectForRepaint just like absoluteClippedOverflowRect does the computed update rects should be equal.
Cheers,

Rob.
Comment 2 Maciej Stachowiak 2009-07-05 04:28:48 PDT
Comment on attachment 32261 [details]
First attempt

r=me
Comment 3 Rob Buis 2009-07-05 06:08:05 PDT
Landed in r45550.