We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Issue reported: mozilla#444 Reported by: @chadananda
querySelectorAll is being called with a raw id value. This will not work with HTML5 style ids which are not CSS compatible.
For example, simply using a simple numeric id (id='1') results in the error:
Uncaught SyntaxError: Failed to execute 'querySelectorAll' on 'Document': '#1 ' is not a valid selector.
An official css.escape() method is in the works http://dev.w3.org/csswg/cssom/#the-css.escape%28%29-method
Meanwhile, Mathias Bynens has provided a polyfill: https://github.com/mathiasbynens/CSS.escape
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue reported: mozilla#444
Reported by: @chadananda
querySelectorAll is being called with a raw id value. This will not work with HTML5 style ids which are not CSS compatible.
For example, simply using a simple numeric id (id='1') results in the error:
Uncaught SyntaxError: Failed to execute 'querySelectorAll' on 'Document': '#1 ' is not a valid selector.
An official css.escape() method is in the works
http://dev.w3.org/csswg/cssom/#the-css.escape%28%29-method
Meanwhile, Mathias Bynens has provided a polyfill:
https://github.com/mathiasbynens/CSS.escape
The text was updated successfully, but these errors were encountered: