New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 789063 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

frameset do not resize correctly after resize /dragged by mouse

Reported by jayakris...@gmail.com, Nov 28 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36

Steps to reproduce the problem:
1.create a frameset with 2 frames in it
2.Create a javascript function that can resize the frame
3. now drag the boundary between the frames by mouse

now if we resize the frames using javascript function it is not working.

What is the expected behavior?
even after dragging the boundary between the frames.
the resize function in javascript should work properly

What went wrong?
after dragged by mouse the frame size is not getting reflected if we change it by javascript

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 62.0.3202.94  Channel: stable
OS Version: 10.0
Flash Version: 

try this link for example
 https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_frameset_rows
 
Labels: Needs-Triage-M62
Cc: krajshree@chromium.org
Labels: Triaged-ET Needs-Feedback
jayakrishnaanvesh@ - Thanks for filing the issue...!!

Could you please provide a sample test file/url to test the issue from TE-end.
This will help us in triaging the issue further.

Thanks...!!
main page:
<html><head></head><frameset id="main" rows="50%,50%" contenteditable="false">
  <frame src="frame_rows.htm">
  <frame src="frame_a.htm">
</frameset>

</html>
...............................................................
 rows.htm

<html><head>
<script>
function changeRows()
{
parent.document.getElementById("main").rows="30%,70%";
}

function restoreRows()
{
parent.document.getElementById("main").rows="50%,50%";
}
</script>
</head>
<body>

<form>
<input type="button" onclick="changeRows()" value="Change row size">
<input type="button" onclick="restoreRows()" value="Restore row size">
</form>


</body></html>
....................................................................

a.htm

<html class=""><head><style id="__web-inspector-hide-shortcut-style__" type="text/css">
.__web-inspector-hide-shortcut__, .__web-inspector-hide-shortcut__ *, .__web-inspector-hidebefore-shortcut__::before, .__web-inspector-hideafter-shortcut__::after
{
    visibility: hidden !important;
}
</style></head><body bgcolor="#66CCFF">
<h3>Frame A</h3>

</body></html>

now drag the boundary between the frames .
and press restore row size button they do not resize

this happens only in chrome
sorry for late reply

Project Member

Comment 6 by sheriffbot@chromium.org, Dec 6 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "krajshree@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 7 by kochi@chromium.org, Dec 27 2017

Components: -Blink>HTML Blink>HTML>Frame
Status: Available (was: Unconfirmed)
I confirmed the issue.
(https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_frameset_rows)

Maybe on "rows" attribute change, the sizes for the frames are not
recalculated?

Project Member

Comment 8 by sheriffbot@chromium.org, Dec 27

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Hotlist-Recharge-Cold
Status: Available (was: Untriaged)

Sign in to add a comment