Changeset 86331 in webkit


Ignore:
Timestamp:
May 12, 2011 5:32:38 AM (13 years ago)
Author:
rwlbuis@webkit.org
Message:

2011-05-12 Rob Buis <rwlbuis@gmail.com>

Reviewed by Eric Seidel.

REGRESSION(79985): Changes in fill-opacity should trigger repaint but don't
https://bugs.webkit.org/show_bug.cgi?id=59941

Also consider fill-opacity when determining whether StyleDifferenceRepaint is needed.

Test: svg/custom/fill-opacity-update.svg

  • rendering/style/SVGRenderStyle.cpp: (WebCore::SVGRenderStyle::diff):
Location:
trunk
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r86328 r86331  
     12011-05-12  Rob Buis  <rwlbuis@gmail.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        REGRESSION(79985): Changes in fill-opacity should trigger repaint but don't
     6        https://bugs.webkit.org/show_bug.cgi?id=59941
     7
     8        * svg/custom/fill-opacity-update.svg: Added.
     9
    1102011-05-10  Yury Semikhatsky  <yurys@chromium.org>
    211
  • trunk/Source/WebCore/ChangeLog

    r86330 r86331  
     12011-05-12  Rob Buis  <rwlbuis@gmail.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        REGRESSION(79985): Changes in fill-opacity should trigger repaint but don't
     6        https://bugs.webkit.org/show_bug.cgi?id=59941
     7
     8        Also consider fill-opacity when determining whether StyleDifferenceRepaint is needed.
     9
     10        Test: svg/custom/fill-opacity-update.svg
     11
     12        * rendering/style/SVGRenderStyle.cpp:
     13        (WebCore::SVGRenderStyle::diff):
     14
    1152011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>
    216
  • trunk/Source/WebCore/rendering/style/SVGRenderStyle.cpp

    r79985 r86331  
    194194
    195195    // If fill changes, we just need to repaint. Fill boundaries are not influenced by this, only by the Path, that RenderSVGPath contains.
    196     if (fill->paintType != other->fill->paintType || fill->paintColor != other->fill->paintColor || fill->paintUri != other->fill->paintUri)
     196    if (fill->paintType != other->fill->paintType || fill->paintColor != other->fill->paintColor
     197        || fill->paintUri != other->fill->paintUri || fill->opacity != other->fill->opacity)
    197198        return StyleDifferenceRepaint;
    198199
Note: See TracChangeset for help on using the changeset viewer.