Bug 136479 - Using an SVG stack as image source does not paint it in all tiles in which it should
Summary: Using an SVG stack as image source does not paint it in all tiles in which it...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: AdobeTracked, InRadar
Depends on:
Blocks:
 
Reported: 2014-09-03 03:51 PDT by Radu Stavila
Modified: 2014-09-04 09:11 PDT (History)
6 users (show)

See Also:


Attachments
Testcase.html (1.25 KB, text/html)
2014-09-03 03:51 PDT, Radu Stavila
no flags Details
svg_target.svg (1.10 KB, image/svg+xml)
2014-09-03 03:52 PDT, Radu Stavila
no flags Details
Screenshot before repaint (116.97 KB, image/png)
2014-09-03 03:52 PDT, Radu Stavila
no flags Details
Screenshot after repaint (119.00 KB, image/png)
2014-09-03 03:53 PDT, Radu Stavila
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Radu Stavila 2014-09-03 03:51:13 PDT
When using an image stack as the source of an <img>, the image will only be painted in the tile in which it starts, the one to the right and the one below. But not in the one right and below. After issuing a repaint (by resizing the window or changing some property of the image that causes it to repaint), the image is correctly repainted and from then on the problem disappears, until reloading the document. 
See attached test-case and screenshots (taken before & after the 1st repaint).
Comment 1 Radu Stavila 2014-09-03 03:51:57 PDT
Created attachment 237554 [details]
Testcase.html
Comment 2 Radu Stavila 2014-09-03 03:52:21 PDT
Created attachment 237555 [details]
svg_target.svg
Comment 3 Radu Stavila 2014-09-03 03:52:48 PDT
Created attachment 237556 [details]
Screenshot before repaint
Comment 4 Radu Stavila 2014-09-03 03:53:06 PDT
Created attachment 237557 [details]
Screenshot after repaint
Comment 5 Simon Fraser (smfr) 2014-09-03 15:05:49 PDT
SVG hates tiling :(
Comment 6 Radar WebKit Bug Importer 2014-09-03 15:06:50 PDT
<rdar://problem/18221050>
Comment 7 Dirk Schulze 2014-09-04 00:26:21 PDT
(In reply to comment #5)
> SVG hates tiling :(

We should talk about tiling some day. I start seeing incidents with it. It seems like SVG renderers need to be prepared for this.
Comment 8 Simon Fraser (smfr) 2014-09-04 09:11:11 PDT
(In reply to comment #7)
> (In reply to comment #5)
> > SVG hates tiling :(
> 
> We should talk about tiling some day. I start seeing incidents with it. It seems like SVG renderers need to be prepared for this.

It just means that the SVG rendering code needs to deal with painting with a clip without artifacts at the clip edges.