Doesn't behave as expected in Firefox Nightly either (8.0a1 (2011-07-31), OS X 10.6)
Created attachment 549757 [details] This is a working version This is the change to the html referred to above that makes the document.location.hash work as in other browsers.
I have a fix for this; just testing it now.
Created attachment 549794 [details] [diff] [review] Change the location on hash changes even if we cna't scroll right then.
Comment on attachment 549794 [details] [diff] [review] Change the location on hash changes even if we cna't scroll right then. r=me with typo in commit message fixed.
Yeah, I actually caught that right after posting the patch.
Jens, thank you for reporting this bug!
The credit for finding and reporting it goes to Sebastian. Thanks for the quick response and fix.