Open
Bug 1224754
Opened 9 years ago
Updated 2 years ago
Fix Event::GetScreenCoords so that it always returns CSSIntPoints in the correct coordinate system
Categories
(Core :: DOM: Events, defect)
Core
DOM: Events
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox45 | --- | affected |
People
(Reporter: rbarker, Unassigned)
References
Details
Event::GetScreenCoords is supposed to return CSSIntPoints. However there is a case when the nsPresContext is a nullptr where nsLayoutDeviceIntPoint values are returned in the CSSIntPoint return type. This was done to maintain legacy functionality. It would be better if Event::GetScreenCoords only returned CSSIntPoints containing values in the correct coordinate system.
Reporter | ||
Updated•9 years ago
|
Summary: Fix Event::GetScreenCoords so that it only returns CSSIntPoints → Fix Event::GetScreenCoords so that it always returns CSSIntPoints in the correct coordinate system
Comment 1•9 years ago
|
||
So it used to return the right coordinates even after event dispatch, but that regressed at some point.
Has now something else changed too? or perhaps I should ask wasn't bug 1220925 suppose to fix this?
Assignee | ||
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
Updated•3 years ago
|
Severity: normal → --
Component: DOM: UI Events & Focus Handling → DOM: Events
Updated•2 years ago
|
Severity: -- → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•