Index: /CKEditor/tests/tt/5626/1.html
===================================================================
--- /CKEditor/tests/tt/5626/1.html	(revision 5437)
+++ /CKEditor/tests/tt/5626/1.html	(revision 5437)
@@ -0,0 +1,61 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Ticket: #5626</title>
+	<meta name="tags" content="editor,unit,all">
+	<script type="text/javascript" src="../../../cktester/cell.js"></script>
+	<script type="text/javascript">
+	//<![CDATA[
+
+var tc;
+
+CKEDITOR.test.addTestCase( tc = (function()
+{
+	// Local reference to the "assert" object.
+	var assert = CKEDITOR.test.assert;
+
+	function testParser( input, expected )
+	{
+		var fragment = CKEDITOR.htmlParser.fragment.fromHtml( input, 'p' ),
+			writer = new CKEDITOR.htmlParser.basicWriter();
+
+		fragment.writeHtml( writer );
+
+		assert.areSame( expected, writer.getHtml( true ) );
+	}
+
+	return {
+
+		// We should leave partial list structure as is just like browsers, instead of trying to fix it. (#5626)
+		test_partial_list_in_table : function()
+		{
+			testParser(	'<table><tr><td><li>item1</li></td></tr></table>',
+						'<table><tr><td><li>item1</li></td></tr></table>' );
+		},
+
+		test_partial_list_in_body : function()
+		{
+			testParser(	'<body><td>cell</td></body>',
+						'<body><td>cell</td></body>' );
+		},
+
+		// We should be looking to fix nested table cells and list items.
+		test_nested_table_cells : function()
+		{
+			testParser(	'<table><tr><td>cell1<td>cell2</td></td></tr></table>',
+						'<table><tr><td>cell1</td><td>cell2</td></tr></table>' );
+
+			testParser(	'<ul><li>item1<li>item2</li></li></ul>',
+						'<ul><li>item1</li><li>item2</li></ul>' );
+		},
+
+		name : document.title
+	};
+})() );
+
+	//]]>
+	</script>
+</head>
+<body>
+</body>
+</html>
