- From: Anne van Kesteren <notifications@github.com>
- Date: Thu, 30 Jul 2015 00:28:56 -0700
- To: whatwg/dom <dom@noreply.github.com>
Received on Thursday, 30 July 2015 07:29:32 UTC
1. I think we're avoiding a `Selector` object because implementations intern the string version anyway, so there's not really anything meaningful to be gained. 2. Is null better than the empty string? Also, we could update `matches()`, `qS()`, and `qSA()`, but I doubt the user agent will know when they're passed a "clean selector" so you'll still have the perf-cost from them potentially throwing. But it might be nice for authors to recognize null/the empty string there. 3. `q()` and `qA()` can of course do the right thing either way with support for a "clean selector". --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/39#issuecomment-126208821
Received on Thursday, 30 July 2015 07:29:32 UTC