[Webkit-unassigned] [Bug 30286] SVG Gradients can't handle percentage values in userSpaceOnUse mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 12 05:30:48 PDT 2009


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


Dirk Schulze <krit at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #41033|                            |review?
               Flag|                            |




--- Comment #1 from Dirk Schulze <krit at webkit.org>  2009-10-12 05:30:48 PDT ---
Created an attachment (id=41033)
 --> (https://bugs.webkit.org/attachment.cgi?id=41033)
linearGradient userSpaceOnUse with percentage

Some clean up.
The problem was, that we transformed the values x1, ... y2 to doubles, saved
them in LinearGradientAttributes and didn't differ between objectBoundingBox
and userSpaceOnUse later.
I removed LinearGradientAttributes and take the values of
SVGLinearGradientElement directly. We needed LinearGradientAttributes to draw
the gradients on the old platform dependent code of SVGPaintServer. We don't
need it anymore and calculate the box in the element itself.

The same has to be done on radialGradient too. I'll work on it once this code
is landed.

I'll create the test results at home.

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