Reviewed by NOBODY (OOPS!).
- fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7071
REGRESSION: Jumping to an anchor identifier makes page scroll horizontally
Test: fast/overflow/scroll-vertical-not-horizontal.html
* rendering/render_layer.cpp: (WebCore::RenderLayer::getRectToExpose):
Fixed rectangle intersections so that the X and Y dimensions are independent,
to fix the bug. Also restructured the function a bit so it's even easier to
read and understand.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12607
268f45cc-cd09-0410-ab3c-
d52691b4dbfc