Changeset 56046
- Timestamp:
- 06/26/2023 11:42:16 PM (15 months ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/kses.php
r56020 r56046 2281 2281 * and `z-index` CSS properties. 2282 2282 * @since 6.3.0 Extended support for `filter` to accept a URL and added support for repeat(). 2283 * Added support for `box-shadow`. 2283 2284 * 2284 2285 * @param string $css A string of CSS rules. … … 2448 2449 'left', 2449 2450 'z-index', 2451 'box-shadow', 2450 2452 'aspect-ratio', 2451 2453 -
trunk/src/wp-includes/style-engine/class-wp-style-engine.php
r55985 r56046 149 149 ), 150 150 ), 151 'shadow' => array( 152 'shadow' => array( 153 'property_keys' => array( 154 'default' => 'box-shadow', 155 ), 156 'path' => array( 'shadow' ), 157 'css_vars' => array( 158 'shadow' => '--wp--preset--shadow--$slug', 159 ), 160 ), 161 ), 151 162 'dimensions' => array( 152 163 'minHeight' => array( -
trunk/src/wp-settings.php
r56007 r56046 332 332 require ABSPATH . WPINC . '/block-supports/dimensions.php'; 333 333 require ABSPATH . WPINC . '/block-supports/duotone.php'; 334 require ABSPATH . WPINC . '/block-supports/shadow.php'; 334 335 require ABSPATH . WPINC . '/block-supports/elements.php'; 335 336 require ABSPATH . WPINC . '/block-supports/generated-classname.php'; -
trunk/tests/phpunit/tests/style-engine/styleEngine.php
r55985 r56046 27 27 * @ticket 56467 28 28 * @ticket 58549 29 * @ticket 58590 29 30 * 30 31 * @covers ::wp_style_engine_get_styles … … 183 184 ), 184 185 186 'inline_valid_shadow_style' => array( 187 'block_styles' => array( 188 'shadow' => 'inset 5em 1em gold', 189 ), 190 'options' => null, 191 'expected_output' => array( 192 'css' => 'box-shadow:inset 5em 1em gold;', 193 'declarations' => array( 194 'box-shadow' => 'inset 5em 1em gold', 195 ), 196 ), 197 ), 198 185 199 'inline_valid_typography_style' => array( 186 200 'block_styles' => array(
Note: See TracChangeset
for help on using the changeset viewer.