Closed
Bug 190929
Opened 22 years ago
Closed 22 years ago
Nested list HTML incorrect according to validator.w3.org
Categories
(SeaMonkey :: Composer, defect)
Tracking
(Not tracked)
People
(Reporter: bugzilla, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3a) Gecko/20021212 Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3a) Gecko/20021212 </li> put in wrong position in a nested list. It is put after the previous item instead of encapsulating the nested items. I.e. the nested <ol> is between two <li></li> pairs instead of nested inside of one of them. Reproducible: Always Steps to Reproduce: Reproducible: Always Steps to Reproduce: 1. Launch Composer 2. In the toolbar, click on the Apply Numbered List button 3. Type in first line of text. Press Enter. 4. Type in second line of text. Press Enter. 5. In the toolbar, click on the indent button. 6. Type in another line of text. Press Enter. Press outdent. Type another line of text Actual Results: HTML generated: <ol> <li>asdf</li> <li>asdf</li> <ol> <li>asdf</li> </ol> <li>asdf </li> </ol> Validator Error: Below are the results of attempting to parse this document with an SGML parser. 1. Line 12, column 5: document type does not allow element "OL" here; assuming missing "LI" start-tag <ol> ^ Expected Results: Correct HTML: <ol> <li>asdf</li> <li>asdf <ol> <li>asdf</li> </ol> </li> <li>asdf </li> </ol> Note: /LI from second item needs to be moved to included nested list items
Sorry, this is a duplicate of 54479... all my searches included the keyword "list", but not "lists". *** This bug has been marked as a duplicate of 54479 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•