-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try to fix PHP unit tests #31981
Try to fix PHP unit tests #31981
Conversation
'padding' => array( | ||
'top' => '1px', | ||
'right' => '1px', | ||
'bottom' => 'var(--unsafe-var-toplevel)', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe instead we should test for something else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
04db092
to
efd1e0e
Compare
Size Change: 0 B Total Size: 1.62 MB ℹ️ View Unchanged
|
@@ -586,7 +586,7 @@ function test_remove_insecure_properties_removes_unsafe_styles_sub_properties() | |||
'padding' => array( | |||
'top' => '2px', | |||
'right' => '2px', | |||
'bottom' => 'var(--unsafe-var-elements)', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nosolosw Btw, I noticed that these are not stripped.
Description
Cause: WordPress/wordpress-develop@8e498a8
var()
is now allowed, so we need to update the tests.How has this been tested?
Screenshots
Types of changes
Checklist:
*.native.js
files for terms that need renaming or removal).