Open Bingbazaar opened 9 years ago
Someone implement them, and PR them in!
Have you found a solution for box-shadow and gradient?
solution for rgba found here: https://reviews.mahara.org/#/c/3679/2/htdocs/lib/htmlpurifier/HTMLPurifier/AttrDef/CSS/Color.php
border-radius you can found here: https://github.com/ezyang/htmlpurifier/pull/19
@ezyang when you want, I can give you my htmlpurifier 4.7.0 source. You can look with WinMerge the differences. I have included the most needed CSS3 features in it. I only missing support for gradient.
@Daijobou, would you mind posting your changes? I am also in need of CSS3 support. #19 appears to be in the code, but I still cannot seem to get it to work.
Things like box-shadow, border-radius and linear-gradient() are removed. It's quite a disadvantage for design to not be able to use these properties. Would it be possible to fix this?