[Webkit-unassigned] [Bug 32787] New: SVG Mask result wrong, if two different object call the same mask id

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 20 03:51:01 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32787

           Summary: SVG Mask result wrong, if two different object call
                    the same mask id
           Product: WebKit
           Version: 525.x (Safari 3.1)
          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=45268)
 --> (https://bugs.webkit.org/attachment.cgi?id=45268)
Mask called twice by different objects

If two different objects, with different properties call the same mask (the
same mask id). The result of the second object is wrong. This is caused by the
calculation of the mask image. This is done once for every mask (mask by id).
So the mask image depends on the first object calling it.
I saw this bug during my work on SVG Filter. We had a similar problem with the
filter size and it's effect. We build the filter on every drawing atm. That is
a performance loss, but the only way to handle this problem atm.
We should identify masks, clipper, filters not only by their id, but also by
the object they belong to.

I attached a simple exmaple. You should see two circles with different
positions and dimensions.

-- 
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