All users were logged out of Bugzilla on October 13th, 2018
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:188.8.131.52) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:184.108.40.206) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729) I'm using jQuery and jQuery inview (http://remysharp.com/2009/01/26/element-in-view-event-plugin/). When refreshing a page, it fires the jquery inview event so that if the page is scrolled at the point it's being loaded (e.g. if you've refreshed half way down), it will tell all the elements bound to the inview event if they're in view or not. Firefox gets as far as calling the jquery.inview code, but doesn't actually seem to call some of the statements inside it. You can observe some odd behavior if you run firebug and set breakpoints on lines 42, 43, 47, 48 of jquery.inview.js. These are the lines that call the inview event but they never get hit on a reload. Strangely, if you set a breakpoint on line 35 and step through with f10/f11, you can observe that it does follow through to lines 47/48, but it just doesn't seem to run them. Running them manually in the firebug console works and gets the expected behavior. Reproducible: Always Steps to Reproduce: 1. Open the problem URL (http://jsbin.com/ugupa) 2. Scroll down into the middle of the page so you can view one of the bits in red (should say "Single bound found - I won't change again." and "Yay! You can see me!") 3. Reload the page with the refresh button Actual Results: The bits in the red will now say "First inview paragraph" and "Second - always bound". Expected Results: The event should have fired and they should have again been set to "Single bound found - I won't change again." and "Yay! You can see me!". This is the behavior observed in IE8 and Chrome. I've tested this in Firefox 3.5.2 and the latest minefield. The problem is exactly the same on both browsers, but doesn't occur on Chrome or IE8.
This is reproducible on Windows Vista with Firefox 3.0 and later, but not with Firefox 2.
Status: UNCONFIRMED → NEW
Component: General → DOM: Events
Ever confirmed: true
Keywords: regression, testcase
Product: Firefox → Core
QA Contact: general → events
Version: unspecified → Trunk
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.