[owasp-antisamy] Inline style property -webkit-* gets deleted

Rabik Maharjan rabik.maharjan at banno.com
Tue Jun 11 15:45:22 UTC 2013


Hi,

I am working on validating markup and I hit wall on inline style. the css
property -wibkit-transition get deleted. Also anything after it also gets
deleted.

Eg:

style="font-weight:normal;-webkit-transition:background-position0.1slinear;"
background-position:0px-15px;

is converted to

style="font-weight:normal;"

In my policy I have:

<css -rules>

   <property name="-webkit-transition" default="" description="">

      <regexp-list>

        <regexp name ="anything"/> // regex for anyting is .*

      </regexp-list>

    </property>

</css-rules>


Can someone please help.

Thanks.

Rabik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/owasp-antisamy/attachments/20130611/56f20a3c/attachment.html>


More information about the Owasp-antisamy mailing list