Closed Bug 52599 Opened 25 years ago Closed 18 years ago

<xul:srollbar>s should generate onscroll events

Categories

(Core :: XUL, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: rginda, Assigned: rginda)

Details

Attachments

(2 files)

<xul:scrollbar> tags are pretty useless to javascript w/o onscroll events. This patch adds them. It worksforme on linux. onscroll even gets generated for scrolls of HTML documents, so it's a css standards fix as well! I'm looking for an r=, and armed with that, will attemt to check in before the rtm branch/closure.
Looks good to me. Will let eric comment on his area.
reassigning to rginda, who evaughan says has a fix.
Assignee: evaughan → rginda
Looks good. r=evaughan
So what happened? Last comment was more than a year ago, and was an r=.
Two problems kept me from actually checking the patch in. Firstly, I only tested it on linux, and second, it left us open to a infinite recursion. If the onscroll handler causes another scroll, it'll be called again, which will cause another scroll, etc. In addition to those problems, I ended up working around this problem, and so it was easy for me to lame out :(
I'm working on this as part of bug 62536
Also see bug 35011.
Is this still relevant now that bug 35011 has landed?
scroll events do fire in xul
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: