Summary: | SVGs do not work as tiled background images | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Beth Dakin <bdakin> | ||||
Component: | SVG | Assignee: | Nikolas Zimmermann <zimmermann> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | eric, jeffschiller, krit, mackyle, rik, simon.fraser, s+webkit, webkit, zimmermann | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
Bug Depends on: | 47156 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Beth Dakin
2007-12-03 13:22:53 PST
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). |