Closed
Bug 5057
Opened 26 years ago
Closed 25 years ago
Window.scrollBy method does not work.
Categories
(Core :: DOM: Core & HTML, defect, P3)
Core
DOM: Core & HTML
Tracking
()
VERIFIED
FIXED
M14
People
(Reporter: desale, Assigned: joki)
Details
(Whiteboard: [TESTCASE] minimal window.scrollBy example.)
Attachments
(1 file)
(deleted),
text/html
|
Details |
Window.scrollBy 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.
3] you'll find one button on tip called "Scroll Down".
4] Click that button.
Expected Results: As soon as you click that button, window should be scrolled
down automatically till last.
Actual Results: Window does not scroll down.
Code:
<html>
<head>
<title>Window Scroll</title>
</head>
<script>
<!--
function scrolltest1(){
for ( i = 0; i < 200; i=i+2) {
self.scrollBy(0,20)
}
}
function scrolltest2(){
for ( i = 0; i < 200; i=i+2) {
self.scrollBy(0,-20)
}
}
//-->
</script>
<body >
<form>
<input type="button" name="testing" Value="Scroll Down"
onclick="scrolltest1();"><br>
<h1>This is a junk text written here. This junk text is written in order
to see the scroll bars.</h1>
<h1>This is a junk text written here. This junk text is written in order
to see the scroll bars.</h1>
<h1>This is a junk text written here. This junk text is written in order
to see the scroll bars.</h1>
<h1>This is a junk text written here. This junk text is written in order
to see the scroll bars.</h1>
<h1>This is a junk text written here. This junk text is written in order
to see the scroll bars.</h1>
<h1>This is a junk text written here. This junk text is written in order
to see the scroll bars.</h1>
<h1>This is a junk text written here. This junk text is written in order
to see the scroll bars.</h1>
<h1>This is a junk text written here. This junk text is written in order
to see the scroll bars.</h1>
<h1>This is a junk text written here. This junk text is written in order
to see the scroll bars.</h1>
<h1>This is a junk text written here. This junk text is written in order
to see the scroll bars.</h1>
<h1>This is a junk text written here. This junk text is written in order
to see the scroll bars.</h1>
<input type="button" name="testing1" Value="Scroll Up"
onclick="scrolltest2();"><br>
</form>
</body>
</html>
Reporter | ||
Updated•26 years ago
|
Summary: Window.scrollBy mthod does not work. → Window.scrollBy method does not work.
Reporter | ||
Comment 1•26 years ago
|
||
Window.scrollTo method also does not work. Since both methods are related, I'm
not entering seperate bug for it.
Updated•26 years ago
|
Assignee: vidur → joki
Comment 2•26 years ago
|
||
Didn't I see this yesterday? Hmm....
Comment 3•25 years ago
|
||
Updated•25 years ago
|
Whiteboard: [TESTCASE] minimal window.scrollBy example.
Comment 4•25 years ago
|
||
desale@netscape.com's testcase can not be much further simplified. Still doesn't
work on M7 and on 1999070917 build. For complete bug report see desale's
comment.
Updated•25 years ago
|
OS: Windows 95 → All
Hardware: PC → All
Target Milestone: M14
Comment 5•25 years ago
|
||
This is broken on Macintosh today so changing platform/os to ALL. Set to M14
(post-beta) since this isn't a crasher.
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•25 years ago
|
||
I believe this may have just been fixed by Vidur.
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 7•25 years ago
|
||
Tested with 10-09-09 builds. Working fine. Marking verified.
You need to log in
before you can comment on or make changes to this bug.
Description
•