Make WordPress Core


Ignore:
Timestamp:
09/19/2023 12:28:25 PM (15 months ago)
Author:
SergeyBiryukov
Message:

KSES: Add writing-mode to the list of safe CSS properties.

Original PR from Gutenberg repository:

Reference: MDN Web Docs: writing-mode.

Follow-up to [56605].

Props wildworks, mukesh27, poena, andrewserong.
Fixes #59387.

File:
1 edited

Legend:

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

    r55944 r56617  
    13421342                'expected' => '',
    13431343            ),
     1344            // `writing-mode` introduced in 6.4.
     1345            array(
     1346                'css'      => 'writing-mode: vertical-rl',
     1347                'expected' => 'writing-mode: vertical-rl',
     1348            ),
    13441349        );
    13451350    }
Note: See TracChangeset for help on using the changeset viewer.