Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport #2422: fix: regression with XPath attributes in CSS selectors #2423

Merged
merged 8 commits into from Jan 13, 2022

Conversation

flavorjones
Copy link
Member

@flavorjones flavorjones commented Jan 13, 2022

backport of #2422 to v1.13.x fixing #2419
branch created by cherry-picking 3240a07..538e11d

so it's easier to do focused test runs
This commit removes "@" from the IDENT token so that we can create a
new grammar rule in the parser for XPath attributes.

Fixes #2419
All attribute references end up as an :ATTRIB_NAME node without the
"@" present, which simplifies the XPath visitor code.
And officially document the XPath attribute extensions to CSS selector
syntax that we support.

See #2419 for context
@flavorjones flavorjones added this to the v1.13.x patch releases milestone Jan 13, 2022
@flavorjones flavorjones merged commit a770d97 into v1.13.x Jan 13, 2022
@flavorjones flavorjones deleted the backport-2419-css-at-attribute-syntax branch January 13, 2022 12:58
@flavorjones flavorjones added the backport Backport of a PR to the current release branch label Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Backport of a PR to the current release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant