Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

e-radialGradient-044: focal point overlapping should result in no gradient drawn #42

Open
jwmcglynn opened this issue Feb 27, 2022 · 1 comment

Comments

@jwmcglynn
Copy link

In the SVG2 spec, there is the following sentence in https://www.w3.org/TR/SVG2/pservers.html#RadialGradientNotes:

If the start circle fully overlaps with the end circle, no gradient is drawn. The area stays untouched (transparent black).

In the e-radialGradient-044.svg test, that condition appears to be met:

<radialGradient id="rg1" fr="0.7">
    <stop offset="0" stop-color="black"/>
    <stop offset="1" stop-color="white"/>
</radialGradient>

The default value of r="0.5", so the start circle radius is 0.7 and the end circle radius is 0.5. Since that fully overlaps, no gradient should be drawn.

Is that correct, or am I missing some wording?

@RazrFalcon
Copy link
Collaborator

RazrFalcon commented Mar 7, 2022

It seems like you're either misreading the spec or no one supports this:

e-radialGradient-044

Note: Qt doesn't support fr and SVG2 at all, so this is just a bug.

You better ask here: https://github.com/w3c/svgwg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants