﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
8412	Opera: insertElement() not working as expected for inline elements	Teresa Monahan		"When inserting multiple elements into the editor in Opera, the elements are sometimes added in the incorrect order. This only seems to occur when one of the elements being added is an inline element.

To reproduce:
1. Save the attached file into the _samples directory and open it in Opera.
2. Click the 'Insert Elements' button. This should add an empty image to the editor, followed by a paragraph of text.
'''Problem:''' The Paragraph of text is sometimes added to the editor before the image.

This problem only occurs when inserting elements into an empty editor and it occurs roughly every 2nd time.

The attached sample uses the following code:
{{{
temp.setHtml('<img src=""""/><p>Text goes here</p>');
}}}

However if the img tag is replaced by other inline elements like <span> or <a>, the problem also occurs. We cannot reproduce the issue when using block level elements like <p> or <div> instead of the <img> tag though.

"	Bug	confirmed	Normal		General	3.0		IBM Opera	Damian Satya Minnekanti
