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

The pseudo attributes starting with ::-webkit-scrollbar-* cause error #19

Open
rmeske opened this issue Oct 27, 2014 · 0 comments
Open

Comments

@rmeske
Copy link

rmeske commented Oct 27, 2014

We use the pseudo attributes ::-webkit-scrollbar to stylize the scroll bar and found that this gives an invalid argument in the call to document.querySelectorAll(rule.selector).

We modified the function indexRules so that when the selector is extracted we remove all colons.
var selector = (parsedRule[0].trim()).replace(/:/g,'');

Not sure if this has any side effects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant