-
-
Notifications
You must be signed in to change notification settings - Fork 897
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: CSS pseudo-classes that are invalid XPath function names raise
This is an alternative to #3197 (which was reverted) in which the exception is raised from the XPathVisitor and not the CSS Parser. Semantically, this is valid CSS, and so the Parser shouldn't raise. But it is invalid XPath, and so it's the responsibility of the Visitor to raise. Closes #3193.
- Loading branch information
1 parent
adece3c
commit b918ce1
Showing
3 changed files
with
17 additions
and
1 deletion.
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
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