Aryeh Gregor wrote:

I remember one particular bug in Firefox (which was only fixed years later) that I 
spent considerable effort trying to figure out how to work around without a UA string 
check, and eventually gave up.  It was something like: if you append #foo to the URL 
while the page is loading in order to jump to <span id=foo>, but that element 
has not yet loaded when you set the URL, every other browser would jump to the 
element when it was added to the DOM, but Gecko would not.

(I ended up fixing this because I fixed a very similar bug with the MSDN blogs, however that case was slightly different in that they linked directly to #foo but the element was created dynamically after the DOMContentLoaded event. My fix then caused a regression whose fix then incidentally fixed Aryeh's bug, almost exactly 5 years after he filed it.)

--
Warning: May contain traces of nuts.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to