Closed
Bug 301682
Opened 19 years ago
Closed 19 years ago
content after iframe isn't displayed
Categories
(Core :: DOM: HTML Parser, defect)
Core
DOM: HTML Parser
Tracking
()
VERIFIED
INVALID
People
(Reporter: marius.andreiana, Unassigned)
Details
Attachments
(1 file)
|
248 bytes,
text/html
|
Details |
The content after an iframe isn't rendered to display. I've reduced the problem to the attached testcase. The text "This text doesn't appear" should be after the table which contains the iframe.
| Reporter | ||
Comment 1•19 years ago
|
||
Comment 2•19 years ago
|
||
That's clearly invalid behavior, and the parser is eating up that last fragment of text, presumably because of the </p> tag. Moving over to parser, possibly invalid.
Assignee: nobody → parser
Component: General → HTML: Parser
Product: Firefox → Core
QA Contact: general → mrbkap
Version: 1.0 Branch → Trunk
Comment 3•19 years ago
|
||
(In reply to comment #2) > That's clearly invalid behavior I meant "invalid HTML".
Updated•19 years ago
|
OS: Linux → All
Hardware: PC → All
Comment 5•19 years ago
|
||
(In reply to comment #4) > your iframe is missing a close tag. Or rather, in HTML, iframes are not empty elements, and so you cannot (mis-)represent them as such (ie "<iframe ... />"). The parser assumes the '/' is a typo, eats the rest of the document (waiting for the </iframe>), then adds the closing tags itself. Reporter, the DOM Inspector Is Your Friend.
Comment 6•19 years ago
|
||
Yeah, this bug is INVALID, as filed. You cannot use the XML /> empty element syntax in HTML, so the <iframe> is never actually closed (actually, in HTML <tag /> means <tag> /> but that's another story entirely). Marking INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•