fix(core): allow Z variations of CSS transforms in sanitizer (#29264)
PR Close #29264
This commit is contained in:
parent
1e9eeafa9e
commit
78e7fdd98d
|
@ -25,7 +25,7 @@ import {_sanitizeUrl} from './url_sanitizer';
|
|||
* transformation values.
|
||||
*/
|
||||
const VALUES = '[-,."\'%_!# a-zA-Z0-9]+';
|
||||
const TRANSFORMATION_FNS = '(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?';
|
||||
const TRANSFORMATION_FNS = '(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?';
|
||||
const COLOR_FNS = '(?:rgb|hsl)a?';
|
||||
const GRADIENTS = '(?:repeating-)?(?:linear|radial)-gradient';
|
||||
const CSS3_FNS = '(?:calc|attr)';
|
||||
|
|
Loading…
Reference in New Issue