hello my friends.
i´ve come to a most thrilling bug that was giving me a hard time to
figure out what happened but here´s the deal:
put some jQuery juice on a page and add a window.resize event, put a
breakpoint inside the event and (wait for it...) resize the window,
everything goes blank! i cant see the window content, until i press
F5(to run the code) the page is blank (or grey in my case) i was
confused because i hadnt had a breakpoint in there to start with, my
breakpoint was inside a function on top of the resize event, but i
deleted some code and the breakpoint got glued to the resize event.
here´s a sample for you to test:
////////////////////////////////////////////////////////////////////////////////////////////////////////////
var viewportX, viewportY;
$(window).resize(function() {
viewportY = $(window).height();
viewportX = $(window).width();
});
////////////////////////////////////////////////////////////////////////////////////////////////////////////
im my case i didn't resized the window, the firebug panel is attached
to the browser so all i did was drag it a little so i could see the
page content i was looking for when the mentioned bug triggered.
my workbench:
Win XP Pro Sp3
FF 4
FB 1.7X.0B3
--
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/firebug?hl=en.