jeremykohn / ie7-js

Automatically exported from code.google.com/p/ie7-js
0 stars 0 forks source link

Bad argument in IE7 on line 2079 #389

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open html-page in IE7 with google-fonts
2. See console
3. An error has occurred

What version of the product are you using? On what operating system?
IE7, Windows 7

Please provide any additional information below.

Error is in function IE7.CSS.addRecalc() in file "ie7-js/trunk/lib/src/IE9.js", 
line: 2079 (IE8.js and IE7.js too)

For fix this error I have added the condition:
[ if (propertyName != 'font') element.runtimeStyle[propertyName] = 
element.parentElement.currentStyle[propertyName]; ]
and the error disappeared.

Original issue reported on code.google.com by y.misiuk...@gmail.com on 4 Jun 2013 at 12:03

Attachments: