Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simple implementation for :scope and :has selectors (without support …
…for the descendant combinator in :has)
- Loading branch information
Showing
2 changed files
with
76 additions
and
27 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
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
Is this line correct? It seems to me to always insert ":scope" at the beginning of the string (and reset
\G
to the beginning of the string, as well). I think what would work is an extraline. I confess I didn't think of that at first, so I gave up on making
_compile
do all the work.