[Webkit-unassigned] [Bug 33091] New: SVGResources don't invalidate if target object changes attributes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 1 00:51:54 PST 2010


           Summary: SVGResources don't invalidate if target object changes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: krit at webkit.org
                CC: eric at webkit.org, zimmermann at kde.org

Created an attachment (id=45728)
 --> (https://bugs.webkit.org/attachment.cgi?id=45728)
SVGResources don't invalidate if object changes

SVGResources don't invalidate if target object changes attributes. This is no
problem on clipping, because we calculate the clipping path and clip the
context on every call of SVGResourceClipper::applyClip. The same for filter.
But we might change both to not recalculate the resource properties on every
call of SVGResource*::apply*(). At least for filters that is highly ineffective
and slows down the system a lot.
We also need to invalidate if a child changes it's properties. It will also
affect clippers in the future, if we support more than simple pathes, like

Another problem is the attribute visible. It looks like we still draw the
childs of an element with the attribute visible="hidden". This can be a problem
for filters, thus they can draw contents independent of it's target object. But
this can be fixed with another bug report.

The attachement points the problem. Click on one of the rects or circles. The
width of the element change from 200 to 100. You should see two circles (no
ovals with different radiuses) and a quadrat with a shadow.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list