Form Input strange bug when : -moz-user-select: none;

NEW
Unassigned

Status

()

3 years ago
8 months ago

People

(Reporter: mickael.penhard, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [DUPEME])

(Reporter)

Description

3 years ago
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36

Steps to reproduce:

<input type="text" style="-moz-user-select: none;">

Enter a value like "test"
First bug : Can't set position of cursor with mouse, only with keyboard
Go to first carac
Then try to press delete keyCode 46 not keyCode 8 (2 times)
Result : ts


Actual results:

Bug


Expected results:

input should work as expect

Comment 1

3 years ago
Successfully reproduce the bug in MAC OS X 

Firefox 42; Build ID :20151029151421; User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:42.0) Gecko/20100101 Firefox/42.0

Firefox 44.0a2; Build ID :20151208004011; User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:44.0) Gecko/20100101 Firefox/44.0

Firefox 43.0b8; Build ID :20151201152349; User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:43.0) Gecko/20100101 Firefox/43.0

Firefox 45.0a1; Build ID :20151208030212; User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Firefox/45.0
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → Mac OS X
Hardware: Unspecified → All
Version: 42 Branch → Trunk

Updated

3 years ago
Component: Untriaged → Selection
OS: Mac OS X → All
Product: Firefox → Core
Whiteboard: [DUPEME]

Comment 2

8 months ago
Hey all, looks like this is still a problem as of latest (57.0.4), I thought it was a recent change with the Quantum codebase but I must just not have noticed before.  (I also confirmed it's an issue on at least Windows and Ubuntu, in addition the OP's OSX.)

Anybody looking at this?  Any timeline for a fix?  For reference, Chrome and IE11 totally ignore user-select (prefixed or otherwise) for <input>. Edge respects the text selection restriction, but does let you click to position the cursor and of course doesn't have the wonky delete-key issue.
You need to log in before you can comment on or make changes to this bug.