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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: vingtetun, Assigned: vingtetun)

References

Details

Attachments

(1 file)

Attached patch PatchSplinter 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 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+
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?
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Depends on: 575295
bugspam
Assignee: nobody → 21
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: