This improves Servo's performance on large pages. Please double-check the logic when it comes to nested layers—I'm sure I've messed up some of the geometry calculations :) r? @glennw Source-Repo: https://github.com/servo/servo Source-Revision: 0880e54f987bac7c34c934ef6ee36f46475b06e3