Closed Bug 534185 Opened 15 years ago Closed 15 years ago

Pagezoom with Ctrl + Mousewheel does not work when cursor is over fieldset

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 343945

People

(Reporter: amh, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; da; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2b6pre) Gecko/20091210 Namoroka/3.6b6pre (.NET CLR 3.5.30729)

When holding down the Ctrl key on the keyboard and turning the mouse wheel the page zoom do not work if the mouse cursor is hovering above a fieldset. If the cursor is placed outside the fieldset, on any text inside the fieldset, or on the fieldset legend, the page zoom do work. When hovering the  cursor any other place on the fieldset the page zoom do not work.

Reproducible: Always

Steps to Reproduce:
1. Open the Test.html test page
2. Hover the mouse cursor above the fieldset
3. Hold down the Ctrl key on the keyboard
4. Scroll with the mouse wheel
Actual Results:  
No page zoom happens.

Expected Results:  
Page zoom should work just as if the mouse cursor was placed above a div.

Tested on latest Mindfield nightly (Namoroka, version 3.6b6pre). Browser uses default settings. Only have two Extensions installed (Java Quick Starter 1.0, and Microsoft .NET Framework Assistant 1.1).

The bug also exists in Firefox 3.5.5 (Mozilla/5.0 (Windows; U; Windows NT 5.1; da; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)).
Version: unspecified → Trunk
Confirmed with Firefox 3.0, 3.5, 3.6 and latest trunk on Windows Vista.
Component: General → Layout
Keywords: testcase
Product: Firefox → Core
QA Contact: general → layout
This code:
http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser-fullZoom.js
is just listening for DOMMouseScroll events.

Do DOMMouseScroll events not get dispatched when over a fieldset?
Er, that code isn't really relevant.

I think this is just because nsEventStateManager::DoScrollZoom checks that the target of the event isn't a form control.  I really don't know why it does that.
Status: UNCONFIRMED → NEW
Component: Layout → Event Handling
Ever confirmed: true
QA Contact: layout → events
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: