[xssprotection] How to allow "transform" style for inline CSS ?
Hi guys ,
I am allowing SVG graphic attributes and elements ( https://developer.mozilla.org/en-US/docs/Web/SVG ) in /apps/cq/xssprotection/config.xml .
But I am not able to allow transform property for CSS .
I have tried adding the below code in embed component as HTML but still AEM is trimming that piece of code ( Please find code and screenshots below ) .
<svg viewbox="0 0 420 200" xmlns="http://www.w3.org/2000/svg">
<filter id="noise1" x="0" y="0" width="100%" height="100%">
<feturbulence basefrequency="0.025" />
</filter>
<filter id="noise2" x="0" y="0" width="100%" height="100%">
<feturbulence basefrequency="0.05" />
</filter>
<rect x="0" y="0" width="200" height="200" style="filter: url(#noise1);" ></rect>
<rect
x="0"
y="0"
width="200"
height="200"
style="filter: url(#noise2); transform: translateX(220px);" ></rect>
</svg>
HTML Code in browser --

tried code under <css-rules> tag -->
<property name="transform">
<literal-list>
<literal value="translateX"/>
</literal-list>
<regexp-list>
<regexp name="anything"/>
</regexp-list>
</property>
Can anyone please help regarding this issue ?
Thank You