Closed
Bug 305661
Opened 20 years ago
Closed 20 years ago
scrollLeft and scrollTop are not updated for textarea
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 229089
People
(Reporter: bugzilla, Unassigned)
References
()
Details
(Keywords: testcase)
This spins off of bug 145577.
The testcase in attachment 117564 [details] indicates that scrollLeft and scrollTop are
*not* updated for textarea.
Testcase in attachment 90585 [details] (from bug 156397) is for <div>.
Testcase in attachment 117564 [details] works as expected for MSIE 6.
Seamonkey 1.0a rv:1.9a1 build 2005082205 and Deer Park alpha 2 rv:1.8b4 build
20050821 under XP Pro SP2 here.
I can create a smaller (or more reduced) testcase if needed.
Steps to reproduce:
1- Load URL
2-
a) set scrollLeft and/or scrollTop value in the input
b) type in some text on a line to increase horizontal (width) of text value
or add CRs at the bottom of the textarea
c) drag vertical and/or horizontal scrollbar of textarea
Expected results:
scrollLeft and/or scrollTop values should be updated accordingly reflecting the
changes
Notes:
Right now, scrollLeft and scrollTop values are updated when modifying text
direction.
Comment 1•20 years ago
|
||
You mean, the onscroll event listener doesn't see most scroll events from the
textarea, right?
| Reporter | ||
Comment 2•20 years ago
|
||
> You mean, the onscroll event listener doesn't see most scroll events from the
> textarea, right?
I don't know that. I can't say. The scroll event might be fired but the
scrollLeft and scrollTop values are not updated.
Comment 3•20 years ago
|
||
The testcase relies for the scroll event to fire on the textarea.
I would say this is a duplicate of bug 229089 then, not?
| Reporter | ||
Comment 4•20 years ago
|
||
Yes, Martin, it is a duplicate then. I am sorry. I was sure no one had filed a
duplicate.
Thanks!
*** This bug has been marked as a duplicate of 229089 ***
Updated•13 years ago
|
Component: DOM: Mozilla Extensions → DOM
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•