User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116 I encounter many sites that have galleries where you click on a thumbnail to get a popup window with the larger image. On almost all of these sites, this causes the thumbnail page to scroll back to the top. Now, I realize that it's possible for these sites to be coded such that they do not cause scrolling. However, they are not so coded. This leads me to assume that, on MSIE, scrolling does not occur. Therefore, it would be good for Mozilla to emulate this behavior, right? Here's an example: http://www.klockwerks.com/html/frames/jclocks.html In Mozilla 1.6, every time you click on a link, the popup appears and the thumbnail page scrolls back to the top. FWIW, no auto-scrolling occurs in Safari. Reproducible: Always Steps to Reproduce:
CONFIRMING. Both that Mozilla Firefox (build 20040621 branch) will scroll back up, and that IE 6 does not.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Ok, there seems to be a valid bug here after all. I created a demo page for testing all this. On an onclick event, Mozilla responds as expected AFAICS. On an onmousedown though, things are not as expected even when the default action is canceled. In other words, load this demo page: http://www10.brinkster.com/doctorunclear/Bugzilla/Bug248023.html and follow instructions, explanations, etc. Link #2 should open the popup and NOT bring the opener document at its top but it does in Mozilla 1.8a2 build 2004063008 and in Firefox 0.9.1 build 20040626 rv 1.7 under XP Pro SP1a. OS -> All
Keywords: qawanted → testcase
OS: Linux → All
The difference is that in IE cancelling the mousedown cancels the click as well; in Mozilla it does not. That's been filed for years now.
WFM 1.7.5, Linux.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.