Closed Bug 104214 Opened 23 years ago Closed 23 years ago

Mouse wheel/arrows won't scroll outer page in iframe w/o scrollbar

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 42313

People

(Reporter: mozspam4kurt, Assigned: pollmann)

References

()

Details

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010917
BuildID:    2001091712

When a page contains a iframe that fits completely within the alloted area, no
scroll bar is (correctly) produced.  This however, prevents the use of the mouse
wheel or arrows to scroll the encompassing page (iframe?) when the pointer is
within the frame.

Reproducible: Always
Steps to Reproduce:
1. Go to the attachment (to follow)
2. Keep mouse to right of iframe (yahoo page)
3. Scroll page with mouse wheel
4. Move mouse to area just above or below iframe
5. Scroll mouse up & down

Actual Results:  When mouse pointer enters iframe, no more scrolling will occur.

Expected Results:  Outer page continues to scroll as normal

Similar results occur for the arrow keys *iff* the left mouse is clicked on some
non-active place in the iframe--i.e. the iframe is selected. In my opinion,
attempts to scroll should first work on the inner frame, but if there is no
scrolling to be done (in that direction--left & right handled separately), try
to scroll the encompassing frame, etc.  I.e. attempt to scroll outwards
recursively, until something scrolls, or no more encompassing frames.

I think this should definitely be the behaviour in the case of the mouse wheel,
but possibly not for the arrow keys.  This is because the user has not actively
selected the inner frame when mouse scrolling, but has in the arrow case.
w4m in W2K 2001101103.  looks like part of the broken mouse-wheel code bug.  see
most frequently duped bugs.  mouse-wheel doesn't work correctly on all platforms.
Another one that just got fixed is when a mouse is over top of an image it
doesn't allow the mouse-wheel to scroll the webpage.. this works now. 

Is this what the testcase is? if so, download a new nightly to see if this is a
problem.

Not sure what exactly the scope of this bug is for myself, too much
techno-jargon. it sounds like you are saying that using an iframe which doesn't
have a scroll-bar (per-code) the text on the rest of the page, is suppose to
produce a scroll-bar, when highlight the iframe with the mouse your mouse-wheel
doesn't work..?

if it works for you on a new nightly for linux, bug is a dupe and fixed.
Kurt, it looks like you're using the 0.9.4 milestone.  Judging from comments in 
bug 42313, a similar bug was fixed on the trunk after 0.9.4 branched, and was 
fixed on the 0.9.4 branch but only after 0.9.4 was released.  If this works for 
you on a newer build, please mark this bug as a duplicate of bug 42313.
Fixed in 0.9.5...

*** This bug has been marked as a duplicate of 42313 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: