Changeset 62037 in webkit


Ignore:
Timestamp:
Jun 28, 2010 2:24:38 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-06-28 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Use HTML5-conformant gradient interpolation mode
https://bugs.webkit.org/show_bug.cgi?id=41298

Unskip now working test:

  • canvas/philip/tests/2d.gradient.interpolate.colouralpha.html

Spec link:
http://www.whatwg.org/specs/web-apps/current-work/#colors-and-styles

  • platform/qt/Skipped:

2010-06-28 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Use HTML5-conformant gradient interpolation mode
https://bugs.webkit.org/show_bug.cgi?id=41298

Change the Qt Gradient implementation to use ComponentInterpolation mode.

Spec link:
http://www.whatwg.org/specs/web-apps/current-work/#colors-and-styles

  • platform/graphics/qt/GradientQt.cpp: (WebCore::Gradient::platformGradient):
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r62035 r62037  
     12010-06-28  Andreas Kling  <andreas.kling@nokia.com>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [Qt] Use HTML5-conformant gradient interpolation mode
     6        https://bugs.webkit.org/show_bug.cgi?id=41298
     7
     8        Unskip now working test:
     9        - canvas/philip/tests/2d.gradient.interpolate.colouralpha.html
     10
     11        Spec link:
     12        http://www.whatwg.org/specs/web-apps/current-work/#colors-and-styles
     13
     14        * platform/qt/Skipped:
     15
    1162010-06-23  Beth Dakin  <bdakin@apple.com>
    217
  • trunk/LayoutTests/platform/qt/Skipped

    r62024 r62037  
    52545254canvas/philip/tests/2d.fillStyle.parse.rgb-clamp-5.html
    52555255canvas/philip/tests/2d.fillStyle.parse.system.html
    5256 canvas/philip/tests/2d.gradient.interpolate.colouralpha.html
    52575256canvas/philip/tests/2d.gradient.radial.cone.behind.html
    52585257canvas/philip/tests/2d.gradient.radial.cone.beside.html
  • trunk/WebCore/ChangeLog

    r62035 r62037  
     12010-06-28  Andreas Kling  <andreas.kling@nokia.com>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [Qt] Use HTML5-conformant gradient interpolation mode
     6        https://bugs.webkit.org/show_bug.cgi?id=41298
     7
     8        Change the Qt Gradient implementation to use ComponentInterpolation mode.
     9
     10        Spec link:
     11        http://www.whatwg.org/specs/web-apps/current-work/#colors-and-styles
     12
     13        * platform/graphics/qt/GradientQt.cpp:
     14        (WebCore::Gradient::platformGradient):
     15
    1162010-06-28  Beth Dakin  <bdakin@apple.com>
    217
  • trunk/WebCore/platform/graphics/qt/GradientQt.cpp

    r56398 r62037  
    5252        m_gradient = new QLinearGradient(m_p0.x(), m_p0.y(), m_p1.x(), m_p1.y());
    5353
     54    m_gradient->setInterpolationMode(QGradient::ComponentInterpolation);
     55
    5456    sortStopsIfNecessary();
    5557
Note: See TracChangeset for help on using the changeset viewer.