Closed Bug 285522 Opened 19 years ago Closed 19 years ago

the scrollbar does not respond to mouse scroller in a div element with overflow:scroll or auto and with its content wider than the div size.

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 97283

People

(Reporter: jery_wang2002, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1

<html>
<body>
<div style="position:absolute; top:40px; left:100px; width:100px; height:100px;
overflow:scroll;">
<div>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
Test line<br/>
</div></div>
</body>
</html>

Reproducible: Always

Steps to Reproduce:
1.Create the HTML stated in this bug's detail and store it somewhere
2.Open location -> the file in no. 1
3.Try to scroll using mouse scroller inside the box with the scroll bar.
4.The content does not scroll as expected.

Actual Results:  
The content inside div element does not scroll as expected.

Expected Results:  
The content should scroll inside div element with overflow: auto or overflow:
scroll style.



This bug happens in Windows as well as Linux (Firefox 1.0.1, Fedora core 3 and
GNOME 2.8).

If the div element is as part of an HTML page and the page itself is bigger than
the firefox window, the HTML page scrolls instead of the content inside the div
element when the mouse scroller is scrolled inside the div element.
It's fixed in trunk builds.

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