Open Bug 1327868 Opened 8 years ago Updated 3 years ago

Mouse text selection is broken in input fields with [onfocus='this.select()']

Categories

(Core :: Layout: Form Controls, defect, P4)

defect

Tracking

()

UNCONFIRMED

People

(Reporter: arni2033, Unassigned)

References

()

Details

(Keywords: parity-chrome, testcase)

>>> My Info: Win7_64, Nightly 49, 32bit, ID 20160526082509 STR_1: 1. Open http://ssyoutube.com/watch?v=mD3v1B_aXw0 2. Hover mouse over the input field with url (on the page), hold left mouse button 3. Move mouse to the left and right AR: Mouse selects text, but not in a usual way: selection starts from the beginning ER: Either X or Y X) Mouse should drag selected text like GoogleChrome Y) Mouse should select text in a normal way (between mousedown and mouseup) STR_2: 1. Open [1] 2. Hover mouse over the input field with url (on the page), hold left mouse button 3. Move mouse to the left and right STR_3: 1. Open url data:text/html,<input value="asdfasdf" onfocus="this.select();return false"> 2. Hover mouse over the input field with text (on the page), hold left mouse button 3. Move mouse to the left and right > [1] https://web.archive.org/web/*/https://rg.ru/2016/08/30/glava-mid-frg-oproverg-zaiavlenie-belogo-doma.html?ref=ria.ru
No longer blocks: 1277113
Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
Fwiw, using onmousedown instead can be used as workaround that works in both Firefox/Chrome: data:text/html,<input value="asdfasdf" onmousedown="this.select()">
Severity: normal → minor
Has STR: --- → yes
Keywords: testcase
OS: Unspecified → All
Priority: -- → P4
Hardware: Unspecified → All
Mass bug change to replace various 'parity' whiteboard flags with the new canonical keywords. (See bug 1443764 comment 13.)
Keywords: parity-chrome
Whiteboard: [parity-Chrome]
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.