You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have simple html code (see attachment) using rangy-core and rangy-cssclassapplier. When I use IE9 and select one word using mouse double click (word in the middle of text so after the double click the actual word and space after the word is selected), then click few times on the "Toggle someClass on selection", the IE crashes. It's not happening always, but pretty often, so the CSSClassApplier cannot be used in production. If I switch browser mode to "compatibility mode" or one of the older IE versions, everything seems to work, but it's ugly limitation.
Confirmed. It has to be an IE9 bug really, and I'm not sure there's much I will be able to do about it, but I'll run some tests and try tweaking things.
It's definitely an IE9 Range bug. I'm going to add a configuration option to switch IE9 into using the old, apparently more stable IE TextRange and document.selection interfaces and thus behave like older IE. I'll also try and create a simple test case and submit a bug to Microsoft.
From bre...@gmail.com on July 08, 2011 13:58:05
I have simple html code (see attachment) using rangy-core and rangy-cssclassapplier. When I use IE9 and select one word using mouse double click (word in the middle of text so after the double click the actual word and space after the word is selected), then click few times on the "Toggle someClass on selection", the IE crashes. It's not happening always, but pretty often, so the CSSClassApplier cannot be used in production. If I switch browser mode to "compatibility mode" or one of the older IE versions, everything seems to work, but it's ugly limitation.
Attachment: index.html
Original issue: http://code.google.com/p/rangy/issues/detail?id=60
The text was updated successfully, but these errors were encountered: