mozilla-b2g/gaia — pull request #5873 by benfrancis (2012-10-17 21:33:46+00:00)
Title: Bug 800445 [Browser] Improving performance of address bar animation

There are a few things here:
* Changing height immediately at exactly the right moment instead of animating it, resulting in far fewer repaints (and also getting rid of the jittery bottom bar as the two animations get 1 pixel out of sync)
* Keeping track of what state the address bar is actually in so we don't try and animate it for every single scroll event (and also hopefully helping a bit with the bouncing effect)
* Moving around the document tree and fixing up CSS styles to fix all the regressions these changes cause!