(In reply to Hamish Willee from comment #12)
- So you are saying that SVGFECompositeElement IS affected by this change and that we need to add "lighter for operator row?
That would make sense, yes.
- I'd like to fix up the BCD table for feComposite with whatever you "know". Please confirm:
- For Firefox support for k1, k2, k3, k4 should be "yes" right?
Everyone supports that and always has.
- Opera indicates not supported, but that browser is now dependent on Blink too. Tested the lighter for testcase and that works on Opera and Opera Mobile. So my thinking is that Opera supports feComposite too
Opera uses Blink underneath so if Chrome supports lighter then so does Opera.
- Webview for Android, Chrome for Android and Samsung Internet all have "no" for lighter for.
I don't know you'd have to test but I imagine not.
- Safari and Safair for iOS uses Webkit. Do you know if that supports FeComposite, and if so, if it supports lighter for operator?
Safari supports feComposite. The safari on my lapop (14) also supports lighter. I don't know what version ligher was introduced though.
I'm not sure what is meant by a fragment. I thought it meant something referenced using a # that is defined elsewhere in the SVG. But this uses that and seems to work?
<svg width="250" height="250" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<rect id="Img" width="100%" height="80%" stroke="black" fill="gold" />
<filter id="id_2" primitiveUnits="objectBoundingBox">
<feImage xlink:href="#Img" x="25%" y="30%" width="50%" height="50%" result="waves" />
<feComposite operator="atop" in="waves" in2="SourceAlpha" />
<rect x="1" y="1" width="300" height="200" fill="red" stroke="blue" />
<rect x="50" y="25" width="150" height="150" filter="url(#id_2)" />
The above is not something that works in Firefox but it does in Chome. #img points to a fragment i.e. something that isn't a complete document.