Closed
Bug 173212
Opened 23 years ago
Closed 23 years ago
subordinate lists are not HTML 4.01 Transitional compliant
Categories
(Core :: DOM: Editor, defect)
Core
DOM: Editor
Tracking
()
People
(Reporter: bugzilla.mozilla.org, Assigned: mozeditor)
Details
(Whiteboard: editorbase)
when creating a list with sub-list items, the html code generated does not pass
the w3c's html validator service:
http://validator.w3.org/file-upload.html
to reproduce:
create a simple html file with subordinate bullets. composer generated the
following for me:
<html>
<head>
<title>bad list test</title>
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
</head>
<body>
Bad List Test<br>
<ul>
<li>Here's some list text...</li>
<ul>
<li>here's some more</li>
</ul>
</ul>
end.<br>
</body>
</html>
what should appear between the <body> tags is as follows:
<body>
Testing a list<br>
<ul>
<li>here's list text
<ul>
<li>here's more...<br>
</li>
</ul>
</li>
</ul>
done.<br>
<br>
</body>
Comment 1•23 years ago
|
||
Please provide steps for how you produced this invalid list.
I can't confirm until I can reproduce the problem and the problem is about the
creation of the list.
Thanks!
(If we can't get steps to reproduce in the next couple weeks, I recommend
resolving this as invalid.)
Steps to reproduce:
1. Open a new composer window.
2. Hit the bullet button
3. Hit the "Apply or remove bulleted list" button
4. Type "testing" and hit enter
5. Hit tab to get a subordinate bullet
6. Type "testing" and hit save
7. Add "testing" to the title prompt
8. Save the page as "testing.html"
9. Click Tools->Validate HTML
10. Browse to the file and click Validate
You should see a validation error message like the following:
Error: element "UL" not allowed here; assuming missing "LI" start-tag
correction to the "Steps to reproduce"
ignore Step 2.
sorry.
Comment 4•23 years ago
|
||
confirming; I can reproduce this in a recent debug build on Mac
--> Editor:Core (jfrancis)
Is this a duplicate bug of something Daniel found recently?
Assignee: syd → jfrancis
Status: UNCONFIRMED → NEW
Component: Editor: Composer → Editor: Core
Ever confirmed: true
Keywords: nsbeta1
OS: Windows 2000 → All
Hardware: PC → All
Whiteboard: editorbase
Trust me, 54479 is not a bug you want to have on your plate. This issue is
incredibly hard to solve. Just for the record, it took 5 **years** to DW to solve
it.
*** This bug has been marked as a duplicate of 54479 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•