﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5027	[IE] Standards Mode Selection: Cannot click to select to the right of a control node	Scott McNaught		"There is a bug with IE in standards mode when trying to click to the right of a control selectable node such as an image.

'''To replicate'''
Set the HTML to:
{{{
<p>
	Line 1<br />
	Line 2<img src=""http://www.google.com/intl/en_ALL/images/logo.gif"" /></p>
}}}

I have attached a patch which fixes this problem.  I dont know if it is implemented up to your standards though.

Some things that are bad about my patch are:[[BR]]
- Its using the CK dom range inside selection (seems a bit cyclic)
- You cannot mouse down and drag to select more[[BR]]
- I dont really understand why there are multiple selections / ranges so I have just used ""getRanges()[0]""[[BR]]
- Its using setTimeout() because the selection is not ready before the event[[BR]]
- I am using a constant of 20x20 pixels to check the mouse offset - perhaps a character size calculation is needed?

There may be some other ways to fix this.  Another idea is that we could insert a whitespace text node / span at the end of the block before the end of the mousedown event.

Cheers,[[BR]]
Scott[[BR]]
[http://www.synergy8.com/]"	Bug	confirmed	Normal		General	3.0		IE8 HasPatch	
