Bug 14040

Summary: Top and bottom border images flipped when using -webkit-border-image when border end up tiled
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: Layout and RenderingAssignee: mitz
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, mitz
Priority: P2 Keywords: InRadar
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
URL: http://henrik.tramsebyxa.se/aq4/border-image.html
Attachments:
Description Flags
Use the correct tile rect adele: review+

Anders Carlsson
Reported 2007-06-08 15:40:24 PDT
There seems to be some sort of flipping problem inside void Image::drawTiled(GraphicsContext* ctxt, const FloatRect& dstRect, const FloatRect& srcRect, TileRule hRule, TileRule vRule, CompositeOperator op)
Attachments
Use the correct tile rect (33.57 KB, patch)
2007-06-19 07:14 PDT, mitz
adele: review+
Mark Rowe (bdash)
Comment 1 2007-06-13 21:46:00 PDT
mitz
Comment 2 2007-06-19 07:14:43 PDT
Created attachment 15118 [details] Use the correct tile rect There is another problem, which this patch does not fix, and I am not sure when it was introduced: the center tile is stretched along both axes even when stretch is specified only for one axis. calculatePatternScale() is the function responsible for that, and I don't know why it does that.
Adele Peterson
Comment 3 2007-06-20 14:56:29 PDT
Committed revision 23661.
Note You need to log in before you can comment on or make changes to this bug.