﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
8445	dialog.getSelectedElement() returns wrong element when element selected is within a table for 3.6.2, Firefox	Iver Odin Kvello		"Observable for instance for a single image inside a table cell. The bug seems to be caused by the selected element being set to be the containing table element even though for instance the double-click event does get the correct element passed as its .data.element.

For a document containing something like (only):


{{{
<table>
	<tbody>
		<tr>
			<td>
				<img alt=""Silva.jpg"" src=""/images/Silva.jpg"" style=""width: 100px; height: 133px;"" /></td>
		</tr>
	</tbody>
</table>
}}}

reproduce the bug by double-clicking on the image. The image dialog opens, but is not initialized with the image data.

In general, right-clicking the image will not show the image context-menu; double-clicking the image will open the image dialog, but will not initialize the dialog correctly; clicking the image toolbar icon with the image selected will open the image dialog but uninitialized.


"	Bug	new	Normal		Core : Selection				
