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
The effect of CSS.escape() will return the following string for elements where value is a number.
It cannot be queried with document.querySelector and returns null.
I'd say that the value of an <input /> element should not be used in attribute selector. And I think same should go for <option />. I will add a condition that will reject them as candidates.
I don’t think this is the correct fix, [value="9659985"] works. I think CSS.escape should not be run on attribute selectors, I think you only need to escape the specific quote you're using to wrap the value.
An invalid selector string containing attribute is created for the following elements.
The effect of CSS.escape() will return the following string for elements where value is a number.
It cannot be queried with document.querySelector and returns null.
I can make the PR if your want to.
Regards
The text was updated successfully, but these errors were encountered: