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:41:25 +0000
Message-Id: <E1T250X-0005fx-0I@jessica.w3.org>
To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16341

--- Comment #3 from Tony Ross [MSFT] <tross@microsoft.com> 2012-08-16 18:41:24 UTC ---
(In reply to comment #2)
> [continued]
> 
> One challenge is that while DocumentFragment does have querySelector(All), it
> doesn't have getElement(s)By*. I don't see why it couldn't, but it doesn't
> currently.
> 
> I'm actually ok with this. querySelectorAll is sufficient for any need. I'm
> happy filing bugs to add more API to DF later if need be.

I'd favor enhancing DocumentFragment itself (so sounds like a good bug for
DOM4). This would also remove the need to separately declare getElementById and
friends on the ShadowRoot interface in the Shadom DOM spec.

-- 
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:41:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 16 August 2012 18:41:34 GMT