[csswg-drafts] [selectors] querySelector() with quote and/or square bracket missing on right

ewilligers has just created a new issue for https://github.com/w3c/csswg-drafts:

== [selectors] querySelector() with quote and/or square bracket missing on right ==
(From Chrome [bug](https://bugs.chromium.org/p/chromium/issues/detail?id=779942))

The call
```
// double quote and square bracket on the right side was missing.
document.querySelector('meta[name="description');
```
succeeds on Chrome/Edge/Firefox and fails on Safari.

Does the spec specify which behavior is correct?

We should have a web platform test. Apart from a DOM [test](https://github.com/w3c/web-platform-tests/blob/master/dom/nodes/ParentNode-querySelector-All.html
), querySelector[All] doesn't appear to have tests.



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1933 using your GitHub account

Received on Friday, 3 November 2017 17:35:50 UTC