Closed
Bug 654741
Opened 13 years ago
Closed 12 years ago
Notify Fennec chrome of window.scrollTo/scrollBy even when scroll position does not change
Categories
(Core :: DOM: Events, defect)
Core
DOM: Events
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
fennec | + | --- |
People
(Reporter: mbrubeck, Unassigned)
References
Details
(Keywords: compat, mobile, testcase)
Attachments
(1 file)
276 bytes,
text/html
|
Details |
When content calls window.scrollTo/scrollBy in Fennec, we would like to hide the Fennec chrome. This is useful for pages like Google Maps which use this to hide the titlebar and sidebars on page load (see bug 653956). In the default Android and iOS browsers, calling scrollTo causes the browser chrome to scroll out of view even if it does not change the content scroll position. For example, the attached test case calls scrollTo(0,-1) on load, and it hides the browser chrome in the Android Browser but not in Fennec. nsGfxScrollFrameInner::ScrollToImpl suppresses all events and notifications if the new location is the same as the old one. We would need some sort of notification that still fires in this case. I hope we can do this without a noticeable performance impact from too many messages: http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsGfxScrollFrame.cpp#1828
Reporter | ||
Comment 1•13 years ago
|
||
Nominating for tracking-fennec because it would improve usability on popular pages like Google Maps.
Reporter | ||
Updated•13 years ago
|
tracking-fennec: --- → ?
Updated•13 years ago
|
tracking-fennec: ? → 6+
Comment 2•13 years ago
|
||
Still tracking, but it won't make fx7, let alone fx6, unless some work starts soon.
tracking-fennec: 6+ → 8+
Updated•13 years ago
|
tracking-fennec: 8+ → +
Comment 3•12 years ago
|
||
Is this still an issue on Fennec Native? Does it still block 616348?
Comment 4•12 years ago
|
||
(In reply to Aaron Train [:aaronmt] from comment #3) > Is this still an issue on Fennec Native? Does it still block 616348? Mark/Matt - Can one of you please comment to answer Aaron's question.
Comment 5•12 years ago
|
||
Mat we believe that this was fixed by the native rewrite. Reopen if this is still an issue.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•