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
[filter-effects] Clarify what happens with failing pre-conditions on feConvolveMatrix #237
Comments
(FWIW, I tend to think that if you forgot to fill the content with something reasonable, it is probably better just close the issue, and optionally leave a comment mentioning that this was a mistake, then open a new one. This way people wouldn't need to open the GitHub page to know what's happening, and the content can be properly archived in W3C mailing list as well.) |
I used this simple example to verify the behavior in implementations: <svg width="100%" height="220" style="outline: 1px solid red" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<filter id="convolve">
<feFlood flood-color="green" result="flood"/>
<feConvolveMatrix kernelMatrix="1 0 0 0 1 0 0 0 -1 0" in="SourceGraphic" result="kernel"/>
<feComposite operator="over" in="kernel" in2="flood"/>
</filter>
</defs>
<g font-size="3em">
<text x="225" y="75">Convolve</text>
<text x="225" y="150" filter="url(#convolve)">Convolve</text>
</g>
</svg>
The pass through seems to be more in line to the behavior of browsers with failing preconditions on Edit: Added results for Edge |
…on unfulfilled pre-conditions. Issue #237. Add defintion of filter primitive tree.
I would expect that an invalid This was effectively how it worked with I'm certainly happy to define it such that invalid values result in a no-op primitive, but I'd like to be clear that a missing |
PS, a correction: Edge doesn't treat the |
…st to WPT" This reverts commit b4687c72a621f6667dc95744032c3db263b862ec. This WPT testcase is failing on FF and Safari because its chrome specific behaviour. feConvolveMatrix does specify conditions for attributes but does not specify what happens if those conditions were not fulfilled by the author and there is a on going dicussion in W3C github [1]. [1] w3c/fxtf-drafts#237 Bug: 1063749 Change-Id: I56ae0883f9891ff336128e5b3e15014c7e4b384f
…st to WPT" This reverts commit b4687c72a621f6667dc95744032c3db263b862ec. This WPT testcase is failing on FF and Safari because its chrome specific behaviour. feConvolveMatrix does specify conditions for attributes but does not specify what happens if those conditions were not fulfilled by the author and there is a on going dicussion in W3C github [1]. [1] w3c/fxtf-drafts#237 Bug: 1063749 Change-Id: I56ae0883f9891ff336128e5b3e15014c7e4b384f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2138937 Reviewed-by: Fredrik Söderquist <fs@opera.com> Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Abhijeet Kandalkar <abhijeet@igalia.com> Cr-Commit-Position: refs/heads/master@{#757037}
…st to WPT" This reverts commit b4687c7. This WPT testcase is failing on FF and Safari because its chrome specific behaviour. feConvolveMatrix does specify conditions for attributes but does not specify what happens if those conditions were not fulfilled by the author and there is a on going dicussion in W3C github [1]. [1] w3c/fxtf-drafts#237 Bug: 1063749 Change-Id: I56ae0883f9891ff336128e5b3e15014c7e4b384f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2138937 Reviewed-by: Fredrik Söderquist <fs@opera.com> Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Abhijeet Kandalkar <abhijeet@igalia.com> Cr-Commit-Position: refs/heads/master@{#757037}
…st to WPT" This reverts commit b4687c72a621f6667dc95744032c3db263b862ec. This WPT testcase is failing on FF and Safari because its chrome specific behaviour. feConvolveMatrix does specify conditions for attributes but does not specify what happens if those conditions were not fulfilled by the author and there is a on going dicussion in W3C github [1]. [1] w3c/fxtf-drafts#237 Bug: 1063749 Change-Id: I56ae0883f9891ff336128e5b3e15014c7e4b384f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2138937 Reviewed-by: Fredrik Söderquist <fs@opera.com> Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Abhijeet Kandalkar <abhijeet@igalia.com> Cr-Commit-Position: refs/heads/master@{#757037}
…erence-convolve-error.html test to WPT", a=testonly Automatic update from web-platform-tests Revert "[css-filters] Migrate effect-reference-convolve-error.html test to WPT" This reverts commit b4687c72a621f6667dc95744032c3db263b862ec. This WPT testcase is failing on FF and Safari because its chrome specific behaviour. feConvolveMatrix does specify conditions for attributes but does not specify what happens if those conditions were not fulfilled by the author and there is a on going dicussion in W3C github [1]. [1] w3c/fxtf-drafts#237 Bug: 1063749 Change-Id: I56ae0883f9891ff336128e5b3e15014c7e4b384f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2138937 Reviewed-by: Fredrik Söderquist <fs@opera.com> Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Abhijeet Kandalkar <abhijeet@igalia.com> Cr-Commit-Position: refs/heads/master@{#757037} -- wpt-commits: 180976ed3456786748574743fbbed0dd53fb8a90 wpt-pr: 22741
…erence-convolve-error.html test to WPT", a=testonly Automatic update from web-platform-tests Revert "[css-filters] Migrate effect-reference-convolve-error.html test to WPT" This reverts commit b4687c72a621f6667dc95744032c3db263b862ec. This WPT testcase is failing on FF and Safari because its chrome specific behaviour. feConvolveMatrix does specify conditions for attributes but does not specify what happens if those conditions were not fulfilled by the author and there is a on going dicussion in W3C github [1]. [1] w3c/fxtf-drafts#237 Bug: 1063749 Change-Id: I56ae0883f9891ff336128e5b3e15014c7e4b384f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2138937 Reviewed-by: Fredrik Söderquist <fs@opera.com> Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Abhijeet Kandalkar <abhijeet@igalia.com> Cr-Commit-Position: refs/heads/master@{#757037} -- wpt-commits: 180976ed3456786748574743fbbed0dd53fb8a90 wpt-pr: 22741
feConvolveMatrix does specify conditions for attributes but does not specify what happens if those conditions were not fulfilled by the author.
The text was updated successfully, but these errors were encountered: