Rajuoukanti / jquery-loadmask

Automatically exported from code.google.com/p/jquery-loadmask
0 stars 0 forks source link

Bug in IE9 #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Version 0.4

This code:

maskMsgDiv.css("top", Math.round(element.height() / 2 - (maskMsgDiv.height() - 
parseInt(maskMsgDiv.css("padding-top")) - 
parseInt(maskMsgDiv.css("padding-bottom"))) / 2)+"px");

maskMsgDiv.css("left", Math.round(element.width() / 2 - (maskMsgDiv.width() - 
parseInt(maskMsgDiv.css("padding-left")) - 
parseInt(maskMsgDiv.css("padding-right"))) / 2)+"px");

in result in sets top and left properties to NaN (detected with alert()). Any 
fixes?

Original issue reported on code.google.com by vladimir...@gmail.com on 2 Feb 2011 at 11:06

GoogleCodeExporter commented 8 years ago
I can confirm this in IE 9 beta.  The symptom is the mask appearing in the 
top/left corner and not centered as it is in other browsers.  However, in my 
tests it seems to have been resolved in IE 9 RC and positioning appears OK.

Original comment by bpro...@gmail.com on 11 Feb 2011 at 10:08