Closed Bug 209916 Opened 21 years ago Closed 21 years ago

the "onscroll" event for the html page in the frame does not throw during programmatically scrolling or keboard scrolling of this page

Categories

(Core :: DOM: Events, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 189308

People

(Reporter: fradkov, Assigned: saari)

Details

(Keywords: dom1)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030612
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030612

I have three pages.
A.html
---------------------
<html>
<frameset rows="50%,*" framespacing="0" frameborder="1">
  <frame name="b" src="b.html" marginwidth="0" marginheight="0" frameborder="1"
noresize>
  <frame name="c" src="c.html" marginwidth="0" marginheight="0" frameborder="1"
noresize>
</frameset>
</html>
-------------------------

b.html
--------------------------
<html>
<head>
  <script language="JavaScript" type="text/javascript">function doOnScroll() {
alert("doOnScroll()"); } </script>
</head>
<body onscroll="doOnScroll()">
<table width="2000">
<tr><td>Aga</td></tr>
</body>
</html>
--------------------------------

c.html
----------------------------------
<html>
<head>
</head>
<body></body>
</html>


Reproducible: Always

Steps to Reproduce:
1. open a.html in Mozilla 1.4rc2
2. do mouse click on the b (top) frame
3. press right arrow key or try to scroll the b frame programmatically

Actual Results:  
nothing happens

Expected Results:  
Mozilla should call doOnScroll function and you should see an alert, because
onscroll event should be fired.
Keywords: dom1

*** This bug has been marked as a duplicate of 189308 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.