Closed Bug 5047 Opened 25 years ago Closed 25 years ago

Window.resizeBy method does not work.

Categories

(Core Graveyard :: Tracking, defect, P2)

All
Windows 95
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: desale, Assigned: davidm)

Details

Window.resizeBy mthod does not work.

Providing information to simulate the problem.

Product: Seamonkey.[apprunner]
Build Date: 04/13/99
Platform: PC [Windows-95]

Steps to Reproduce:
1] Please copy the code I'm providing. Save as HTML file.
2] Open this HTML file in apprunner.


Expected Results: As soon as you open this HTML file, window should  start
shrinking from bottom-right corner. Window should shrink by 2 pixels, and it
should happen 100 times in loop. After some time, you should be able to see
small window. During shrinking you should be able to see the shrinking process.

Actual Results: Window does not shrink.


Code:

<html>
<head>
<title>Window Resize</title>
</head>
<body >
<script>
<!--
for ( i = 0; i < 200; i=i+2) {
self.resizeBy(-2,-2)
}
//-->
</script>
</body>
</html>
Summary: Window.resizeBy mthod does not work. → Window.resizeBy method does not work.
window.resizeTo method also does not work. I'm not entering seperate bug for
that, since this is related to this bug.
Assignee: vidur → joki
Assignee: joki → trudelle
This is also part of that whole 'apprunner doesn't provide a nsIBrowserWindow
interface to Gecko' problem.  I think there's a bug for this somewhere out
there already.  Giving to apprunner guys.
Assignee: trudelle → don
Component: DOM Level 0 → Apprunner
don, is this yours too?
Assignee: don → davidm
Priority: P3 → P2
Target Milestone: M6
Re-assigned to davidm.
Status: NEW → ASSIGNED
Hardware: PC → All
m6 assign. Aother DOM object to impliment
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Working ( 5/6/99 Mac build) as a result of some changes hyatt made
Status: RESOLVED → VERIFIED
Tested both methods resizeBy() and resizeTo(). both are working fine now.
Marking as verified.
Moving all Apprunner bugs past and present to Other component temporarily whilst
don and I set correct component.  Apprunner component will be deleted/retired
shortly.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.