mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
IE fix for background-position
This commit is contained in:
parent
61827150cc
commit
9c595dde0f
@ -105,8 +105,8 @@ html2canvas.prototype.backgroundImageUrl = function(src){
|
||||
*/
|
||||
|
||||
html2canvas.prototype.getBackgroundPosition = function(el,bounds,image){
|
||||
|
||||
var bgposition = this.getCSS(el,"background-position").split(" "),
|
||||
var bgpos = this.getCSS(el,"backgroundPosition") || "0 0";
|
||||
var bgposition = bgpos.split(" "),
|
||||
top,
|
||||
left,
|
||||
percentage;
|
||||
|
Loading…
Reference in New Issue
Block a user