Closed
Bug 577111
Opened 15 years ago
Closed 15 years ago
List with an Anchor child which has a List child creates additional Anchors
Categories
(Core :: DOM: HTML Parser, defect)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: brandon, Unassigned)
References
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 GTB7.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 GTB7.1
If an anchor, which is a child of an unordered list, has an unordered list as a child, the anchor will be closed and reopened prior to each LI and closed and reopened after the final LI.
Probably goes back to when Anchors could not contain block level elements.
Reproducible: Always
Steps to Reproduce:
1. Open UL
2. Open LI
3. Open A
4. Open UL
5. Open LI
6. Create text
7. Close LI
8. Close UL
9. Close A
10. Close LI
11. Close UL
Actual Results:
Creates 3 Anchor Tags
-ul
--li
---a
----#text
---ul
----li
-----a
------#text
---a
----#text
Expected Results:
Single Anchor Tag
-ul
--li
---a
----ul
-----li
------#text
Reporter | ||
Comment 1•15 years ago
|
||
Look at DOM to see issue.
Comment 2•15 years ago
|
||
WFM on trunk, thanks to the HTML5 parser.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Component: DOM → HTML: Parser
Depends on: html5-parsing
OS: Windows 7 → All
QA Contact: general → parser
Hardware: x86 → All
Resolution: --- → WORKSFORME
Reporter | ||
Comment 3•15 years ago
|
||
Thanks for checking trunk! I'm at work and don't have access to it right now... going to have to change that. Anyway, thank you again!
Comment 4•14 years ago
|
||
I've got this issue in Firefox 3.6.12 on Mac OS X 10.6.4. Issue showed up with errant :hover behaviour. Here's a test case: http://watershedcreative.com/browser-bugs/bugzilla-577111.html
Comment 5•14 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•