Bug 136479

Summary: Using an SVG stack as image source does not paint it in all tiles in which it should
Product: WebKit Reporter: Radu Stavila <stavila>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: krit, mihnea, simon.fraser, thorton, webkit-bug-importer, WebkitBugTracker
Priority: P2 Keywords: AdobeTracked, InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Testcase.html
none
svg_target.svg
none
Screenshot before repaint
none
Screenshot after repaint none

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.