Bug 12436
| Summary: | repaint issue when scrolling in html file with svg embedded: raster image embedded in SVG doesn't always correctly repaint | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Andreas Neumann <a.neumann> |
| Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 420+ | ||
| Hardware: | Mac | ||
| OS: | OS X 10.4 | ||
| URL: | http://www.carto.net/papers/svg/samples/canvas.shtml | ||
Andreas Neumann
This bug is perhaps not reproducable every time. I would appreciate if someone else would have a look at this well.
When I scroll in the given HTML (where an SVG map is embedded, which has a png image embedded) and I scroll as far as down that the SVG file is still partly visible and then I scroll up again, parts of the relief aren't repainted. See screenshot here: http://www.carto.net/neumann/webkitsvgbugs/screenshot_repaint_problem_when_scrolling.png
It seems like the vector part of the map is correctly repainted, but the raster part isn't.
Thank you for having a look at the issue!
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Eric Seidel (no email)
this seems to be an <image> invalidation issue. I thought we had fixed all those, but I guess not. Probably confusion due to RenderSVGImage inheriting from RenderImage.
Rob Buis
Hi,
(In reply to comment #0)
> This bug is perhaps not reproducable every time. I would appreciate if someone
> else would have a look at this well.
>
> When I scroll in the given HTML (where an SVG map is embedded, which has a png
> image embedded) and I scroll as far as down that the SVG file is still partly
> visible and then I scroll up again, parts of the relief aren't repainted. See
> screenshot here:
> http://www.carto.net/neumann/webkitsvgbugs/screenshot_repaint_problem_when_scrolling.png
>
> It seems like the vector part of the map is correctly repainted, but the raster
> part isn't.
>
> Thank you for having a look at the issue!
I can't reproduce it using ToT. Hopefully it is fixed by now?
Cheers,
Rob.
Andreas Neumann
yes, it seems to work fine in the current trunk - you can close this bug
I checked with both Intel and PowerPC versions
Thanks,
Andreas
David Kilzer (:ddkilzer)
Closing as FIXED per Comment #3.