[Webkit-unassigned] [Bug 41596] Pattern fill with image not rendered after reload
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 6 22:34:02 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=41596
--- Comment #5 from Nikolas Zimmermann <zimmermann at kde.org> 2010-08-06 22:34:02 PST ---
(In reply to comment #4)
> The pattern is rendered into an ImageBuffer in RenderSVGResourcePattern::createTileImage(), by calling SVGRenderSupport::renderSubtreeToImage() with the RenderSVGImage. If this happens too early, there's no image yet, but there's also nothing to update the pattern once the image finally loads.
There is, RenderSVGImage::imageChanged, contains following code to handle it:
// The image resource defaults to nullImage until the resource arrives.
// This empty image may be cached by SVG resources which must be invalidated.
if (SVGResources* resources = SVGResourcesCache::cachedResourcesForRenderObject(this))
resources->invalidateClient(this);
Not sure what is happening, will check the testcase soon.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list