From d71fe23337e89ddae190a2517048443095539606 Mon Sep 17 00:00:00 2001 From: Dave Date: Fri, 26 Oct 2012 11:01:58 +0900 Subject: [PATCH] Fixed retina display bug where a stray vertical line would appear --- jquery.corner.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jquery.corner.js b/jquery.corner.js index c416613..3b1a31c 100644 --- a/jquery.corner.js +++ b/jquery.corner.js @@ -132,7 +132,9 @@ $.fn.corner = function(options) { $this.css(radius ? 'border-bottom-right-radius' : moz ? '-moz-border-radius-bottomright' : '-webkit-border-bottom-right-radius', width + 'px'); return; } - + + $this.css('-webkit-background-clip', 'padding-box'); // fixes stray-line bug on retina displays + strip = document.createElement('div'); $(strip).css({ overflow: 'hidden',