W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 30 Aug 2011 20:42:37 +0000
To: public-webapps@w3.org
Message-ID: <bug-13976-2927@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:47 GMT