Changeset 84442 in webkit
- Timestamp:
- Apr 20, 2011 5:35:24 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r84441 r84442 1 2011-04-20 Sam Weinig <sam@webkit.org> 2 3 Reviewed by Anders Carlsson. 4 5 WebKit2: Can't scroll page after printing on Yahoo.com and other sites 6 <rdar://problem/9233291> 7 https://bugs.webkit.org/show_bug.cgi?id=59049 8 9 * page/Frame.cpp: 10 (WebCore::Frame::setPrinting): Match Mac WebKit1 code when ending printing, 11 and call forceLayout() instead of forceLayoutForPagination(). 12 1 13 2011-04-20 Kenneth Russell <kbr@google.com> 2 14 -
trunk/Source/WebCore/page/Frame.cpp
r83645 r84442 508 508 509 509 m_doc->styleSelectorChanged(RecalcStyleImmediately); 510 view()->forceLayoutForPagination(pageSize, maximumShrinkRatio, shouldAdjustViewSize); 510 if (printing) 511 view()->forceLayoutForPagination(pageSize, maximumShrinkRatio, shouldAdjustViewSize); 512 else { 513 view()->forceLayout(); 514 if (shouldAdjustViewSize == AdjustViewSize) 515 view()->adjustViewSize(); 516 } 511 517 512 518 // Subframes of the one we're printing don't lay out to the page size.
Note: See TracChangeset
for help on using the changeset viewer.