From: <com...@fc...> - 2011-03-03 10:32:43
|
Author: garry.yao Date: 2011-03-03 11:33:25 +0100 (Thu, 03 Mar 2011) New Revision: 6513 Modified: CKEditor/tests/tt/5626/1.html Log: Adding tcs for dealing with table orphan elements. Modified: CKEditor/tests/tt/5626/1.html =================================================================== --- CKEditor/tests/tt/5626/1.html 2011-03-03 10:19:50 UTC (rev 6512) +++ CKEditor/tests/tt/5626/1.html 2011-03-03 10:33:25 UTC (rev 6513) @@ -3,7 +3,7 @@ <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" src="../../cktester/cell.js"></script> <script type="text/javascript"> //<![CDATA[ @@ -55,6 +55,18 @@ '<ul><li>item1</li><li>item2</li></ul>' ); }, + // Leaving orphan element as is, right now we're mainly talking about <tr> and <td>. + test_ticket_11 : function() + { + testParser( '<td>td1</td>text', + '<td>td1</td><p>text</p>' ); + + testParser( '<ul><tr><td>td1</td></tr><li>li1</li></ul>', + '<tr><td>td1</td></tr><ul><li>li1</li></ul>' ); + }, + +// shouldIgnoreAllBut : [ 'test_nested_table_cells' ], + name : document.title }; })() ); |