-
Notifications
You must be signed in to change notification settings - Fork 85
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
::before pseudo-element + procedural filters like :has-text() doesn't work #2786
Comments
Native |
It's not possible to programmatically query a selector using uBO should report such filter as en error in Firefox, so that is the thing to fix. |
No: https://caniuse.com/css-has
Also www.bing.com##li.b_algo:has-text(a) h2::before:style(content: 'Second Text' !important; color: #E6000D !important;) |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as off-topic.
This comment was marked as off-topic.
May post was not spam... screen shows a CSS4. |
Native |
But:
https://developer.mozilla.org/en-US/docs/Web/CSS/:has Edit: Which I now read is not the issue here... Anyway, 9 more days to the release. |
Prerequisites
I tried to reproduce the issue when...
Description
This filter only works on Chromium (v115) and doesn't work on Firefox (v116):
But this one without
:has()
works in both browsers:A specific URL where the issue occurs.
https://www.bing.com/search?go=Search&q=download+vlc&qs=ds&form=QBRE
Steps to Reproduce
.
Expected behavior
.
Actual behavior
.
uBO version
1.51.1rc1 dev
Browser name and version
.
Operating System and version
.
The text was updated successfully, but these errors were encountered: