User-Agent: Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 If I change cursor position in html:input by setSelectionRange() method or by properties selectionStart and selectionEnd then text isn't scrolled on new cursor position. How can I manage visible text range in this case? Reproducible: Always Steps to Reproduce:
Assignee: general → mozeditor
Status: UNCONFIRMED → NEW
Component: DOM: HTML → Editor: Core
Ever confirmed: true
OS: Windows 2000 → All
QA Contact: ian → sairuh
Hardware: PC → All
Keywords: sec508, testcase
Summary: text of html:input don't scroll if I change cursor position by setSelectionRange() method → textbox/textarea doesn't scroll if I change cursor position with setSelectionRange, selectionStart, etc.
Created attachment 239400 [details] another testcase This has tests for setting the selection/caret position both before and after focusing the textarea. The "before" cases might be bug 353539 rather than this bug.
Bug 231389 has a solution for this problem.
My patch in bug 231389 fixes this problem.
Assignee: nobody → ehsan.akhgari
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Whiteboard: [fixed by bug 231389]
Target Milestone: --- → mozilla1.9.3a4
You need to log in before you can comment on or make changes to this bug.