Skip to content

Commit

Permalink
Merge pull request #104 from m-akinc/handle-other-webkit-pseudo-element
Browse files Browse the repository at this point in the history
Exclude ::-webkit-slider-thumb pseudo-element from rewrites
  • Loading branch information
ghengeveld authored Mar 4, 2024
2 parents db41072 + 80335de commit bb9fe1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const PARAM_KEY = "pseudo"

// Pseudo-elements which are not allowed to have classes applied on them
// E.g. ::-webkit-scrollbar-thumb.pseudo-hover is not a valid selector
export const EXCLUDED_PSEUDO_ELEMENTS = ["::-webkit-scrollbar-thumb"]
export const EXCLUDED_PSEUDO_ELEMENTS = ["::-webkit-scrollbar-thumb", "::-webkit-slider-thumb"]

// Dynamic pseudo-classes
// @see https://www.w3.org/TR/2018/REC-selectors-3-20181106/#dynamic-pseudos
Expand Down

0 comments on commit bb9fe1d

Please sign in to comment.