[Webkit-unassigned] [Bug 28781] Add QWebFrame::renderElement to API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 9 15:24:01 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28781





--- Comment #19 from Viatcheslav Ostapenko <ostapenko.viatcheslav at nokia.com>  2009-10-09 15:24:01 PDT ---
(In reply to comment #16)
> (In reply to comment #15)
> > Created an attachment (id=40143)
 --> (https://bugs.webkit.org/attachment.cgi?id=40143) [details] [details]
> > Updated QWebElement::render implementation with API autotest
> 
> Could the implementation be simplified perhaps, similar to Frame::nodeImage()
> in WebCore/page/win/FrameCGWin.cpp?

Thanks a lot!
Now painting part looks like:

    context.save();
    context.translate(-rect.x(), -rect.y());
    view->setNodeToDraw(e);
    view->paintContents(&context, rect);
    view->setNodeToDraw(NULL);
    context.restore();

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list