PIE
PIE copied to clipboard
use PIE with E:hover, element jitter occurs in IE
.somenode {
behavior: url(/PIE.htc);
border: 1px solid red;
border-radius: 5px;
display: block;
height: 500px;
width: 500px;
margin: 0;
}
.somenode:hover {
margin: 20px;
}
I found a bug of IE: Sometimes node.offsetTop & node.offsetLeft is not the value we want. setTimeout for 0Ms, we can get right offsetTop & offsetLeft

https://github.com/lojjic/PIE/pull/303 I wrote a test to reproduce the problem and attempt to repair