Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE9 crash when using CSS Class Applier Module #60

Closed
timdown opened this issue Mar 22, 2014 · 5 comments
Closed

IE9 crash when using CSS Class Applier Module #60

timdown opened this issue Mar 22, 2014 · 5 comments

Comments

@timdown
Copy link
Owner

timdown commented Mar 22, 2014

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

@timdown
Copy link
Owner Author

timdown commented Mar 22, 2014

From timd...@gmail.com on July 08, 2011 06:21:02

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.

Status: Accepted

@timdown
Copy link
Owner Author

timdown commented Mar 22, 2014

From bre...@gmail.com on July 08, 2011 06:25:14

Thanks for looking at the issue. I tried IE10 TP2 and it crashes too.

@timdown
Copy link
Owner Author

timdown commented Mar 22, 2014

From timd...@gmail.com on July 08, 2011 09:31:04

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.

@timdown
Copy link
Owner Author

timdown commented Mar 22, 2014

From timd...@gmail.com on July 14, 2011 01:30:23

The fix I made for issue 61 also appears to have fixed this bug.

@timdown
Copy link
Owner Author

timdown commented Mar 22, 2014

From timd...@gmail.com on July 25, 2011 06:55:40

This is fixed in 1.2beta.

Status: Fixed

@timdown timdown closed this as completed Mar 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant