Changeset 74271 in webkit


Ignore:
Timestamp:
Dec 17, 2010 8:26:55 AM (13 years ago)
Author:
ariya@webkit.org
Message:

2010-12-17 Ariya Hidayat <ariya@sencha.com>

Reviewed by Antonio Gomes.

[Qt] GraphicsContext should respect QWebView render hints
https://bugs.webkit.org/show_bug.cgi?id=51208

Adjust the test since SmoothPixmapTransform is set by default.

  • tests/qwebview/tst_qwebview.cpp: (tst_QWebView::renderHints):
Location:
trunk/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/ChangeLog

    r74270 r74271  
     12010-12-17  Ariya Hidayat  <ariya@sencha.com>
     2
     3        Reviewed by Antonio Gomes.
     4
     5        [Qt] GraphicsContext should respect QWebView render hints
     6        https://bugs.webkit.org/show_bug.cgi?id=51208
     7
     8        Adjust the test since SmoothPixmapTransform is set by default.
     9
     10        * tests/qwebview/tst_qwebview.cpp:
     11        (tst_QWebView::renderHints):
     12
    1132010-12-05  Antonio Gomes  <agomes@rim.com>
    214
  • trunk/WebKit/qt/tests/qwebview/tst_qwebview.cpp

    r68517 r74271  
    8080    QWebView webView;
    8181
    82     // default is only text antialiasing
     82    // default is only text antialiasing + smooth pixmap transform
    8383    QVERIFY(!(webView.renderHints() & QPainter::Antialiasing));
    8484    QVERIFY(webView.renderHints() & QPainter::TextAntialiasing);
    85     QVERIFY(!(webView.renderHints() & QPainter::SmoothPixmapTransform));
     85    QVERIFY(webView.renderHints() & QPainter::SmoothPixmapTransform);
    8686    QVERIFY(!(webView.renderHints() & QPainter::HighQualityAntialiasing));
    8787
     
    8989    QVERIFY(webView.renderHints() & QPainter::Antialiasing);
    9090    QVERIFY(webView.renderHints() & QPainter::TextAntialiasing);
    91     QVERIFY(!(webView.renderHints() & QPainter::SmoothPixmapTransform));
     91    QVERIFY(webView.renderHints() & QPainter::SmoothPixmapTransform);
    9292    QVERIFY(!(webView.renderHints() & QPainter::HighQualityAntialiasing));
    9393
     
    9595    QVERIFY(!(webView.renderHints() & QPainter::Antialiasing));
    9696    QVERIFY(webView.renderHints() & QPainter::TextAntialiasing);
    97     QVERIFY(!(webView.renderHints() & QPainter::SmoothPixmapTransform));
     97    QVERIFY(webView.renderHints() & QPainter::SmoothPixmapTransform);
    9898    QVERIFY(!(webView.renderHints() & QPainter::HighQualityAntialiasing));
    9999
Note: See TracChangeset for help on using the changeset viewer.