Changeset 57253 for trunk/tests/phpunit/tests/style-engine/styleEngine.php
- Timestamp:
- 01/09/2024 02:43:48 AM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/style-engine/styleEngine.php
r56614 r57253 253 253 'elements_with_css_var_value' => array( 254 254 'block_styles' => array( 255 'color' => array(255 'color' => array( 256 256 'text' => 'var:preset|color|my-little-pony', 257 ), 258 'typography' => array( 259 'fontSize' => 'var:preset|font-size|cabbage-patch', 260 'fontFamily' => 'var:preset|font-family|transformers', 257 261 ), 258 262 ), … … 261 265 ), 262 266 'expected_output' => array( 263 'css' => '.wp-selector{color:var(--wp--preset--color--my-little-pony);}', 264 'declarations' => array( 265 'color' => 'var(--wp--preset--color--my-little-pony)', 266 ), 267 'classnames' => 'has-text-color has-my-little-pony-color', 267 'css' => '.wp-selector{color:var(--wp--preset--color--my-little-pony);font-size:var(--wp--preset--font-size--cabbage-patch);font-family:var(--wp--preset--font-family--transformers);}', 268 'declarations' => array( 269 'color' => 'var(--wp--preset--color--my-little-pony)', 270 'font-size' => 'var(--wp--preset--font-size--cabbage-patch)', 271 'font-family' => 'var(--wp--preset--font-family--transformers)', 272 273 ), 274 'classnames' => 'has-text-color has-my-little-pony-color has-cabbage-patch-font-size has-transformers-font-family', 268 275 ), 269 276 ),
Note: See TracChangeset
for help on using the changeset viewer.