Open
Bug 507308
Opened 16 years ago
Updated 5 years ago
Cannot exit list when <li> contains <br>.
Categories
(Core :: DOM: Editor, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: michaelthomas, Unassigned)
Details
(Whiteboard: [midas])
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.11) Gecko/2009060309 Ubuntu/8.04 (hardy) Firefox/3.0.11
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729)
For an <li> which does not contain a <br>, clicking the unordered list button will remove the list formatting for that line. For an <li> containing a <br>, the unordered list button creates a sublist inside the original <li>. This makes it impossible to exit the original <li> without going to the very end of the <li> and pressing enter.
This can be especially confusing if a user pastes a large amount of content into an <li>; they will have no way to break out of the list unless they go to the end.
Reproducible: Always
Steps to Reproduce:
1. Go to Midas Demo: http://www.mozilla.org/editor/midasdemo/
2. Enter the following HTML:
<ul><li>a<br>b</li></ul>
3. Place the cursor before the 'a'. Press the unordered list button.
Actual Results:
Another ordered list is created inside the current <li>. Note that this is not the case if the <li> doesn't contain a <br>.
Expected Results:
The contents of the <li> are moved out of the list. (any preceding list items remain in the list, any following list items are separated into a new list)
Updated•16 years ago
|
Whiteboard: [midas]
Comment 1•5 years ago
|
||
Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.
If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•