﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
7105	Table moved to top of document when list is created on selection.	Krzysztof Studnik		"Test case for numbered list:
 - Create 3 paragraphs
 - Set cursor at the end of second paragraph
 - Insert default table
Table is created between second and third paragraph
 - Select first two paragraphs and convert them to list
 - select paragraph below table and convert it to list item.
I wanted continuous numbers above and below table, so in '''Source''', I deleted/commented first {{{</ol>}}} and second {{{<ol>}}}, so the result should be as follows: 
----
{{{
#!html
<ol>
	<li>
		test1</li>
	<li>
		test2</li>
<!-- </ol> deleted -->
<table border=""1"" cellpadding=""1"" cellspacing=""1"" style=""width: 500px"">
	<tbody>
		<tr>
			<td>
				&nbsp;</td>
			<td>
				&nbsp;</td>
		</tr>
		<tr>
			<td>
				&nbsp;</td>
			<td>
				&nbsp;</td>
		</tr>
		<tr>
			<td>
				&nbsp;</td>
			<td>
				&nbsp;</td>
		</tr>
	</tbody>
</table>
<!-- <ol> deleted -->
	<li>
		test3</li>
</ol>
}}}
----
 - Switch back to WYSIWYG: The table is moved to top of document.
{{{
<table border=""1"" cellpadding=""1"" cellspacing=""1"" style=""width: 500px"">
	<tbody>
		<tr>
			<td>
				&nbsp;</td>
			<td>
				&nbsp;</td>
		</tr>
		<tr>
			<td>
				&nbsp;</td>
			<td>
				&nbsp;</td>
		</tr>
		<tr>
			<td>
				&nbsp;</td>
			<td>
				&nbsp;</td>
		</tr>
	</tbody>
</table>
<ol>
	<li>
		test1</li>
	<li>
		test2<!-- </ol> deleted --><!-- <ol> deleted --></li>
	<li>
		test3</li>
</ol>
}}}
Similar result happens on ""Select all"" and next Numbered/Bullet list "	Bug	closed	Normal		Core : Lists	3.0	invalid		
