SVGImage and PDFDocumentImage need support for drawTiled
Both SVGImage and PDFDocumentImage currently have empty drawTiled implementations. In order to draw correctly as background images (or border images), these will both need drawTiled implementations.
Perhaps it will be possible to push some of BitmapImage::drawTiled logic down into Image and re-use it for SVGImage and PDFDocumentImage
This is important for having compelling SVG support in the next version of WebKit. Most authors will likely use SVG through <img> or CSS background images.
Created attachment 12502 [details]
This support does not handle dynamic images or SVGs with dynamic sizing. I think the pattern drawing system still needs some additional re-factoring for really good support.
Now we just need size negotiation for really cool svg-as-image support:
Comment on attachment 12502 [details]
r=me with changes we discussed on IRC