Re: [whatwg/dom] querySelector/All can accidentally return the scoping element (#263)

Yes. It's what was (intentionally!) used for `<style scoped>`, and if you use a relative selector (like .query()), it gets taken care of automatically (you'll only ever select the scoping element if you do it on purpose).

It's just this case, with an absolute selector that still wants to act kinda like a relative selector, that's problematic.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/263#issuecomment-224760671

Received on Wednesday, 8 June 2016 23:23:49 UTC