Can you provide/attach a reduced Testcase showing your Issue?
Toggling the visibility style also appears to reset the scroll position. This is a serious problem. Can you fix it, please?
This problem have been reported for many times for years now (including one report by myself). Weird enough, now I can't seem to find any of the older bug-reports (like they have been deleted, but the BUG still remains). Here is now to reproduce it: http://1ntt.net/firefoxbug.htm I even had a developer saying it properly was an easy thing to fix, but nothing happened, except my long and loyal waiting.
Manage to find the old reports from my inbox: https://bugzilla.mozilla.org/show_bug.cgi?id=571201 https://bugzilla.mozilla.org/show_bug.cgi?id=436650 https://bugzilla.mozilla.org/show_bug.cgi?id=386444 As you can see nothing have happened over all this years, this must be the longest pending bug
An even older report of same bug: https://bugzilla.mozilla.org/show_bug.cgi?id=343254
For what it's worth, the attached testcase doesn't seem to show the problem for me in a current trunk build...
Problem Remain (I'm using latest Nightly Build) Try instead: (better example) https://bug343254.bugzilla.mozilla.org/attachment.cgi?id=227695
That's a totally different testcase, for a different bug. Please don't conflate separate issues.
(In reply to Boris Zbarsky (:bz) from comment #7) > For what it's worth, the attached testcase doesn't seem to show the problem > for me in a current trunk build... Yes, attachment 502214 [details] fails in Fx 3.6.17 and works in Fx 5 Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0 -> WORKSFORME