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)

x86
Windows XP
defect
Not set
normal

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.
You mean, the onscroll event listener doesn't see most scroll events from the textarea, right?
> 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.
The testcase relies for the scroll event to fire on the textarea. I would say this is a duplicate of bug 229089 then, not?
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 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Keywords: testcase
Resolution: --- → DUPLICATE
Component: DOM: Mozilla Extensions → DOM
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.