Changeset 154713 in webkit


Ignore:
Timestamp:
Aug 27, 2013 4:09:28 PM (11 years ago)
Author:
rwlbuis@webkit.org
Message:

feImage fails if referenced node contains radialGradient declaration
https://bugs.webkit.org/show_bug.cgi?id=118735

Reviewed by Darin Adler.

Source/WebCore:

Only call parent's updateRelativeLengthsInformation for graphics elements.

Tests: svg/custom/feImage-pserver-with-percentage-expected.svg

svg/custom/feImage-pserver-with-percentage.svg

  • svg/SVGElement.cpp:

(WebCore::SVGElement::updateRelativeLengthsInformation):

LayoutTests:

Add testcase from bug with small adjustments.

  • svg/custom/feImage-pserver-with-percentage-expected.svg: Added.
  • svg/custom/feImage-pserver-with-percentage.svg: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r154710 r154713  
     12013-08-27  Rob Buis  <rwlbuis@webkit.org>
     2
     3        feImage fails if referenced node contains radialGradient declaration
     4        https://bugs.webkit.org/show_bug.cgi?id=118735
     5
     6        Reviewed by Darin Adler.
     7
     8        Add testcase from bug with small adjustments.
     9
     10        * svg/custom/feImage-pserver-with-percentage-expected.svg: Added.
     11        * svg/custom/feImage-pserver-with-percentage.svg: Added.
     12
    1132013-08-27  Chris Fleizach  <cfleizach@apple.com>
    214
  • trunk/Source/WebCore/ChangeLog

    r154712 r154713  
     12013-08-27  Rob Buis  <rwlbuis@webkit.org>
     2
     3        feImage fails if referenced node contains radialGradient declaration
     4        https://bugs.webkit.org/show_bug.cgi?id=118735
     5
     6        Reviewed by Darin Adler.
     7
     8        Only call parent's updateRelativeLengthsInformation for graphics elements.
     9
     10        Tests: svg/custom/feImage-pserver-with-percentage-expected.svg
     11               svg/custom/feImage-pserver-with-percentage.svg
     12
     13        * svg/SVGElement.cpp:
     14        (WebCore::SVGElement::updateRelativeLengthsInformation):
     15
    1162013-08-27  Darin Adler  <darin@apple.com>
    217
  • trunk/Source/WebCore/svg/SVGElement.cpp

    r154481 r154713  
    11221122    }
    11231123
     1124    if (!element->isSVGGraphicsElement())
     1125        return;
     1126
    11241127    // Find first styled parent node, and notify it that we've changed our relative length state.
    11251128    ContainerNode* node = parentNode();
Note: See TracChangeset for help on using the changeset viewer.