Closed Bug 156321 Opened 23 years ago Closed 22 years ago

pageXOffset and pageYOffset values are not updated correctly

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Unassigned)

References

Details

(Keywords: regression, testcase)

Attachments

(1 file)

Clicking on xul:slider or on xul:scroll elements (of the scrollbar) do not update the pageX/YOffset values. The scrolling of the document view happens but the pageX/YOffset values get updated only on the next, following click. Always reproducible. Windows XP Pro. Mozilla 1.1a+ build 20020707.
When the pageXOffset value show 0, try the following. Click on xul:slider of the horizontal bar: the horizontal scrollbar will advance but the pageXOffset value will remain 0. Now, click on the xul:slider of the vertical bar: you'll see that the pageXOffet value will update in the table form but the pageYOffset will still remain 0. The same phenomenon is observed when one clicks on the xul:scroll elements. This behavior is obvious when one alternates from one scrollbar to the other. The scrolling happens on the document view but the page*Offset value get updated only on the next click onto the other scrollbar. I have observed the same behavior with elements with scrollbars.
See attachment 90426 [details] of bug 62536 for a very similar - and most likely very much related - behavior. http://bugzilla.mozilla.org/attachment.cgi?id=90426&action=view
Keywords: testcase
To DOM extensions. The same happens if I click on a scrollbar thumb once....
Assignee: blaker → jst
Component: XP Apps: GUI Features → DOM Mozilla Extensions
OS: Windows XP → All
QA Contact: paw → lchiang
Hardware: PC → All
Status: UNCONFIRMED → NEW
Ever confirmed: true
QA Contact: lchiang → ian
nice test case.
I think this bug may depend on bug 179857 as well ...
What are the remaining issues here? Scrolling by click works correctly now that bug 179857 is fixed. Scrolling with keyboard does not fire onscroll events at all, looks like....
Depends on: 179857
Keywords: regression
bz: yes, we have Bug 189308 for this, but noone seems to care about this bug :/
Mass-reassigning bugs to dom_bugs@netscape.com
Assignee: jst → dom_bugs
OK. Then this bug is worksforme; the remaining issue is bug 189308
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
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.

Attachment

General

Creator:
Created:
Updated:
Size: