[Webkit-unassigned] [Bug 24866] New: Cannot pres Enter to escape from bulleted list when <ul> is a child of <li>.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 26 18:12:14 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=24866

           Summary: Cannot pres Enter to escape from bulleted list when <ul>
                    is a child of <li>.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://www.mozilla.org/editor/midasdemo/
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sullivan at google.com


1. Go to Midas Demo: http://www.mozilla.org/editor/midasdemo/
2. Enter the following HTML (note <ul> is child of <li>):
<ul><li>item<ul><li>subitem</li></ul></li></ul>
3. Put cursor at end of "subitem" and press enter several times.

Actual result:
Cursor remains outdented, cannot escape <li>. Sample HTML after pressing enter
several times:
<ul><li>item<ul><li>subitem</li></ul><div><br></div><div><br></div><div><br></div><div><br></div></li></ul>

Expected result:
Same as if the HTML was "<ul><li>item</li><ul><li>subitem</li></ul></ul>" (<ul>
child of <ul>):
* First time pressing enter creates new list item under "subitem"
* Second time pressing enter outdents the list item (now under "item")
* Third time pressing enter outdents the list item, removing it entirely.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list