Closed
Bug 573732
Opened 15 years ago
Closed 15 years ago
Clicking a link with multiple rendered rects doesn't work
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: vingtetun, Assigned: vingtetun)
References
Details
Attachments
(1 file)
|
3.23 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
The patch correct that. I still need to run the tests since my build seems broken for that...
Attachment #453055 -
Flags: review?(mark.finkle)
Comment 1•15 years ago
|
||
Comment on attachment 453055 [details] [diff] [review]
Patch
>diff -r a6ce669575d5 chrome/content/content.js
>- _sendMouseEvent: function _sendMouseEvent(name, element, x, y) {
>- let windowUtils = Util.getWindowUtils(content);
>- let scrollOffset = Util.getScrollOffset(content);
>+ _sendMouseEvent: function _sendMouseEvent(aName, aElement, aX, aY) {
>+ aX -= content.scrollX;
>+ aY -= content.scrollY;
Using content.scrollX and .scrollY will cause a reflow. We started using getScrollOffset to avoid the reflow.
This patch fixes the bug for me.
r+ with scroll offset fix
Attachment #453055 -
Flags: review?(mark.finkle) → review+
Comment 2•15 years ago
|
||
I changed back to use getScrollOffset so we could land this patch as soon as possible. We can re-examine the use of getScrollOffset in bug 573726?
Comment 3•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•