[Webkit-unassigned] [Bug 215896] New: CSS Filter invert() and opacity() Implementation Should Use Linear Transfer Function for Clarity and Simplicity
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 27 11:32:07 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=215896
Bug ID: 215896
Summary: CSS Filter invert() and opacity() Implementation
Should Use Linear Transfer Function for Clarity and
Simplicity
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: guowei_yang at apple.com
In WebKit's implementation of CSS filters invert() and opacity(), FEComponentTransfer is used and the transfer function is surprisingly to table, instead of linear. Looking at the CSS spec, https://drafts.fxtf.org/filter-effects/#invertEquivalent
invert() and opacity() is implemented using "table" with just 2 values, which is equivalent to using a linear function. I propose to change the implementation of invert() and opacity() to use linear transfer function as well for simplicity and clarity.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200827/b462cdea/attachment-0001.htm>
More information about the webkit-unassigned
mailing list