Open
Bug 1327856
Opened 8 years ago
Updated 2 years ago
Input undo/redo buffers cleared after Javascript changes to input values
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
NEW
People
(Reporter: arni2033, Unassigned)
Details
>>> My Info: Win7_64, Nightly 49, 32bit, ID 20160526082509 STR_1: 1. Open url [1] or url [2] 2. Click in input 3. Type "12", then press Backspace, then type "34" 4. Press Ctrl+Z several times AR: Step 3 - all text in input is replaced to '7' (url [1]) or '' (url [2]) Step 4 - all text in input disappears, and that's all ER: Either X or Y (depending on whether or not FF developers consider change made by JS as part of input) X) Step 4 - all text in input should be replaced with "134", then "1", then "12", then "" Y) Step 4 - all text in input should be replaced with "1", then "12", then "" > [1] data:text/html,<input oninput="var I=document.querySelector('input'); if (I.value.length>2){ if(window.ind)return; window.ind=true; I.value='7';}"> > [2] data:text/html,<input oninput="var I=document.querySelector('input'); if (I.value.length>2){ if(window.ind)return; window.ind=true; I.value='';}">
Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
Comment 1•8 years ago
|
||
All browsers seem to get confused by this.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•