This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Based on WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=35281 Tests for delete command: '<ol><li>foo</li></ol>{}<br><ol><li>bar</li></ol>', '<ol id=a><li>foo</li></ol>{}<br><ol><li>bar</li></ol>', '<ol><li>foo</li></ol>{}<br><ol id=b><li>bar</li></ol>', '<ol id=a><li>foo</li></ol>{}<br><ol id=b><li>bar</li></ol>', '<ol class=a><li>foo</li></ol>{}<br><ol class=b><li>bar</li></ol>', '<ol><ol><li>foo</ol><li>{}<br><ol><li>bar</ol></ol>', '<ol><ol><li>foo</ol><li>{}<br></li><ol><li>bar</ol></ol>', None of these merge the lists. Also, the second-to-last doesn't normalize sublists -- delete code is evidently broken entirely for non-normalized nested lists (sigh). Not going to try this until I refactor!
Tests added: http://aryeh.name/gitweb.cgi?p=editing;a=commitdiff;h=929993fe
https://dvcs.w3.org/hg/editing/rev/b3afc97ff16e I added a whole bunch more tests than the ones from comment 0. See bug 14727 for the sublist normalization issue.