Bug 113140 - [CSS Filters] There are two "filter" properties in WebKit
Summary: [CSS Filters] There are two "filter" properties in WebKit
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 68469
  Show dependency treegraph
 
Reported: 2013-03-23 11:29 PDT by Alexandru Chiculita
Modified: 2018-09-26 09:36 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandru Chiculita 2013-03-23 11:29:42 PDT
There are two "filter" CSS properties in WebKit:
1. "filter" - parsed for SVG filter
2. "-webkit-filter" - parsed for the CSS filter used in HTML content

The problem is that the value of one is not going to affect the other. From WebKit's point of view they are completely different CSS properties.

Some frameworks like prefixfree are detecting that "-webkit-filter" can be unprefixed just becaue there is a "filter" property available. However, that will fail because the SVG filter is not used in HTML and also has just a subset of the CSS Syntax.
Comment 1 Alexandru Chiculita 2013-03-23 11:32:29 PDT
Link to the original bug in prefixfree: https://github.com/LeaVerou/prefixfree/issues/76
Comment 2 Dirk Schulze 2014-03-02 09:12:41 PST
Eventually -webkit-filter will get a subset of filter and vice versa.
Comment 3 Simon Fraser (smfr) 2018-09-26 09:36:53 PDT
This was resolved a long time ago.