Bug 24870
Summary: | Multi-line bulleted list doesn't properly indent | ||
---|---|---|---|
Product: | WebKit | Reporter: | Annie Sullivan <sullivan> |
Component: | HTML Editing | Assignee: | Ryosuke Niwa <rniwa> |
Status: | RESOLVED FIXED | ||
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
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>
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Annie Sullivan
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>
Ryosuke Niwa
In the step four, did you mean Indent? Then the problem is still present in the latest nightly build.
Ryosuke Niwa
Assuming step (4) is Indent, this problem has been fixed by http://trac.webkit.org/changeset/46142.