Bug 24865

Summary: Indenting in ordered lists creates multiple sublists
Product: WebKit Reporter: Annie Sullivan <sullivan>
Component: HTML EditingAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: eric, jparent, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
URL: http://www.mozilla.org/editor/midasdemo/

Annie Sullivan
Reported 2009-03-26 17:49:02 PDT
Steps to reproduce: 1. Go to Midas Demo: http://www.mozilla.org/editor/midasdemo/ 2. Set HTML to the following: <ol><li>one</li><li>two</li><li>three</li></ol> 3. Put cursor in front of "two" and click Indent button. 4. Put cursor in front of "three" and click Indent button. (Note: can reverse steps 3 and 4, same thing happens) Actual Result: List looks like this: 1. one 1. two 1. three Html looks like this (two <ol>s at same level): <ol><li>one</li><ol><li>two</li></ol><ol><li>three</li></ol></ol> Expected Result: List looks like this: 1. one 1. two 2. three Html looks like this (single <ol> contains sublist): <ol><li>one</li><ol><li>two</li><li>three</li></ol></ol>
Attachments
Julie Parent
Comment 1 2009-03-26 17:52:10 PDT
Heh, this is familiar. FF 2 had many bugs like this and when they were fixed in FF 3, most user complaints about list editing went away. Seems like we want editing commands to always merge adjacent lists if they are created via execComands.
Ryosuke Niwa
Comment 2 2009-06-29 10:54:12 PDT
This bug is a duplicate of 21712, and has been fixed by http://trac.webkit.org/changeset/45316
Julie Parent
Comment 3 2009-06-29 14:34:57 PDT
*** This bug has been marked as a duplicate of 21712 ***
Note You need to log in before you can comment on or make changes to this bug.