Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

use PIE with E:hover, element jitter occurs in IE #302

@gucong3000

Description

@gucong3000
.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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions