Ticket #7894: 7894_TC.patch

File 7894_TC.patch, 750 bytes (added by Garry Yao, 14 years ago)
  • _test/dt/core/htmlparser/fragment.html

     
    101101                },
    102102
    103103                /**
     104                 *  Test remove empty links.
     105                 */
     106                test_parser_8_3 : function()
     107                {
     108                        testParser(     '<p>test<a href="foo"><a href="bar"></p>', '<p>test</p>' );
     109                },
     110
     111                /**
     112                 *  Test keep empty anchors.
     113                 */
     114                test_parser_8_4 : function()
     115                {
     116                        testParser(     '<p>test<a name="foo"><a name="bar"></p>', '<p>test<a name="foo"></a><a name="bar"></a></p>' );
     117                },
     118
     119                /**
    104120                 * Test fixing malformed inline element closing.
    105121                 */
    106122                test_parser_9 : function()
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy