OSDN Git Service

Fix scrolling on sites hosting content inside a single <frame>
authorBen Murdoch <benm@google.com>
Tue, 15 Mar 2011 12:47:30 +0000 (12:47 +0000)
committerBen Murdoch <benm@google.com>
Tue, 15 Mar 2011 12:49:04 +0000 (12:49 +0000)
commit115fa20e56568607490319cf8075fca19ae9112c
treebb5fb4eb48ab57fb1ae8918073531a80377132f6
parent833c9ceaa300f52cf2d1b12a9b3482ad417a3c21
Fix scrolling on sites hosting content inside a single <frame>

Force a layout of the frameview when we detect that a frames
content post flattening is wider than the original frame.

Also force a relayout of the frame as necessary to sync the
correct dimensions (i.e. when navigation occurs inside the frame)

Bug:4051085

Change-Id: Ib2543601a71b6931bb3ec4bfda75a2cac26bb2a1
WebCore/page/FrameView.cpp
WebCore/rendering/RenderFrame.cpp