Changeset 54494
- Timestamp:
- 02/08/10 10:20:57 (6 weeks ago)
- Location:
- trunk/WebKit/win
- Files:
-
- 2 modified
-
ChangeLog (modified) (1 diff)
-
WebFrame.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/win/ChangeLog
r54376 r54494 1 2010-02-08 Brent Fulgham <bfulgham@webkit.org> 2 3 Reviewed by Adam Roben. 4 5 Include header position in World Transform used for plugin positioning. 6 https://bugs.webkit.org/show_bug.cgi?id=34709 7 8 * WebFrame.cpp: 9 (WebFrame::spoolPage): Correct WinCairo plugin print positioning to 10 account for header size. Existing code ignored this, causing 11 plugins to overlay other elements. 12 1 13 2010-02-04 Alice Liu <alice.liu@apple.com> 2 14 -
trunk/WebKit/win/WebFrame.cpp
r54370 r54494 2085 2085 // Modify Cairo and GDI World Transform to account for margin in the 2086 2086 // subsequent WebKit-controlled 'paintContents' drawing operations: 2087 spoolCtx->translate(cairoMarginRect.x(), cairoMarginRect.y() );2087 spoolCtx->translate(cairoMarginRect.x(), cairoMarginRect.y() + headerHeight); 2088 2088 2089 2089 // Modify Cairo (only) to account for page position. 2090 cairo_translate(pctx, -pageRect.x(), -pageRect.y() + headerHeight);2090 cairo_translate(pctx, -pageRect.x(), -pageRect.y()); 2091 2091 coreFrame->view()->paintContents(spoolCtx, pageRect); 2092 2092 2093 cairo_translate(pctx, pageRect.x(), pageRect.y() - headerHeight);2093 cairo_translate(pctx, pageRect.x(), pageRect.y()); 2094 2094 2095 2095 XFORM originalWorld;