Open
Bug 485466
Opened 16 years ago
Updated 3 years ago
execCommand("outdent") unexpectedly removes <li> when <ul> is a child of it
Categories
(Core :: DOM: Editor, defect, P3)
Tracking
()
NEW
People
(Reporter: annie.sullivan, Unassigned)
References
()
Details
(Keywords: parity-chrome)
Steps to reproduce:
1. Go to Midas Demo: http://www.mozilla.org/editor/midasdemo/
2. Enter the following HTML:
<ul><li>a<ul><li>b</li></ul></li></ul>
3a. Place cursor after "b". Press Outdent button. Result: List item is removed instead of outdenting (HTML: <ul><li>a<br>b</li></ul>)
3b. After step 2, place cursor after "a". Press Outdent button. Result: Nothing happens.
Expected result: this should work the same as if the HTML were "<ul><li>a</li><ul><li>b</li></ul></ul>" (ul child of ul).
Updated•8 years ago
|
Priority: -- → P3
Comment 1•5 years ago
•
|
||
The behavior has changed, it now generates <ul><ul><li>a<br>b</li></ul></ul>
.
Updated•5 years ago
|
Keywords: parity-chrome
Updated•5 years ago
|
Summary: Cannot outdent when <ul> is a child of <li> → execCommand("outdent") unexpectedly removes <li> when <ul> is a child of it
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•