W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > August 2012

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 16 Aug 2012 18:48:00 +0000
Message-Id: <E1T256u-0005wc-Is@jessica.w3.org>
To: public-webapps-bugzilla@w3.org

--- 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

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:04:25 UTC