Closed
Bug 575295
Opened 14 years ago
Closed 14 years ago
Clicking links broken after scrolling via in-page (uri fragment) link
Categories
(Firefox for Android Graveyard :: Panning/Zooming, defect)
Firefox for Android Graveyard
Panning/Zooming
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mbrubeck, Assigned: mbrubeck)
References
Details
(Keywords: testcase)
Attachments
(2 files)
295 bytes,
text/html
|
Details | |
1.79 KB,
patch
|
vingtetun
:
review+
|
Details | Diff | Splinter Review |
1. Open the attached test case in Fennec. 2. Click on "in-page link". Fennec will scroll to the bottom of the page. 3. Click on "off-page link" at the bottom of the page. Expected results: Fennec opens link to http://example.com Actual results: Nothing happens. This affects some real-world cases, like the "skip to menu" link on the mobile version of http://ask.metafilter.com/
Assignee | ||
Updated•14 years ago
|
Attachment #454539 -
Attachment description: tests → test case
Attachment #454539 -
Attachment filename: test.html → test-in-page-link.html
Comment 2•14 years ago
|
||
(In reply to comment #1) > Regression from bug 573732. yeah sounds like i've again forgot to add the scrollX/scrollY positions to the returned rects.
Assignee | ||
Comment 3•14 years ago
|
||
Adjust for scroll offset *after* client rect comparison. (Partial revert of http://hg.mozilla.org/mobile-browser/rev/6f38d39b3f45 .)
Attachment #454867 -
Flags: review?(21)
Comment 4•14 years ago
|
||
Comment on attachment 454867 [details] [diff] [review] patch let scrollOffset = Util.getScrollOffset(content); - aX -= scrollOffset.x; - aY -= scrollOffset.y; Nice catch. I guess let scrollOffset can also be moved next to where he is used.
Attachment #454867 -
Flags: review?(21) → review+
Comment 5•14 years ago
|
||
http://hg.mozilla.org/mobile-browser/rev/8f3efa051b27
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 6•14 years ago
|
||
verified FIXED on builds: Mozilla/5.0 (X11; U; Linux armv71; Nokia N900; en-US; rv:2.0b2pre) Gecko/2010630 Namoroka/4.0b2pre Fennec/2.0a1pre follow-up bug though: bug 575999
Status: RESOLVED → VERIFIED
Flags: in-testsuite?
Flags: in-litmus?
Updated•14 years ago
|
Assignee: mbrubeck → ayanshah62
Updated•14 years ago
|
Assignee: ayanshah62 → mbrubeck
Flags: in-litmus? → in-litmus?(ayanshah62)
Comment 7•13 years ago
|
||
https://litmus.mozilla.org/show_test.cgi?id=15190
Flags: in-litmus?(ayanshah62) → in-litmus+
You need to log in
before you can comment on or make changes to this bug.
Description
•