Closed Bug 296411 Opened 20 years ago Closed 19 years ago

SVG radial gradients with repeat or reflect spreadMethod tile

Categories

(Core :: SVG, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: chris, Unassigned)

Details

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050527 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050527 Firefox/1.0+

In the SVG component, radial gradients that use spreadMethod="repeat" or
spreadMethod="reflect" are incorrect. The gradient is tiled, giving the effect
of a grid of circular gradients, rather than repeating or reflecting the
gradient stops, which would give the effect of concentric circles.

Reproducible: Always

Steps to Reproduce:
1. display the test file
2. look


Actual Results:  
incorrect rendering compared to reference image

Expected Results:  
same rendering as reference image
Attached image svg testcase
Attached image reference image
this is the correct rendering
Works fine with cairo, broken with gdi+.
Summary: SVG radial gradients with repeat or reflect spreadMethod tile → SVG radial gradients with repeat or reflect spreadMethod tile
incorrect rendering
GDI+'s WrapMode doesn't do what one might first expect on PathGradientBrushes. 
It doesn't seem as though GDI+ has the capability to do the SVG spreadMethods
natively, so likely this bug will not be fixed until we switch to cairo on
MS-Windows (probably a year or so from now).
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
auto-resolving all bugs no-one cares about, huh?

in this particular case though I can confirm that it works correctly with a
cairo-based backend, its solely the GDI+ backen version that is affected.
Marking wontfix. We have no plans to continue work on the GDI+ backend.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
I'm happy to see this closed, since it works in the Cairo backend and Firefox has now moved to the Cairo backend, so the fact that this didn't work in the GDI+ is just historical. 
Looks like this problem is still with us in 2012 - FF 10.0.2

Sure it maybe a little used function - but it is still not implemented

Fails:

http://www.w3.org/Graphics/SVG/Test/20061213/svg/pservers-grad-14-b.svg 
http://www.w3.org/Graphics/SVG/Test/20110816/harness/htmlObjectApproved/pservers-grad-14-b.html
This works perfectly fine for me. An old GDI+ bug is probably not the place for this though. If you have an issue please open a new bug and attach a screenshot.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: