This bug tracks the work that needs to be done before we can set the pref canvas.filters.enabled to true by default.
This is now enabled by default in Chrome 52 https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/Jhwj8QAYaFY https://www.chromestatus.com/features/6701649301078016
Turn on the lights!
Comment on attachment 8758384 [details] [diff] [review] Flip canvas.filters.enabled pref Review of attachment 8758384 [details] [diff] [review]: ----------------------------------------------------------------- \o/
Attachment #8758384 - Flags: review?(mstange) → review+
Markus/Tobias - Do you want to land this on mozcentral and then nominate it to be release noted?
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/daf8583252b2 Enable canvas CSS/SVG filters by default. r=mstange
Release Note Request (optional, but appreciated) [Why is this notable]: [Suggested wording]: [Links (documentation, blog post, etc)]: Dev-docs: https://developer.mozilla.org/en-US/Firefox/Releases/49#Canvas https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/filter Also adding relnote request as per comment 5: Release Note Request (optional, but appreciated) [Why is this notable]: CSS filters are now available to canvas as well [Suggested wording]: The Canvas2D filter property has been implemented. It provides filter effects like blurring or gray-scaling similar to the CSS filter property. [Links (documentation, blog post, etc)]: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/filter
3 years ago
platform-rel: --- → +
Whiteboard: [parity-blink] → [parity-blink][platform-rel-Google][platform-rel-GoogleDocs]
I think this fix effect ctx.shadowBlur ?
I have been using a mixture of globalAlpha, shadowColor, and shadowBlur to blur text in my canvas elements. Since the release this technique is now failing, would the implementation of the blur filter be effecting it?
It's possible that the interaction with the filter code has broken something. Can you please file a new bug and attach a minimal testcase?
I found Bug 1306027, and added a link to my example[https://jsfiddle.net/ishmael_readingplus/hag1tc99/] there.
You need to log in before you can comment on or make changes to this bug.