[Webkit-unassigned] [Bug 27570] [CSS3 Backgrounds and Borders] Add support for the "space" value for background-repeat

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 26 10:48:52 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=27570





--- Comment #29 from Chiculita Alexandru <achicu at adobe.com>  2011-07-26 10:48:51 PST ---
(In reply to comment #27)
> (From update of attachment 102009 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=102009&action=review

> I'm concerned about the performance implications of this simple loop. Seems like you could fall into this slow tiling when you have a small background image with tiling over a large div (say a 1x1 px image with a 1px space over a 1000x1000 div).

That slow path is there just to help graphics libraries that do not have native support to render patterns with padding (eg. Skia, Cairo). CoreGraphics can draw patterns with different spacing, so I will add the fast path in a different patch/bug. 

Another solution might be to compute an image in memory with the size of the tile+padding and draw that using the native library.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list