﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
8158	Adding a link to an image via toolbar fails if HTML comment is in image's DOM parent chain	daniel.eric.lee		"Can be reproduced on the CKEditor demo page. 
1) Go to http://ckeditor.com/demo
2) Click on 'Source' in the toolbar. Before the opening <h1>, add an HTML comment: <!-- this is a comment -->
3) Click on 'Source' again to toggle back to WYSIWYG mode.
4) Select the Little Red Riding Hood image. 
5) On the toolbar, select the 'Link' button
6) Enter text for the link and click OK.

Result:
Link Dialog does not close, image is not link-ified, JavaScript error appears in the console:

sibling.is is not a function

... /core/dom/range.js
 Line 1032

It appears that range.js's 'enlarge' function is not taking HTML comments into account."	Bug	closed	Normal		General	3.5.1	fixed		
