Changeset 1184 for branches


Ignore:
Timestamp:
04/09/09 21:02:32 (10 years ago)
Author:
douglas
Message:

Fixed test cases...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Ticket1226/paraHandlerBest.js

    r1183 r1184  
    10201020       '<p><em>hi</em></p><p>&nbsp;</p>', [['child', 1], ['child', 0]], 
    10211021                                          [['child', 1], ['child', 0], ['child', 0]]); 
     1022  // I hate that this is expected behavior, but the split code doesn't see the em tag in these two cases. 
    10221023  test('Body with inline tag: after text node', 
    10231024       '<em>hi</em>', [['child', 0], ['offset', 'length']], 
    1024        '<p><em>hi</em></p><p>&nbsp;</p>', [['child', 1], ['child', 0]], 
     1025       '<em>hi</em><p>&nbsp;</p>', [['child', 1], ['child', 0]], 
    10251026                                          [['child', 1], ['child', 0], ['child', 0]]); 
    10261027  test('Body with inline tag: after em node', 
    10271028       '<em>hi</em>', [['offset', 'length']], 
    1028        '<p><em>hi</em></p><p>&nbsp;</p>', [['child', 1], ['child', 0]], 
     1029       '<em>hi</em><p>&nbsp;</p>', [['child', 1], ['child', 0]], 
    10291030                                          [['child', 1], ['child', 0], ['child', 0]]); 
    10301031 
Note: See TracChangeset for help on using the changeset viewer.