Closed
Bug 1374151
Opened 7 years ago
Closed 7 years ago
stylo: Restrict the out of range value of filter.
Categories
(Core :: CSS Parsing and Computation, enhancement)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
DUPLICATE
of bug 1374233
People
(Reporter: mantaroh, Assigned: mantaroh)
References
()
Details
This is follow up to bug 1362897. We will need to restrict the float value in filter if computed value will be negative or value will be grater than one. In gecko, we restrict by using RestrictValue[1]. [1] http://searchfox.org/mozilla-central/source/layout/style/StyleAnimationValue.cpp#550-571,1976 So we will need to same implementation on Stylo.
Assignee | ||
Comment 1•7 years ago
|
||
We need two type of restrict function, Au for Blur and CSSFloat for Grayscale/Invert/Sepia/Brightness/Contrast/Opacity/Saturation. https://treeherder.mozilla.org/#/jobs?repo=try&revision=1b888fcfeeb42a12f09d2152a11e47f11da9e721
Assignee: nobody → mantaroh
Status: NEW → ASSIGNED
Comment 2•7 years ago
|
||
How much work do we need if we decided to handle those values just like IntermediateRGBA?
Updated•7 years ago
|
Updated•7 years ago
|
Assignee | ||
Updated•7 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•