Closed Bug 199024 Opened 21 years ago Closed 21 years ago

Smooth mouse scrolling in IFRAME also scrolls main window

Categories

(SeaMonkey :: General, defect, P2)

x86
All
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: samh1974, Assigned: roc)

References

Details

(Whiteboard: [fix])

Attachments

(1 file)

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

Mouse-wheel scrolling in an IFRAME also scrolls the main window as well.

Reproducible: Always

Steps to Reproduce:
1. Go to any site with an IFRAME, e.g. bugzilla
2. Mouse wheel in the IFRAME that comes up when you search for bugs


Actual Results:  
The main window scrolls as well

Expected Results:  
The IFRAME should scroll only

I think this broke when smooth scrolling was introduced in 2003032408
Confirming with Windows XP, build 2003032408
Keywords: regression
That would be surprising. We haven't changed how mousewheel events are delivered.
I see the bug. It only happens when smooth scrolling is enabled.
Assignee: asa → roc+moz
Status: UNCONFIRMED → NEW
Ever confirmed: true
sorry, should've been clearer about that
Blocks: 198964
Blocks: 198992
OS: Windows 2000 → All
The News iFrame on http://www.k10k.net is a good example of this
*** Bug 200567 has been marked as a duplicate of this bug. ***
*** Bug 201007 has been marked as a duplicate of this bug. ***
Status: NEW → ASSIGNED
Keywords: regression
Priority: -- → P2
Summary: Mouse scrolling in IFRAME also scrolls main window → Smooth mouse scrolling in IFRAME also scrolls main window
Whiteboard: [fix]
Attached patch fixSplinter Review
The old way of detecting a failed scroll operation doesn't work anymore. This
way does.
Comment on attachment 120542 [details] [diff] [review]
fix

Another easy one for ya, bz :-)
Attachment #120542 - Flags: superreview?(bzbarsky)
Attachment #120542 - Flags: review?(bzbarsky)
Attachment #120542 - Flags: superreview?(bzbarsky)
Attachment #120542 - Flags: superreview+
Attachment #120542 - Flags: review?(bzbarsky)
Attachment #120542 - Flags: review+
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
very cool. will this fix be reflected in the 4/16 or 4/17 nightly?
Maybe someone fixed bug 199471 too while they were in the IFRAME code?
This has absolutely nothing to do with bug 199471.

This fix will show up in tonight's builds.
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: