RESOLVED INVALID 90460
dabrain QtWebkit(directfb port): webkit does not render correctly background-image css property
https://bugs.webkit.org/show_bug.cgi?id=90460
Summary QtWebkit(directfb port): webkit does not render correctly background-image cs...
Stephane Cerveau
Reported 2012-07-03 07:35:34 PDT
Created attachment 150607 [details] the table is not correctly drawn on the right by example On several websites, the background-image css property is not correctly renderered. Indeed it is rendered with a shift. Here is a list of websites: http://joliespages.com/ http://www.amazon.com http://wwW.yahoo.co.jp
Attachments
the table is not correctly drawn on the right by example (331.37 KB, image/png)
2012-07-03 07:35 PDT, Stephane Cerveau
no flags
Test case : http://joliespages.com with only the header in order to simplify the web site. (20.02 KB, application/zip)
2012-07-16 08:38 PDT, Stephane Cerveau
no flags
Test case: install this index.html plus his pictures associated and try to run webkit/qws/directfb (19.93 KB, application/zip)
2012-07-16 09:13 PDT, Stephane Cerveau
no flags
Stephane Cerveau
Comment 1 2012-07-03 07:37:32 PDT
Seems to be related to the QPainter. This bug does not appear in QT/X11 port.
Stephane Cerveau
Comment 2 2012-07-04 02:13:48 PDT
This pseudo patch allows problematic web sites to be renderer correctly. diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp index d2cd42c..661df3a 100644 --- a/src/gui/painting/qpainter.cpp +++ b/src/gui/painting/qpainter.cpp @@ -7088,10 +7088,10 @@ static inline bool needsResolving(const QBrush &brush) void QPainter::fillRect(const QRectF &r, const QBrush &brush) { Q_D(QPainter); if (!d->engine) return; - +#if 0 if (d->extended) { const QGradient *g = brush.gradient(); if (!g || g->coordinateMode() == QGradient::LogicalMode) { @@ -7099,7 +7099,7 @@ void QPainter::fillRect(const QRectF &r, const QBrush &brush) return; } } - +#endif QPen oldPen = pen(); QBrush oldBrush = this->brush(); setPen(Qt::NoPen);
Stephane Cerveau
Comment 3 2012-07-16 08:38:35 PDT
Created attachment 152542 [details] Test case : http://joliespages.com with only the header in order to simplify the web site.
Stephane Cerveau
Comment 4 2012-07-16 09:13:24 PDT
Created attachment 152548 [details] Test case: install this index.html plus his pictures associated and try to run webkit/qws/directfb The centered image should be shifted from the left and right as described in the first attached screenshot.
Martin Robinson
Comment 5 2013-12-09 10:24:07 PST
QtWebKit is gone now.
Note You need to log in before you can comment on or make changes to this bug.