Closed Bug 69709 Opened 24 years ago Closed 23 years ago

Nested Frameset cannot be resized in JavaScript

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 69347
mozilla1.0

People

(Reporter: aogun, Assigned: pollmann)

Details

(Keywords: dom0, testcase)

Attachments

(3 files)

The text for three files is enclosed.  These create a frameset nested within a 
another frameset. When one of the frames is loaded, it attempts to modify the 
dimensions of the rows within the frameset.  

The expected behavior is that the frameset on the right side of the screen 
should make the top frame smaller (to 20%) and the bottom frame bigger, as soon 
as the page loads.

The milestone build of Mozilla does nothing (the top frame remains bigger than 
the bottom frame); while Netscape 6 indicates an exception in the JavaScript 
console [Exception... "Unexpected error" code:"-2147418113" 
nsresult:NS_ERROR_UNEXPECTED"].

These three files should be in the same folder.  View File 1 to produce the bug.
------------------------ File 1: ns6frameset.html -----------------------
<html>
<head>
</head>
<frameset name="mainframeset" cols="50%,50%">
	<frame name="nothingframe" src="detail.html" scrolling="auto">
	<frameset name="rightframeset" id="rightframeset" rows="77%,*">';
		<frame name="top" src="ns6test.html" scrolling="auto">
		<frame name="DCS" src="detail.html" scrolling="auto">
	</frameset>
</frameset>
</html>

----------------------------- File 2: detail.html -----------------------------
<html>
</html>

-----------------------------File 3: ns6test.html -----------------------------
<html>
<head>
<script>
function onLoad()
{
	parent.document.getElementById("rightframeset").rows = "20%,*";
}
</script>
</head>
<body onload="onLoad()">
<DIV ID="number1" ALIGN="left">
<DIV>
</body>
</html>
Browser, not engine. Reassigning to DOM Level 0 for further triage - 
Assignee: rogerl → jst
Component: Javascript Engine → DOM Level 0
QA Contact: pschwartau → desale
IIRC this is a dupe of one of pollmanns bugs, reassigning.
Assignee: jst → pollmann
Keywords: dom0
Dependent on 61648?
Severity: major → normal
Whiteboard: DUPE ME
Much frame happiness with recent builds. Reporter, is this still an issue?
This bug affects mozilla0.9 but it seems that if the mainframeset's cols
attribute is changed the frameset will resize.
Attached file frame for testcase
Attached file frame2 for testcase
Attached file actual testcase
For attachment 35561 [details]:

click on "Resize Sub Frameset 20% *"

expected result: frame resizes
actual result: nothing happens

click on "Resize Sub Frameset 20% *"
click on "Resize Main Frameset 20% 80%"

expected result: both frame resizes
actual result: both frame resizes
Confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Whiteboard: DUPE ME
Target Milestone: --- → mozilla1.0
This bug reports the same issue as bug 69347.  I'll note there to also verify
the fix with this testcase.

*** This bug has been marked as a duplicate of 69347 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Verified Duplicate
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: