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
Pseudo-element selector should not be accepted when there are spaces between colon and pseudo-element name #15335
Comments
Please make a comment here if you intend to work on this issue. Thank you! |
In https://github.com/servo/rust-selectors, in Once that test has been observed failing, the bug needs to be fixed. It’s in the |
I'd like to take this. |
Go ahead! |
servo/rust-selectors#103 is merged and v0.15.2 on crates.io. When updating Servo we should probably include the test case above. |
It seems this has been fixed. Closing. |
Land the test cases that should've landed with the selectors update PR for #15448 - Added test for pseudo-element with whitespace #15335 - Added tests for empty values in `[att^=""]`, `[att$=""]` and `[att*=""]` selectors #15394 (tests for `[att~=""]` have been added with #15440) - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #15448 - [X] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18542) <!-- Reviewable:end -->
Servo fails with the following test:
It is probably an issue in the cssparser. And this could probably be an easy bug.
cc @SimonSapin
The text was updated successfully, but these errors were encountered: