Bug 14040 - Top and bottom border images flipped when using -webkit-border-image when border end up tiled
Summary: Top and bottom border images flipped when using -webkit-border-image when bor...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: mitz
URL: http://henrik.tramsebyxa.se/aq4/borde...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2007-06-08 15:40 PDT by Anders Carlsson
Modified: 2007-06-20 14:56 PDT (History)
2 users (show)

See Also:


Attachments
Use the correct tile rect (33.57 KB, patch)
2007-06-19 07:14 PDT, mitz
adele: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Carlsson 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)
Comment 1 Mark Rowe (bdash) 2007-06-13 21:46:00 PDT
<rdar://problem/5269389>
Comment 2 mitz 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.
Comment 3 Adele Peterson 2007-06-20 14:56:29 PDT
Committed revision 23661.