Created attachment 135145 [details] Test Case A -webkit-image-set() in a border-image does not render correctly when viewed at 2x. You need to use a media query to make border-image work still. See attached test case with images.
<rdar://problem/11167820>
Created attachment 135146 [details] Image 1x
Created attachment 135147 [details] Image 2x
Created attachment 139310 [details] Patch
Comment on attachment 139310 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=139310&action=review > Source/WebCore/rendering/RenderBoxModelObject.cpp:1084 > + float imageScaleFactorAdjustRatio = 1 / image->imageScaleFactor(); Not sure this variable is needed. The word “ratio” doesn’t mean “reciprocal”, so this name is rather meaningless.
Thanks Dan! I got rid of that variable you didn't like: http://trac.webkit.org/changeset/115641