[wp-trac] [WordPress Trac] #55966: safecss_filter_attr() returns empty if containing min()
WordPress Trac
noreply at wordpress.org
Tue Sep 6 14:22: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 changes- | Focuses: css
requested early |
-------------------------------------------------+-------------------------
Comment (by joyously):
Is there a test case for using a CSS function in something that has
parentheses, like a gradient?
Does the regex for `var` allow a fallback value like `50%`? When would a
`var` have square brackets? (maybe a data-uri?)
Is there a test case for two of the functions in the same CSS, like
`clamp` and `min`?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55966#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list