Steps to reproduce: 1. Go to Midas demo: http://www.mozilla.org/editor/midasdemo/ 2. Enter the following HTML <ul><li>one<br>two<br>three</li></ul> -OR- <ul><li>one<p>two</p><p>three</p></li></ul> 3. Select lines "two" and "three" 4. Hit Outdent button. Actual result: List turns into this: * two * three * one HTML: <ul><ul><li>two</li><li>three</li></ul><li>one<br></li></ul> Expected result: "two" and "three" outdented like this: * one * two * three HTML: <ul><li>one</li><ul><li>two</li><li>three</li></ul></ul>
Also, if you take that same HTML/selection and hit the "Ordered List" button, you get this: one 1. two three <ul><li>one<br>two<br>three</li></ul>
In the step four, did you mean Indent? Then the problem is still present in the latest nightly build.
Assuming step (4) is Indent, this problem has been fixed by http://trac.webkit.org/changeset/46142.