Skip to content

Commit

Permalink
Exclude ::-webkit-slider-thumb pseudo-element from rewrites
Browse files Browse the repository at this point in the history
  • Loading branch information
m-akinc committed Feb 10, 2024
1 parent fea4ea7 commit 80335de
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 80335de

Please sign in to comment.