You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 29, 2018. It is now read-only.
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: