mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Fix Chrome background-repeat parse error
This commit is contained in:
parent
015537826a
commit
63fbe2cb79
@ -787,7 +787,7 @@ _html2canvas.Parse = function (images, options) {
|
||||
function renderBackgroundRepeating(el, bounds, ctx, image, imageIndex) {
|
||||
var backgroundSize = _html2canvas.Util.BackgroundSize(el, bounds, image, imageIndex),
|
||||
backgroundPosition = _html2canvas.Util.BackgroundPosition(el, bounds, image, imageIndex, backgroundSize),
|
||||
backgroundRepeat = getCSS(el, "backgroundRepeat").split(",");
|
||||
backgroundRepeat = getCSS(el, "backgroundRepeat").split(",").map(function(value) { return value.trim(); });
|
||||
|
||||
image = resizeImage(image, backgroundSize);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user