Summary: | Have Document keep track of whether scroll listeners are registered | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> | ||||
Component: | New Bugs | Assignee: | Simon Fraser (smfr) <simon.fraser> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | ap, mihaip, sam, simon.fraser | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Simon Fraser (smfr)
2011-06-15 14:40:06 PDT
Created attachment 97365 [details]
Patch
Comment on attachment 97365 [details]
Patch
Did you check that this works with both document.onscroll and window.onscroll?
Will check. window.onscroll and document.onscroll both work fine. DOMWindow::addEventListener() calls document->addListenerTypeIfNeeded(). |