Closed
Bug 476829
Opened 16 years ago
Closed 14 years ago
scrollLeft property on a single-line text box doesn't work
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 293186
People
(Reporter: timwi, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 (.NET CLR 3.5.30729)
As far as I can tell, scrollLeft always returns 0 for a simple <input type='text'>, and setting it to any value has no effect.
That makes it impossible to scroll such a textbox using JavaScript.
Interestingly, scrollWidth and scrollHeight return correct values.
Reproducible: Always
Actual Results:
For a simple <input type='text'>, scrollLeft returns 0, assigning scrollLeft has no effect
Expected Results:
scrollLeft returns current scroll position, assigning scrollLeft changes scroll position
Comment 1•16 years ago
|
||
Looks like a bug 293186. Please see the comments.
Comment 2•14 years ago
|
||
in the absence of timwi response, trusting jhorak.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•