SVGs work as background-images right now, but not when the background image is tiled. This is covered by an existing layout test: fast/images/svg-as-tiled-background.html
<rdar://problem/5615946>
I think SVGImage needs to implement its own version of Image::drawPattern()
Created attachment 65278 [details] Test case for SVG background scaling/tiling Should be scaled to `background-size`, not element size
This attachment may help clarify the bug… The SVG background image tiles just fine with `background-size`, but is scaled to the element size and clipped to the `background-size`, which is wrong behavior.
I have a fix for this.
47156 fixes this bug (except zooming which is still broken).
Fixed in r98852. Thanks for the testcase!