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

document.querySelector containing ::shadow fails in Firefox 30 #551

Closed
xamoom-bruno opened this issue Jun 27, 2014 · 1 comment
Closed

Comments

@xamoom-bruno
Copy link

document.querySelector("core-scroll-header-panel::shadow #headerBg");

This for example works great in the latest version of Chrome, it fails in Firefox with the following error.

SyntaxError: An invalid or illegal string was specified

document.querySelector does work in Firefox as long as the selector does not contain "::shadow".

Is there a work arround for this?

@arv
Copy link
Contributor

arv commented Jun 27, 2014

@arv arv closed this as completed Jun 27, 2014
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

2 participants