RESOLVED FIXED Bug 16281
SVGs do not work as tiled background images
https://bugs.webkit.org/show_bug.cgi?id=16281
Summary SVGs do not work as tiled background images
Beth Dakin
Reported 2007-12-03 13:22:53 PST
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
Attachments
Test case for SVG background scaling/tiling (1.12 KB, application/zip)
2010-08-24 08:54 PDT, Sidney San Martín
no flags
Beth Dakin
Comment 1 2007-12-03 13:23:22 PST
Beth Dakin
Comment 2 2007-12-13 14:23:22 PST
I think SVGImage needs to implement its own version of Image::drawPattern()
Sidney San Martín
Comment 3 2010-08-24 08:54:33 PDT
Created attachment 65278 [details] Test case for SVG background scaling/tiling Should be scaled to `background-size`, not element size
Sidney San Martín
Comment 4 2010-08-24 08:57:33 PDT
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.
Nikolas Zimmermann
Comment 5 2011-07-04 09:20:07 PDT
I have a fix for this.
Nikolas Zimmermann
Comment 6 2011-07-23 05:01:16 PDT
47156 fixes this bug (except zooming which is still broken).
Nikolas Zimmermann
Comment 7 2011-10-31 08:27:04 PDT
Fixed in r98852. Thanks for the testcase!
Note You need to log in before you can comment on or make changes to this bug.