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>
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.
This bug is a duplicate of 21712, and has been fixed by http://trac.webkit.org/changeset/45316
*** This bug has been marked as a duplicate of 21712 ***