Make WordPress Core


Ignore:
Timestamp:
10/22/2022 12:55:56 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Tests: Add a test case for safecss_filter_attr() with object-position property.

Follow-up to [50634].

See #56793.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/kses.php

    r54666 r54667  
    11081108                'expected' => 'background: conic-gradient(at 0% 30%, red 10%, yellow 30%, #1e90ff 50%)',
    11091109            ),
     1110            // `object-position` introduced in 5.7.1.
     1111            array(
     1112                'css'      => 'object-position: right top',
     1113                'expected' => 'object-position: right top',
     1114            ),
    11101115            // Expressions are not allowed.
    11111116            array(
Note: See TracChangeset for help on using the changeset viewer.