Bug 24870 - Multi-line bulleted list doesn't properly indent
Summary: Multi-line bulleted list doesn't properly indent
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Ryosuke Niwa
URL: http://www.mozilla.org/editor/midasdemo/
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-26 19:31 PDT by Annie Sullivan
Modified: 2009-07-21 15:29 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Annie Sullivan 2009-03-26 19:31:40 PDT
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>
Comment 1 Annie Sullivan 2009-03-26 19:32:57 PDT
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>
Comment 2 Ryosuke Niwa 2009-06-29 11:12:01 PDT
In the step four, did you mean Indent?  Then the problem is still present in the latest nightly build.
Comment 3 Ryosuke Niwa 2009-07-21 15:29:22 PDT
Assuming step (4) is Indent, this problem has been fixed by http://trac.webkit.org/changeset/46142.