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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 6 03:44:59 PDT 2009


Ariya Hidayat <ariya.hidayat at trolltech.com> changed:

           What    |Removed                     |Added
  Attachment #40143|review?                     |review-
               Flag|                            |

--- Comment #18 from Ariya Hidayat <ariya.hidayat at trolltech.com>  2009-10-06 03:44:59 PDT ---
(From update of attachment 40143)

> +/*!
> +  Render the element into \a painter .
> +*/

Needs \since tag.

> +<file>image.png</file>

Can we have other name that resembles the content of the test image?
image.png sounds too generic, we might want to add images for future tests.

> +    QCOMPARE(image1 == testImage, true);

I doubt this is going to work properly, we need pixel-by-pixel comparison (see
autotest for QImage in Qt source tree).
Since this is used in few places, it's a good idea to refactor to a function,
static bool isImageEqual(const QImage &img1, const QImage &img2);

Also: see Simon's comment on Frame::nodeImage().

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