[Bug 13976] New: Backspacing in between two lists should merge them

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13976

           Summary: Backspacing in between two lists should merge them
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML Editing APIs
        AssignedTo: ayg@aryeh.name
        ReportedBy: ayg@aryeh.name
         QAContact: sideshowbarker+html-editing-api@gmail.com
                CC: mike@w3.org, public-webapps@w3.org


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!

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Tuesday, 30 August 2011 20:42:39 UTC