empty value in filter:sepia() function differs from sepia(0) in CSS filter
Reported by
asc...@mozilla.com,
Nov 14 2016
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:51.0) Gecko/20100101 Firefox/51.0 Example URL: https://jsfiddle.net/muavjbvs/7/ Steps to reproduce the problem: Go to https://jsfiddle.net/muavjbvs/7/ What is the expected behavior? According to spec[1], sepia() should be equal to sepia(0) and take no effect on target element. [1] https://drafts.fxtf.org/filters/#funcdef-filter-sepia What went wrong? From the spec, sepia() means sepia(0), so it seems Blink doesn't follow the spec. Ref on Mozilla MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/filter#sepia()_2 Does it occur on multiple sites: N/A Is it a problem with a plugin? No Did this work before? No Does this work in other browsers? Yes Chrome version: 56.0.2918.0 Channel: canary OS Version: OS X 10.12 Flash Version: Shockwave Flash 23.0 r0
,
Nov 14 2016
This is not restricted to the regression range shown. AFAICT, it predates us unprefixing the "filter" property and probably goes back well into the -webkit-filter days, so I'm going to remove the regression label. This can probably just be a simple change to how we parse this CSS filter, assuming that we believe changing it to be web-compatible. Assigning to senorblanco@.
,
Apr 5 2017
,
Dec 3
The link above (https://drafts.fxtf.org/filters/#funcdef-filter-sepia) now says: > Default value when omitted is 1. |
||||
►
Sign in to add a comment |
||||
Comment 1 by sureshkumari@chromium.org
, Nov 14 2016Labels: -Pri-2 -Type-Compat M-56 hasbisect OS-Linux OS-Windows Pri-1 Type-Bug-Regression
Owner: jbroman@chromium.org
Status: Assigned (was: Unconfirmed)