[Webkit-unassigned] [Bug 23211] New: Add QWebFrame::renderContents to API
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 9 12:18:10 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=23211
Summary: Add QWebFrame::renderContents to API
Product: WebKit
Version: 528+ (Nightly build)
Platform: Other
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: P2
Component: WebKit Qt
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: treat at kde.org
Hi,
Currently QWebFrame::render is clipped internally by WebCore to the
visibleContentRect. This makes it impossible to render parts of a QWebFrame
that are not visible in the frame's viewport. There are a few use cases where
this becomes problematic. One such instance is printing of internal iframe's.
Currently, the Qt API provides no method for doing so as QWebFrame::render will
clip to the internal iframe's viewport. Another use case is a client which
wants to render parts of the frame outside of the viewport.
The attached patch adds a new method to QWebFrame to allow such use cases. The
essential difference is that QWebFrame::renderContents will call
FrameView::paintContents rather than FrameView::paint. This results in no
internal clipping to the viewport and also will not draw the scrollbars of the
frame.
Cheers,
Adam
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list