On Fri, 2018-07-13 at 20:50 +0200, Tavmjong Bah wrote:
That would definitely help. The more people use meshes the better... but it won't help if they are ultimately rasterized (used as a PNG rather than an SVG) on the web. The browsers have "use" counters. We probably need to offer users the ability to add a JavaScript "polyfill" to their files that use meshes.
A feature could be done for that for the website, but it requires that the svg be embeded in the page and not just an <img tag. If browsers render the SVG then you can get away with an SVG in an img tag, which is much more secure.
So the website currently requires an administrator to turn on svg embedding per item. And the feature isn't exposed to users in any way, so there's no button that says "I see you're trying to use mesh gradients, do you want to apply for embedding review to turn on the pollyfil"
Anyone else got any ideas of how to safely operate user content so it does't hack our website 😉
Best Regards, Martin Owens