Up/Down arrows goes to top/bottom of textarea whose parent has -moz-user-select: none

RESOLVED INACTIVE

Status

()

Core
General
RESOLVED INACTIVE
7 years ago
3 days ago

People

(Reporter: Jan Henrik, Unassigned)

Tracking

({testcase})

Trunk
x86_64
Windows 7
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

7 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.854.0 Safari/535.2

Steps to reproduce:

<style type="text/css">
    div {
        -moz-user-select:none;
    }
    textarea {
        -moz-user-select:normal;
    }
</style>
<div id="hiddendiv"><textarea></textarea></div>

Type in some text over multiple lines.
Press up/down arrow.


Actual results:

Cursor jumps to top/bottom of whole text (as if i pressed ctrl+home/end).


Expected results:

Cursor should only have moved one line in the direction of the arrow i pressed.
Confirmed against Mozilla/5.0 (Windows NT 5.1; rv:9.0a1) Gecko/20110906 Firefox/9.0a1 ID:20110906030844
Component: General → General
Keywords: testcase
Product: Firefox → Core
QA Contact: general → general
Version: 6 Branch → Trunk
Created attachment 558647 [details]
Reporter's Testcase
(Reporter)

Comment 3

5 years ago
Comment on attachment 558647 [details]
Reporter's Testcase

In the latest version the original test case worked, but I did some testing and setting -moz-user-select: none on the textarea made the problem re-appear.

<style type="text/css">
    div {
        -moz-user-select:none;
    }
    textarea {
        -moz-user-select:none;
    }
</style>
<div id="hiddendiv"><textarea></textarea></div>
(Reporter)

Comment 4

4 years ago
Created attachment 8391139 [details]
Updated test case

Can someone please confirm this, and possibly assign it or something?
Flags: needinfo?
(Reporter)

Comment 5

4 years ago
This is still an issue in 32.0.2.
Again, can this be confirmed and properly assigned?
Flags: needinfo?

Comment 6

3 days ago
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 days ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.