Closed Bug 751297 Opened 10 years ago Closed 10 years ago
Many web pages jump to middle or bottom in ver 12
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20100101 Firefox/11.0 Build ID: 20120312181643 Steps to reproduce: Upgraded to Firefox version 12.0. Visited many web pages. Actual results: Some web pages jumped to the middle or bottom of the page when rendered in Firefox 12.0. One example page was www.landsend.com. Problem did not happen in other browser on same computer. Reverted to Firefox ver 11.0 and problem went away. Expected results: Pages should display at the top when first rendered.
It's been discovered that removing or de-activating a user's MVPS-supplied HOSTS file causes this problem to disappear in FF v. 12. The MVPS HOSTS file website is located at: http://winhelp2002.mvps.org/hosts.htm People using the MVPS HOSTS file are unwilling to give it up to continue using Firefox, as this HOSTS file provides an excellent layer of protection from scammy ads and virus-laden auto-downloads attached to them. This problem first appeared in FF v. 12, and did not exist before. Some domain(s) being blocked by the HOSTS file is interacting with Firefox to cause the page jumps on many sites. Again, this problem does NOT currently exist with IE or Chrome.
This appears to be caused by the fix for Bug 301471: https://bugzilla.mozilla.org/show_bug.cgi?id=301471 The MVPS HOSTS file redirects hosts for various tracking services to 127.0.0.1. When the redirected URL is the src of an iframe, Firefox fills the iframe with the netError page. Starting in Firefox 12, the Try Again button in that frame is focused, causing the page to scroll so that the button comes into view. When an iframe is hidden by being set to zero width, zero height, this is not apparent, but as far as I can tell, that is what's happening. If possible, the autofocus should not be set in an iframe, or at least not in an iframe that is too small for the button to be visible.
Bug 748803 fixed this, precisely by not autofocusing error pages in iframes. Fix should be in Firefox 13. Mr. News, Jefferson, thanks for pinning this down!
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 748803
You need to log in before you can comment on or make changes to this bug.