Bug 1755678 Comment 11 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

So there are two distinct problems that we seem to be having here (in Firefox):

(1) SVG filters that are provided via data-URI-encoded documents don't seem to work in the `ctx.filter` (i.e. CanvasRenderingContext2D.filter) JS-property -- though they do work via CSS `filter`.

(2) SVG filters referenced via the ID of a same-document-element simply don't work.

I'll attach two reduced testcases to demonstrate each distinct issue.
So there are two distinct problems that we seem to be having here (in Firefox):

(1) SVG filters that are provided via data-URI-encoded documents don't seem to work in the `ctx.filter` (i.e. CanvasRenderingContext2D.filter) JS-property -- though they do work via CSS `filter`.

(2) SVG filters referenced via the ID of a same-document-element simply don't work **if the <filter> element is in a `display:none` subtree**.

I'll attach two reduced testcases to demonstrate each distinct issue.

Back to Bug 1755678 Comment 11