Ticket #1011 (new defect)
Opened 5 days ago
IE Memory Leak With Morph.
| Reported by: | wkhurricane | Owned by: | |
|---|---|---|---|
| Type: | defect | Priority: | trivial |
| Milestone: | Mootools version 1.2 | Component: | Core |
| Keywords: | Leak | Cc: |
Description
Test With mootools-trunk-1547 and Drip-0.5(http://www.outofhanwell.com/ieleak/Drip-0.5.exe).
But mootools-beta-1.2b1.js do not have the problem.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<HEAD>
<TITLE> Mootools Morph </TITLE>
<script type="text/javascript" src="mootools-trunk-1547.js"></script>
<script type="text/javascript">
window.addEvent('domready', function(){
$$('#dList div.item').each(function(item, i){
item.addEvents({
'mouseenter': function(){
this.get('morph').cancel();
this.morph({height: 100, 'background-color':'#ff8020'});
},
'mouseleave': function(){
this.get('morph').cancel();
this.morph({height: 33, 'background-color':'#fff'});
}
});
});
});
</script>
<style type="text/css">
#dList{
border:solid 1px #333; width:400px; padding:2px;
}
#dList .item{
border:solid 1px #333; height:33px; line-height:33px; margin:1px;
background-color:#fff;
}
</style>
</HEAD>
<BODY>
<div id="dList">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
</BODY>
</HTML>
Note: See
TracTickets for help on using
tickets.