Closed
Bug 1575795
Opened 5 years ago
Closed 5 years ago
Bug with <ol> and <ul> lists
Categories
(Core :: Layout: Generated Content, Lists, and Counters, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1548753
People
(Reporter: u645609, Unassigned)
Details
Attachments
(1 file)
(deleted),
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
Exercice on HTML.
Show lists
code :
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>tables</title>
</head>
<body>
<!-- <main> -->
<h2>Les images et les tableaux</h2>
<ul>
<li><h3>Les images</h3></li>
<ol>
<li>Une image avec lien local</li>
<ul>
<img src="img/logo.png">
</ul>
<li>La même image grâce à l'URL absolue</li>
<ul>
<img src="">
</ul>
<li>La même image 20*50</li>
<ul>
<img src="">
</ul>
<li>La même image 99*61</li>
<ul>
<img src="">
</ul>
<li>img Lien local + texte</li>
<ul>
<img src="">
</ul>
<li>img Lien local + lien site ext</li>
<ul>
<img src="">
</ul>
<li>img Lien local + lien hmedia</li>
<ul>
<img src="">
</ul>
</ol>
</ul>
<!-- </main> -->
</body>
</html>
Actual results:
The results expected was ol list, with :
Expected results:
There are only ones :
There are only ones :
BugZilla show 1. to 7. it show 1. 1. 1. 1. 1. 1. 1.
Comment 4•5 years ago
|
||
Duplication of Bug 1548753 ?
Updated•5 years ago
|
Component: Untriaged → Layout: Generated Content, Lists, and Counters
Product: Firefox → Core
Comment 5•5 years ago
|
||
The given HTML markup is invalid because <ul>
and <ol>
should only contain <li>
elements.
https://html.spec.whatwg.org/multipage/grouping-content.html#the-ol-element
That said, this is a known issue...
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•