Changeset 58834 for trunk/tests/phpunit/tests/style-engine/styleEngine.php
- Timestamp:
- 07/31/2024 02:39:46 AM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/style-engine/styleEngine.php
r58089 r58834 29 29 * @ticket 58590 30 30 * @ticket 60175 31 * @ticket 61720 31 32 * 32 33 * @covers ::wp_style_engine_get_styles … … 540 541 'block_styles' => array( 541 542 'background' => array( 542 'backgroundImage' => array(543 'backgroundImage' => array( 543 544 'url' => 'https://example.com/image.jpg', 544 545 ), 545 'backgroundPosition' => 'center', 546 'backgroundRepeat' => 'no-repeat', 547 'backgroundSize' => 'cover', 546 'backgroundPosition' => 'center', 547 'backgroundRepeat' => 'no-repeat', 548 'backgroundSize' => 'cover', 549 'backgroundAttachment' => 'fixed', 548 550 ), 549 551 ), 550 552 'options' => array(), 551 553 'expected_output' => array( 552 'css' => "background-image:url('https://example.com/image.jpg');background-position:center;background-repeat:no-repeat;background-size:cover;", 553 'declarations' => array( 554 'background-image' => "url('https://example.com/image.jpg')", 555 'background-position' => 'center', 556 'background-repeat' => 'no-repeat', 557 'background-size' => 'cover', 554 'css' => "background-image:url('https://example.com/image.jpg');background-position:center;background-repeat:no-repeat;background-size:cover;background-attachment:fixed;", 555 'declarations' => array( 556 'background-image' => "url('https://example.com/image.jpg')", 557 'background-position' => 'center', 558 'background-repeat' => 'no-repeat', 559 'background-size' => 'cover', 560 'background-attachment' => 'fixed', 558 561 ), 559 562 ),
Note: See TracChangeset
for help on using the changeset viewer.