Bug 184417
| Summary: | CSS: filter should reject negative brightness | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Eric Willigers <ericwilligers> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | dino, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | FromImplementor, InRadar |
| Version: | Safari 11 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Eric Willigers
https://drafts.fxtf.org/filter-effects/#FilterProperty
brightness() = brightness( <number-percentage> )
Negative values are not allowed.
However, WebKit and Blink currently accept negative values.
https://jsfiddle.net/ericwilligers/y4j8hzvs/
Corresponding Blink bug:
https://bugs.chromium.org/p/chromium/issues/detail?id=776208
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/39389946>
Simon Fraser (smfr)
Fixed via bug 184937.
*** This bug has been marked as a duplicate of bug 184937 ***