-
Notifications
You must be signed in to change notification settings - Fork 213
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
Fixes 6132: Added tests and new logic for supporting pseudoclasses #6150
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'll be easier for us to maintain or even review if u changed those two anonymous functions to normal methods in the class.
You can also simplify things by creating a new method to return the filtered pseudo_elements_to_remove
what do u think?
The second one needs the context I think that using normal function will make it confusing as we will have to use property which is not natural. |
No need to create a property, I meant something like that (that's a draft):
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR is working. 👍
NOTE
#6158 was discovered during the investigation of this feature.
We'll need to re-test pseudo classes when that's fixed.
Description
Add support for pseudoclasses for the bg css ll.
For that we refactored the logic from the
MappingParser
.Fixes #6132
Type of change
Please delete options that are not relevant.
Is the solution different from the one proposed during the grooming?
No.
Checklists
Generic development checklist
Test summary
If not, detail what you could not test.
Please describe any additional tests you performed.