Closed Bug 1173545 Opened 9 years ago Closed 8 years ago

Enable canvas CSS/SVG filters by default

Categories

(Core :: Graphics: Canvas2D, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla49
Tracking Status
platform-rel --- +
firefox41 --- affected
firefox49 --- fixed
relnote-firefox --- -

People

(Reporter: mstange, Assigned: mstange)

References

Details

(Keywords: dev-doc-complete, Whiteboard: [parity-blink][platform-rel-Google][platform-rel-GoogleDocs])

Attachments

(1 file)

This bug tracks the work that needs to be done before we can set the pref canvas.filters.enabled to true by default.
Depends on: 1163124
Depends on: 1163105
Depends on: 1174278
Depends on: 1195968
Depends on: 1163107
Depends on: 1262745
Attachment #8758384 - Flags: review?(mstange)
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?
Flags: needinfo?(tschneider)
Flags: needinfo?(mstange)
Yes!
Flags: needinfo?(tschneider)
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/daf8583252b2
Enable canvas CSS/SVG filters by default. r=mstange
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/daf8583252b2
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Flags: needinfo?(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
platform-rel: --- → +
Whiteboard: [parity-blink] → [parity-blink][platform-rel-Google][platform-rel-GoogleDocs]
I think that the note on MDN is enough. Please need info me if you disagree
Depends on: CVE-2016-9077
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?
Will do
I found Bug 1306027, and added a link to my example[https://jsfiddle.net/ishmael_readingplus/hag1tc99/] there.
Depends on: 1307740
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: