Make WordPress Core


Ignore:
Timestamp:
07/12/2024 03:34:52 AM (3 months ago)
Author:
SergeyBiryukov
Message:

KSES: Add opacity to the list of safe CSS properties.

Original PR from Gutenberg repository:

Reference: MDN Web Docs: opacity.

Props sunil25393, wildworks, poena, Mamaduka, presstoke.
Fixes #61536.

File:
1 edited

Legend:

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

    r58424 r58709  
    13541354                'expected' => 'background-repeat: no-repeat',
    13551355            ),
     1356            // `opacity` introduced in 6.7.
     1357            array(
     1358                'css'      => 'opacity: 10',
     1359                'expected' => 'opacity: 10',
     1360            ),
    13561361        );
    13571362    }
Note: See TracChangeset for help on using the changeset viewer.