[Webkit-unassigned] [Bug 38851] Large SVG rect with shadow fails to render
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 24 10:25:20 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=38851
Rob Buis <rwlbuis at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rwlbuis at gmail.com
--- Comment #1 from Rob Buis <rwlbuis at gmail.com> 2010-05-24 10:25:20 PST ---
Hello James,
(In reply to comment #0)
> Created an attachment (id=55559)
--> (https://bugs.webkit.org/attachment.cgi?id=55559) [details]
> SVG large rect with shadow
>
> Addition of a shadow to a large rect (x=0,y=0,height=100,width=2147483647) causes it to no longer render.
>
> Platform: Chromium (most recent build)
>
> Steps to reproduce: Load the attached file, rect-with-shadow-maxing.svg in Chromium.
>
> Expected output: A purple rectangle at the top of the viewport, with a grey shadow underneath. The rect will fill the width of the viewport.
>
> Actual output: No rectangle or shadow is rendered.
I tried using floats instead of ints for storing the 4 intermediate shadow values, then the following addition is all done using floats and the .svg shows up fine. I doubt there would be performance problems with such a change, and I guess shadows are rare in typical svgs, so do you think that would be good enough to fix this bug? I can make a patch for that, but the replacement is so simple that I think you can imagine it easily :) Let me know what you think.
Cheers,
Rob.
--
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