RESOLVED INVALID 34333
border-image doesn't centre-align edge slices
https://bugs.webkit.org/show_bug.cgi?id=34333
Summary border-image doesn't centre-align edge slices
Ben Darlow
Reported 2010-01-29 08:50:45 PST
When using the border-image CSS3 property on an element, the edge ‘slices’ of the element are given an edge based on the source image. However the origin of the image slice isn't centred horizontally or vertically, which makes it impossible to position a key part of the border image in the middle of that edge. The attached URL demonstrates the problem. In Safari the box is given a border on all sides, but the chevron is missing from the right-hand edge of the element. In Firefox 3.5+ this behaves correctly (as can be seen in the provided screengrab). I've been unable to ascertain (due to lack of clarity in the CSS3 spec) whether the anchoring of tiled side edges is something which is implied or should be explicitly stated, but using the existing Firefox implementation as a reference, it seems that Safari's behaviour here is broken.
Attachments
border-image behaviour in Firefox 3.5 (5.96 KB, image/png)
2010-01-29 08:51 PST, Ben Darlow
no flags
Ben Darlow
Comment 1 2010-01-29 08:51:21 PST
Created attachment 47719 [details] border-image behaviour in Firefox 3.5
Dave Hyatt
Comment 2 2011-09-14 12:26:44 PDT
Test case is gone. Not enough information to continue.
Note You need to log in before you can comment on or make changes to this bug.