-
-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [#1683] Adds support for subsequent sibling combinator to query…
… selectors and match * fix: [#1683] Fix not recognizing subsequent sibling combinator in QuerySelector * chore: [#1683] Improves performance and adds support for matches --------- Co-authored-by: David Ortner <[email protected]>
- Loading branch information
1 parent
ecbf335
commit 3bb23c2
Showing
4 changed files
with
182 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
packages/happy-dom/src/query-selector/SelectorCombinatorEnum.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
enum SelectorCombinatorEnum { | ||
descendant = 'descendant', | ||
child = 'child', | ||
adjacentSibling = 'adjacentSibling' | ||
adjacentSibling = 'adjacentSibling', | ||
subsequentSibling = 'subsequentSibling' | ||
} | ||
|
||
export default SelectorCombinatorEnum; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters