[Bug 16341] [Templates]: [Non-normative] Clarify that template contents cannot be matched against "selector" queries in their host documents.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16341

--- Comment #4 from Rafael Weinstein <rafaelw@chromium.org> 2012-08-16 18:48:00 UTC ---
So I just asked Ojan about this and the reasoning that this hasn't been done
yet is that getElementsBy* return live node lists while querySelectorAll
returns a static node list, which is preferred now. So basically, the sentiment
is to encourage the use of querySelector* vs getElementsBy*. I'm fine with
this. I suppose we could add getElementById if we thought it was really
important.

Obviously, everything can be accomplished with selectors, but that's not
obvious to alot of webdevs.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 16 August 2012 18:48:01 UTC