Closed Bug 579478 Opened 14 years ago Closed 14 years ago

clicking outside a pre element with overflow:auto (to the left or right) retains focus in the pre element

Categories

(Firefox :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 368519

People

(Reporter: msclrhd, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; Linux x86_64; en-US; rv:2.0b2pre) Gecko/20100715 Minefield/4.0b2pre Build Identifier: Mozilla/5.0 (X11; Linux x86_64; en-US; rv:2.0b2pre) Gecko/20100715 Minefield/4.0b2pre Using the up/down arrow keys to scroll a page does not work if you click on the same horizontal plane as a textarea (but not inside the textarea). Reproducible: Always Steps to Reproduce: 1. Navigate to http://ubuntuforums.org/showthread.php?t=51003 2. Press the down arrow key to scroll to the "Save. if you are compiling this package by - ./configure; make; make install, you should not change the file rules, but lets explain:" line 3. Press the mouse button inside the "Code:" textarea below this line 4. Press the down arrow key to scroll in textarea 5. Press the mouse button on the page (e.g. the "Line 11 - add the cflags you are compiling with" text below the textarea) 6. Press the down arrow key once to scroll the page 7. Press the mouse button to the left of the text area in the page content area 6. Press the down arrow key once to scroll the page Actual Results: 2 -- scroll page (EXPECTED) 4 -- scroll textarea (EXPECTED) 6 -- scroll page (EXPECTED) 8 -- scroll textarea (UNEXPECTED) Expected Results: 8 -- scroll page Does not do this on all textareas with scrollable sections.
Looking at the page source, it is actually a pre with an explicit width x height and overflow=auto.
Summary: clicking outside a scrollable text area (to the left or right) retains focus in the textarea → clicking outside a pre element with overflow:auto (to the left or right) retains focus in the pre element
This is a simplified page that shows the problem.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: