CSS3 PIE Forums
http://css3pie.com/forum/

PIE hates MooTools
http://css3pie.com/forum/viewtopic.php?f=6&t=2184
Page 1 of 1

Author:  whatabrain [ Wed Nov 13, 2013 4:06 pm ]
Post subject:  PIE hates MooTools

PIE calls a very expensive function -- getBoundingClientRect -- every time a property changes. MooTools adds dozens of properties to every element. In my case, this caused PIE to take 12 seconds to initialize in IE 8. Here's the fix in propChanged()

if( initialized && !( event && event.propertyName in ignorePropertyNames ) ) {
if (el[event.propertyName] && el[event.propertyName].apply) {
ignorePropertyNames[event.propertyName] = 1;
}
else {
update( 1 );
}

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/