[Webkit-unassigned] [Bug 90460] QtWebkit(directfb port): webkit does not render correctly background-image css property

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 4 02:13:48 PDT 2012


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





--- Comment #2 from Stephane Cerveau <scerveau at connected-labs.com>  2012-07-04 02:13:48 PST ---
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);

-- 
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