A
A
Alexander2019-10-02 12:57:58
css
Alexander, 2019-10-02 12:57:58

What happened to CSS Custom Filters (CSS Shaders)?

Adobe suggested the ability to create custom CSS filters many years ago. If you look at the specification, then there is only a mention that in 2014 they were removed from it. What happened? Why is there no news about this in 2019? Security issues?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Bogachev, 2019-10-02
@LordGuard

You can google discussions about why this technology was decided to be removed from WebKit in 2014. It's mainly about the fact that CSS Custom Filters had security problems -> introduced restrictions on their use -> it turned out that the scope in this situation is very narrow and in fact they are not really needed -> chrome developers stopped development for half a year, and in other browsers, in fact, they did not begin to implement all this. Plus, the idea was expressed that it would be better to make a set of ready-made filters. This is where the idea came up. Today, we can use WebGL in its purest form, outside of CSS, to do some of the things this whole thread was designed to do. Effects for pictures can be done by hand , and there are tools like HTML-GL, allowing you to apply effects "as if on a page" (there the page with some restrictions is rendered in the context of WebGL, but then everything is the same as with pictures).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question