Closed Bug 580257 Opened 15 years ago Closed 15 years ago

_getScrollableElements needs to exclude non-scrollable elements

Categories

(Toolkit :: UI Widgets, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b3
Tracking Status
blocking2.0 --- -

People

(Reporter: dao, Assigned: dao)

References

Details

Attachments

(2 files)

Attached patch patchSplinter Review
The name "_getScrollableElements" nicely suggests it already: The callers really want /scrollable/ elements which they can iterate over in order to determine scroll targets, etc. For instance, _elementFromPoint and _distanceScroll currently fail to do something useful when encountering non-scrollable elements.
Attachment #458667 - Flags: review?(enndeakin)
Attachment #458667 - Flags: review?(enndeakin) → review+
Attachment #458667 - Flags: approval2.0?
Comment on attachment 458667 [details] [diff] [review] patch No tests?
Attachment #458667 - Flags: approval2.0?
blocking2.0: --- → ?
Attached patch with testSplinter Review
Attachment #459397 - Flags: approval2.0?
Attachment #459397 - Flags: approval2.0? → approval2.0+
blocking2.0: ? → -
http://hg.mozilla.org/mozilla-central/rev/06a37463c15e browser_overflowScroll.js started failing on Linux, although it works perfectly fine locally. I disabled it for now on Linux: http://hg.mozilla.org/mozilla-central/rev/cf5f013caa80
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: