Closed Bug 262635 Opened 21 years ago Closed 21 years ago

improper nesting of lists (ordered ol, unordered ul, definition dl)

Categories

(Core :: DOM: Editor, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 54479

People

(Reporter: rob, Assigned: mozeditor)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a4) Gecko/20040927 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a4) Gecko/20040927 when arranging a list hierarchically, the editor places list elements inside list elements. This is improper for even HTML 4.0 transitional. ul and ol elements may be placed within an li element, but not within another ul or ol element. I believe this sloppy nesting is leading to other bugs in maintaining the proper hierarchical relationships within nested lists. Reproducible: Always Steps to Reproduce: 1.Open a new composer document 2.change to a list mode (ul or ol) 3.type an item 4 hit return and enter another item 5 hit returen and enter another item 6.tab to demote the item Actual Results: the list appears as: <ul><li>an item</li> <li>another item</li> <ul><li>another item</li> </ul> </ul> instead of what should be: Expected Results: <ul><li>an item</li> <li>another item <ul><li>another item</li> </ul> </li> </ul>
*** This bug has been marked as a duplicate of 54479 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.