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

fix: handle pseudo-class in middle of selector #68

Merged
merged 2 commits into from Jan 14, 2021

Commits on Dec 14, 2020

  1. fix: handle pseudo-class in middle of selector

    At the moment critters doesn't correctly handle pseudo-class in the middle of the selector string and pseudo-class which take a value such as `:not`
    
    Example
    ```
    .mat-slider:hover .mat-slider-track-background
    .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb
    ```
    
    More context about CSS pseudo-classes can be found https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes
    
    Closes GoogleChromeLabs#51
    alan-agius4 committed Dec 14, 2020
    Configuration menu
    Copy the full SHA
    0f0bf76 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2021

  1. fix: handle classes with colons

    Class names can have `:` if they are escapped. Example: `.flex\:box`
    alan-agius4 committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    cf38bdf View commit details
    Browse the repository at this point in the history