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

[Gecko Bug 1864647] Don't crash when finding nested relative selectors. #43186

Merged
merged 1 commit into from Nov 16, 2023

Conversation

moz-wptsync-bot
Copy link
Collaborator

For now, do the same as pseudo-elements, which is effectively to keep
them in the replaced selector but don't match them. Avoid crashing in
this case.

I filed w3c/csswg-drafts#9600 since this issue
isn't specific about :has(), and depending on the result of that
discussion, the "proper" solution might be different.

Differential Revision: https://phabricator.services.mozilla.com/D193663

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1864647
gecko-commit: 69bede2c30ec37c0a9b3b44879e28a5dd1c0b1c5
gecko-reviewers: dshin

For now, do the same as pseudo-elements, which is effectively to keep
them in the replaced selector but don't match them. Avoid crashing in
this case.

I filed w3c/csswg-drafts#9600 since this issue
isn't specific about :has(), and depending on the result of that
discussion, the "proper" solution might be different.

Differential Revision: https://phabricator.services.mozilla.com/D193663

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1864647
gecko-commit: 69bede2c30ec37c0a9b3b44879e28a5dd1c0b1c5
gecko-reviewers: dshin
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Firefox project.

@moz-wptsync-bot moz-wptsync-bot merged commit e8fcbc3 into master Nov 16, 2023
19 checks passed
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1864647 branch November 16, 2023 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants