Closed Bug 901175 Opened 11 years ago Closed 11 years ago

properly handle when the frame has an empty intersection with the exposed region for events

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla25

People

(Reporter: tnikkel, Assigned: tnikkel)

References

Details

Attachments

(2 files)

Attached patch patch (deleted) — Splinter Review
ComputeDistanceFromRegion returns -1 for empty regions, which is smaller than all other distances and screws everything up.
Attachment #785315 - Flags: review?(roc)
Attached patch test (deleted) — Splinter Review
And a simple automated test case to exercise this code path.
Attachment #785343 - Flags: review?(roc)
I pushed this simple obvious fix to inbound while review is still pending, I will of course apply any review comments as further pushes as necessary. https://hg.mozilla.org/integration/mozilla-inbound/rev/66728b1aa975
Thanks for the test Matt!
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: