Closed
Bug 12483
Opened 25 years ago
Closed 15 years ago
nested <noframes> elements not handled correctly
Categories
(Core :: DOM: HTML Parser, defect, P5)
Tracking
()
RESOLVED
WONTFIX
Future
People
(Reporter: ralf.stubner, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(3 files)
NOFRAMES element within another NOFRAMES like <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <title>foo</title> <NOFRAMES> foo <NOFRAMES> bar </NOFRAMES> snafu </NOFRAMES> displays 'snafu'. This is true for 'standalone' viewing and if the page is viewed within a frameset. This violates HTML 4 specifcation, as the first </NOFRAMES> only marks the end of the second <NOFRAMES>. (I admit that this isn't very sensible mark up, but it is valid according to nsgmls and frameset.dtd.) Bug found in M8 (build 1999-07-14T16) [sorry on newer version] [BTW, the bugzilla query page might be very powerfull, but for the occasional bug reporter like me who doesn't know all the details about the internals of Mozilla, it is rater difficult to find a specific bug. So I am not sure, that this bug isn't allready in the database :-(. I only found bug #2633, but the test case isn't valid HTML anyway...]
Updated•25 years ago
|
Assignee: karnaze → harishd
Comment 1•25 years ago
|
||
Reassigning to Harish.
Looks like Gecko is doing the right thing. That is, in a document such as <NOFRAMES> Text1 <NOFRAMES> Text2 </NOFRAMES> Text3 </NOFRAMES> The first /NOFRAMES should close the first & second NOFRAMES. In doing so "Text3" will get displayed because it will not be inside NOFRAMES anymore.
Reporter | ||
Comment 4•25 years ago
|
||
Reporter | ||
Comment 7•25 years ago
|
||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → LATER
Comment 8•25 years ago
|
||
LATERing. Although this markup may be valid in theory, I can't think of any practical application in which there would be a reason or need to nest one NOFRAMES element inside another. A single NOFRAMES element is used to provide the alternative content displayed to non frames-capable browsers. Including a second NOFRAMES element nested therein serves no purpose. Ralf--If you can think of a practical use or need for nested NOFRAMES elements, please let us know. Harish--If I've overlooked something, please feel free to reopen. Otherwise apply your time to the plenty of real-world problems we have. ;->
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 9•25 years ago
|
||
Marking verified later per last comments.
Updated•23 years ago
|
Summary: NOFRAMES element not handled correctly → nested <noframes> elements not handled correctly
Comment 10•22 years ago
|
||
LATER is deprecated per bug 35839. This looks like a big fat mistake in frameset.dtd: there's no reason for NOFRAMES to be a block element. Reopening and futuring, but I've written www-html-editor to see if this should be an erratum.
Status: VERIFIED → REOPENED
Resolution: LATER → ---
Target Milestone: M13 → Future
Comment 11•22 years ago
|
||
The word from www-html-editor is that NOFRAMES as block is a strategy adopted in Transitional to deal with iframes. So you could have: <IFRAME>....</IFRAME> <NOFRAMES>....<IFRAME>how pointless is this?</IFRAME><NOFRAMES>...</NOFRAMES> </NOFRAMES> In a sane world, the W3C would have made IFRAME and NOFRAMES as exclusion exceptions for NOFRAMES, but I guess that would just have made too much sense.
Comment 12•21 years ago
|
||
it seems like the debate on this issue has been resolved. So we need NOFRAMES implemented as a block element. can we have this bug reassigned and set for a specific milestone. This is a standards issue that has not been fixed.
Comment 13•21 years ago
|
||
resetting to defaults
Assignee: harishd → nobody
Status: REOPENED → NEW
QA Contact: chrispetersen → core.layout.html-frames
Comment 14•20 years ago
|
||
Why is this in layout? This is so a parser issue -- the content model is "wrong" (note that I think we should wontfix this, since otherwise we have to go through hell making things like scripts inside noframes not work).
Assignee: nobody → parser
Component: Layout: HTML Frames → HTML: Parser
Updated•15 years ago
|
Assignee: parser → nobody
QA Contact: layout.html-frames → parser
Comment 15•15 years ago
|
||
WONTFIX per HTML5.
Status: NEW → RESOLVED
Closed: 25 years ago → 15 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•