DescriptionClamp filter functions {grayscale, invert, opacity, sepia} to 100%
The spec says the following for these functions:
"Values of amount over 100% are allowed but UAs must clamp the values
to 1."
So do that rather than failing. This matches the behavior of Gecko and
Edge.
This fixes
http://test.csswg.org/suites/filters-1_dev/nightly-unstable/html/filter-grayscale-005.htm
from the CSS WG Filter Effects testsuite (w/ the property unprefixed.)
BUG=618607
Committed: https://crrev.com/2fd3378f869dd3f9b5564d1e9ae96a0691126356
Cr-Commit-Position: refs/heads/master@{#399144}
Patch Set 1 #Patch Set 2 : Additional test fixup #
Depends on Patchset: Messages
Total messages: 10 (5 generated)
|