Changeset 199155 in webkit
- Timestamp:
- Apr 7, 2016 7:22:11 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r199154 r199155 1 2016-04-07 Antti Koivisto <antti@apple.com> 2 3 FrameView::qualifiesAsVisuallyNonEmpty() returns false when loading a Google search results page before search results are loaded, even though the header is visible 4 https://bugs.webkit.org/show_bug.cgi?id=156339 5 <rdar://problem/24491381> 6 7 Reviewed by Andreas Kling. 8 9 Patch by Jeff Miller. 10 11 Jeff's testing indicates lowering the document height threshold improves things visually during page loading. 12 13 * page/FrameView.cpp: 14 (WebCore::FrameView::qualifiesAsVisuallyNonEmpty): 15 16 Lower document height threshold to from 200 to 48 pixels. 17 1 18 2016-04-07 Antti Koivisto <antti@apple.com> 2 19 -
trunk/Source/WebCore/page/FrameView.cpp
r199119 r199155 4258 4258 4259 4259 // Require the document to grow a bit. 4260 static const int documentHeightThreshold = 200; 4260 // Using a value of 48 allows the header on Google's search page to render immediately before search results populate later. 4261 static const int documentHeightThreshold = 48; 4261 4262 LayoutRect overflowRect = documentElement->renderBox()->layoutOverflowRect(); 4262 4263 if (snappedIntRect(overflowRect).height() < documentHeightThreshold)
Note: See TracChangeset
for help on using the changeset viewer.