Closed
Bug 293300
Opened 20 years ago
Closed 19 years ago
unclosed <p> inside <form> results in wrong document tree
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
People
(Reporter: andrzejk, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
(deleted),
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050502 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050502 Firefox/1.0+
Unclosed <p> placed inside <form> element causes all elements following <form>
element to be treated incorrectly as its children, not as siblings. It looks
like the parser just ignore the </form> tag in this case.
Reproducible: Always
Steps to Reproduce:
1. open attached testcase
Actual Results:
second line of text has invalid color because of incorrect document tree
Reporter | ||
Comment 1•20 years ago
|
||
Comment 2•20 years ago
|
||
We should not do this in standards mode indeed. (I'm not sure if it makes sense
for quirks mode, I guess not.) Doesn't work in a nightly of today either.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•20 years ago
|
||
Both Opera and Internet Explorer generate the correct DOM tree.
Comment 4•19 years ago
|
||
*** This bug has been marked as a duplicate of 22480 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Updated•19 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•