| Index: Source/core/page/EventHandler.cpp
|
| diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp
|
| index 1cd7458bbc67b8dab90407b9c3189657103bf4e1..dadc77ac82044d732d90305ddecfe01564cf5f81 100644
|
| --- a/Source/core/page/EventHandler.cpp
|
| +++ b/Source/core/page/EventHandler.cpp
|
| @@ -940,6 +940,8 @@ bool EventHandler::scroll(ScrollDirection direction, ScrollGranularity granulari
|
| if (!node || !node->layoutObject())
|
| return false;
|
|
|
| + m_frame->document()->updateLayoutIgnorePendingStylesheets();
|
| +
|
| LayoutBox* curBox = node->layoutObject()->enclosingBox();
|
| while (curBox && !curBox->isLayoutView()) {
|
| ScrollDirectionPhysical physicalDirection = toPhysicalDirection(
|
|
|