WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
24866
Cannot press Enter to escape from bulleted list when <ul> is a child of <li>.
https://bugs.webkit.org/show_bug.cgi?id=24866
Summary
Cannot press Enter to escape from bulleted list when <ul> is a child of <li>.
Annie Sullivan
Reported
2009-03-26 18:12:14 PDT
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.
Attachments
fixes the bug
(10.72 KB, patch)
2009-08-14 16:54 PDT
,
Ryosuke Niwa
eric
: review+
eric
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2009-08-14 16:54:38 PDT
Created
attachment 34880
[details]
fixes the bug
Eric Seidel (no email)
Comment 2
2009-09-02 03:22:34 PDT
Comment on
attachment 34880
[details]
fixes the bug Looks sane. Ryosuke is a committer, he can set cq+ if he'd like the bot to commit it for him. cq- for now.
Ryosuke Niwa
Comment 3
2009-09-02 13:30:37 PDT
Landed as
http://trac.webkit.org/changeset/47987
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug