Changeset 76444 in webkit


Ignore:
Timestamp:
Jan 22, 2011 4:52:18 AM (13 years ago)
Author:
andreas.kling@nokia.com
Message:

2011-01-22 Andreas Kling <kling@webkit.org>

Reviewed by Kenneth Rohde Christiansen.

[Qt] fast/backgrounds/svg-as-mask.html fails
https://bugs.webkit.org/show_bug.cgi?id=52906

Transparency layers should start out with in SourceOver mode with
alpha 1.0 (modeled after CGContextBeginTransparencyLayer.)

  • platform/graphics/qt/TransparencyLayer.h: (WebCore::TransparencyLayer::TransparencyLayer):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r76443 r76444  
     12011-01-22  Andreas Kling  <kling@webkit.org>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [Qt] fast/backgrounds/svg-as-mask.html fails
     6        https://bugs.webkit.org/show_bug.cgi?id=52906
     7
     8        Transparency layers should start out with in SourceOver mode with
     9        alpha 1.0 (modeled after CGContextBeginTransparencyLayer.)
     10
     11        * platform/graphics/qt/TransparencyLayer.h:
     12        (WebCore::TransparencyLayer::TransparencyLayer):
     13
    1142011-01-22  Nikolas Zimmermann  <nzimmermann@rim.com>
    215
  • trunk/Source/WebCore/platform/graphics/qt/TransparencyLayer.h

    r76405 r76444  
    6060        painter.setBrush(p->brush());
    6161        painter.setTransform(p->transform(), true);
    62         painter.setOpacity(p->opacity());
    6362        painter.setFont(p->font());
    64         painter.setCompositionMode(p->compositionMode());
     63        painter.setOpacity(1);
    6564    }
    6665
Note: See TracChangeset for help on using the changeset viewer.