Closed
Bug 219265
Opened 22 years ago
Closed 22 years ago
list within list results in code that doesn't validate with w3c
Categories
(SeaMonkey :: Composer, defect)
Tracking
(Not tracked)
People
(Reporter: jstrand1, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030723 Epiphany/0.9.2
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030723 Epiphany/0.9.2
Open composer and click 'Apply or remove bulleted list' (though it is true of
numbered list as well). This creates a bullet. Type some text, press enter
(creating a 2nd bullet). Press Tab-- this creates an indented hollow bullet (a
list within a list). Type text, press return 3 times to get out of both lists.
Now go to http://validator.w3c.org and the page doesn't validate.
The problem is that mozilla writes this:
<ul>
<li>first bullet</li>
<ul>
<li>indented bullet</li>
</ul>
</ul>
whereas w3c wants this:
<ul>
<li>first bullet
<ul>
<li>indented bullet</li>
</ul>
</li>
</ul>
In other words <ul> is not a valid element for <ul> and needs to be within the
<li> tags.
Thanks
Reproducible: Always
Steps to Reproduce:
see above
| Reporter | ||
Comment 1•22 years ago
|
||
That was of course:
http://validator.w3.org/
sorry
Comment 2•22 years ago
|
||
*** This bug has been marked as a duplicate of 54479 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•