From ae2a3997adb7ea420784de06ec9a61e1c8883bb3 Mon Sep 17 00:00:00 2001 From: Ben Zhu <6070516+benzhu56@users.noreply.github.com> Date: Thu, 19 Dec 2024 11:14:16 +1000 Subject: [PATCH] Add mask css rule to csstidy allow list (#40655) * Add mask css rule to allow list * Add changelog --------- Co-authored-by: Ben Zhu --- .../changelog/benz56-add-mask-css-rule-to-allowlist | 4 ++++ .../src/features/custom-css/csstidy/data.inc.php | 1 + 2 files changed, 5 insertions(+) create mode 100644 projects/packages/jetpack-mu-wpcom/changelog/benz56-add-mask-css-rule-to-allowlist diff --git a/projects/packages/jetpack-mu-wpcom/changelog/benz56-add-mask-css-rule-to-allowlist b/projects/packages/jetpack-mu-wpcom/changelog/benz56-add-mask-css-rule-to-allowlist new file mode 100644 index 0000000000000..0841f37a48c0e --- /dev/null +++ b/projects/packages/jetpack-mu-wpcom/changelog/benz56-add-mask-css-rule-to-allowlist @@ -0,0 +1,4 @@ +Significance: patch +Type: added + +CSS Tidy: add css rule mask to allowlist diff --git a/projects/packages/jetpack-mu-wpcom/src/features/custom-css/csstidy/data.inc.php b/projects/packages/jetpack-mu-wpcom/src/features/custom-css/csstidy/data.inc.php index 87163a845e502..760f24d8d2782 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/custom-css/csstidy/data.inc.php +++ b/projects/packages/jetpack-mu-wpcom/src/features/custom-css/csstidy/data.inc.php @@ -549,6 +549,7 @@ $GLOBALS['csstidy']['all_properties']['marquee-play-count'] = 'CSS3.0'; $GLOBALS['csstidy']['all_properties']['marquee-speed'] = 'CSS3.0'; $GLOBALS['csstidy']['all_properties']['marquee-style'] = 'CSS3.0'; +$GLOBALS['csstidy']['all_properties']['mask'] = 'CSS3.0'; $GLOBALS['csstidy']['all_properties']['mask-clip'] = 'CSS3.0'; $GLOBALS['csstidy']['all_properties']['mask-composite'] = 'CSS3.0'; $GLOBALS['csstidy']['all_properties']['mask-image'] = 'CSS3.0';