[wp-trac] [WordPress Trac] #55966: safecss_filter_attr() returns empty if containing min()

WordPress Trac noreply at wordpress.org
Wed Jul 13 10:50:05 UTC 2022

#55966: safecss_filter_attr() returns empty if containing min()
 Reporter:  uxl                       |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  6.1
Component:  Formatting                |     Version:  6.0
 Severity:  major                     |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  css
Changes (by johnregan3):

 * keywords:  needs-patch needs-unit-tests => has-patch has-unit-tests


 @SergeyBiryukov Patch added, building upon #46197. This includes min(),
 max(), minmax(), and clamp().  I didn't include more CSS functions at this
 point as I didn't want to stray too far beyond the scope of this ticket.
 If requested, I can add more.

 I also moved some of the test data from #46197 to a more appropriate

Ticket URL: <https://core.trac.wordpress.org/ticket/55966#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list