mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Tests: Add a test case for safecss_filter_attr() with object-position property.
Follow-up to [50634]. See #56793. git-svn-id: https://develop.svn.wordpress.org/trunk@54667 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1107,6 +1107,11 @@ EOF;
|
||||
'css' => 'background: conic-gradient(at 0% 30%, red 10%, yellow 30%, #1e90ff 50%)',
|
||||
'expected' => 'background: conic-gradient(at 0% 30%, red 10%, yellow 30%, #1e90ff 50%)',
|
||||
),
|
||||
// `object-position` introduced in 5.7.1.
|
||||
array(
|
||||
'css' => 'object-position: right top',
|
||||
'expected' => 'object-position: right top',
|
||||
),
|
||||
// Expressions are not allowed.
|
||||
array(
|
||||
'css' => 'height: expression( body.scrollTop + 50 + "px" )',
|
||||
|
||||
Reference in New Issue
Block a user