Closed Bug 559728 Opened 10 years ago Closed 4 years ago
Caret is invisible and IME enabled state is not modified when a focused editor's type attribute of <input> is changed to "text"
Similar to bug 488420. When type attribute is changed, the frame is recreated for the new widget. But if the <input> element is focused, the initialization isn't done, e.g., caret isn't visible on following case: > data:text/html,<body onload="var i=document.getElementById('i'); i.focus(); i.setAttribute('type', 'text');"><input id="i" type="button" value="value"></body> And also IME state isn't modified to new widget.
Both testcases work for me on Nightly.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.