Changeset 55184
- Timestamp:
- 02/01/2023 10:50:11 PM (20 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/kses.php
r55053 r55184 2278 2278 * Added support for `object-fit`, `gap`, `column-gap`, `row-gap`, and `flex-wrap`. 2279 2279 * Extended `margin-*` and `padding-*` support for logical properties. 2280 * @since 6.2.0 Added support for `position`, `top`, `right`, `bottom`, `left` and `z-index` position CSS properties. 2280 2281 * 2281 2282 * @param string $css A string of CSS rules. … … 2439 2440 'vertical-align', 2440 2441 2442 'position', 2443 'top', 2444 'right', 2445 'bottom', 2446 'left', 2447 'z-index', 2448 2441 2449 // Custom CSS properties. 2442 2450 '--*', -
trunk/tests/phpunit/tests/kses.php
r55131 r55184 1279 1279 'expected' => '', 1280 1280 ), 1281 // Position properties introduced in 6.2. 1282 array( 1283 'css' => 'position: sticky;top: 0;left: 0;right: 0;bottom: 0;z-index: 10;', 1284 'expected' => 'position: sticky;top: 0;left: 0;right: 0;bottom: 0;z-index: 10', 1285 ), 1281 1286 ); 1282 1287 }
Note: See TracChangeset
for help on using the changeset viewer.