-
Notifications
You must be signed in to change notification settings - Fork 228
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
Different results with feImage #380
Comments
There is no such thing as correctly rendered SVG. SVG doesn't have a reference implementation after all. So your results are not that surprising. Usage of relative coordinates, like %, is bad idea in general. They are badly supported. Stick with absolute one. Also, I'm not sure what result are you trying to achieve, so no help here either. Can you explain what result do you expect? |
But there are specifications. If something important is not clear, I think they should be corrected. I think the problem here arises from the fact that
There is not much of relative coordinates here, and using absolute everywhere does not change the situation I think.
I want to compose "layers" (of arbitrary sizes and not necessarily with only positive coordinates) with different filters. See #381 for a real example of generated code (I think I have managed to make it work in rsvg and Chrome and sometimes in Inkscape). |
Filter primitive region is a very complicated and badly documented feature. You should not rely on it, because it's mostly broken in all implementations. |
The output from Probably fixed by the same commit as #381. |
We should still add tests for both of those cases. |
Consider the following file:
The results are:
Who is right here? I do not seem to understand the SVG specification on how all these coordinates work.
Also, removing the
x="0%" y="0%" width="100%" height="100%"
part changes the result in Chrome and Inkscape, but not in resvg and rsvg.The text was updated successfully, but these errors were encountered: