Closed Bug 12062 Opened 25 years ago Closed 25 years ago

Framesets not recognised when improperly nested

Categories

(Core :: DOM: HTML Parser, defect, P3)

x86
Other
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dwindlehop, Assigned: harishd)

References

()

Details

(Whiteboard: [TESTCASE])

Attachments

(3 files)

Trying this URL with the last build of Aug 17 gives the following error:

If you are not able to see this page, it is because your browser doesn't
support the frames feature, acquire a frames capable browser to view
this page.
Assignee: karnaze → pollmann
Reassigning to Eric.
Whiteboard: [MAKINGTEST] -- run2000@geocities.com
Summary: Site does not recognize Mozilla as a frames-capable browser → Framesets not recognised when improperly nested
Whiteboard: [MAKINGTEST] -- run2000@geocities.com → [TESTCASE]
Tested on Apprunner, build 1999081709 (M9), on Windows 95.

The problem appears to be that the frameset is improperly nested inside some
other element. It doesn't appear to matter that the element is not a known HTML
element. The notable case that may cause many existing pages to break is when
the frameset is a child of the BODY element.

Strangely, if the frameset is a child of the HEAD element, or some other element
that is a child of the HEAD element, the frameset works as expected.
This problem may also be related to bug 9059.
Assignee: pollmann → harishd
Component: HTMLFrames → Parser
Harish, these are some more malformed cases where framesets are not put in the
content model.

The first case doesn't work in Nav, IE, or Gecko.

The second case works in Nav and IE but not Gecko - this is the one that we
should maybe look at correcting.

The third case works in all three.

Can you take a look?  Thanks!
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fix is in:)  We should be ok...

Marking bug fixed.
Status: RESOLVED → VERIFIED
the first attached test case does not render as described. However, since it is
malformed HTML, it should not render as the reporter believes it should. The DTD
explicitly states that a frame/frameset is not allowed within the BODY element.
An HTML file is either comprised of the BODY element or the FRAMESET element.
The other two render correctly.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: