Closed
Bug 69709
Opened 24 years ago
Closed 23 years ago
Nested Frameset cannot be resized in JavaScript
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
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>
Comment 1•24 years ago
|
||
Browser, not engine. Reassigning to DOM Level 0 for further triage -
Assignee: rogerl → jst
Component: Javascript Engine → DOM Level 0
QA Contact: pschwartau → desale
Comment 2•24 years ago
|
||
IIRC this is a dupe of one of pollmanns bugs, reassigning.
Assignee: jst → pollmann
Updated•24 years ago
|
Whiteboard: DUPE ME
Comment 4•24 years ago
|
||
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.
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
Comment 10•24 years ago
|
||
Confirming.
Updated•24 years ago
|
Target Milestone: --- → mozilla1.0
Assignee | ||
Comment 11•23 years ago
|
||
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
You need to log in
before you can comment on or make changes to this bug.
Description
•