Skip to content

Commit 0fb0c20

Browse files
committed
Add unsupported complex selector test
1 parent a99207d commit 0fb0c20

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

tests/phpunit/tests/html-api/wpCssCompoundSelectorList.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,13 @@ public function test_parse_empty_selector_list() {
4848
$result = WP_CSS_Compound_Selector_List::from_selectors( $input );
4949
$this->assertNull( $result );
5050
}
51+
52+
/**
53+
* @ticket 62653
54+
*/
55+
public function test_unsupported_complex_selector() {
56+
$input = 'ancestor descendant';
57+
$result = WP_CSS_Compound_Selector_List::from_selectors( $input );
58+
$this->assertNull( $result );
59+
}
5160
}

0 commit comments

Comments
 (0)