Behavior is not applied if id/class is added to element after insertion #43

Closed
lojjic opened this Issue Jul 20, 2010 · 2 comments

Projects

None yet

2 participants

Owner
lojjic commented Jul 20, 2010

This comes from forum posting http://css3pie.com/forum/viewtopic.php?f=3&t=34

If an element is appended to the DOM, and then given an id/class which causes it to match a style rule containing the PIE.htc behavior, then the behavior will not be picked up. If the id/class is added before appending to the DOM, then it works fine. See the testcase in the forum post.

This may just be a weakness of how IE attaches behaviors on the fly, but we should look into it to make sure it's not a PIE bug or something that can be worked around.

wbecker commented Jul 29, 2010

This seems to be fixed in the new release

Owner
lojjic commented Jul 29, 2010

Excellent, thanks!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment