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:33:54 +0000
Message-Id: <E1T24tG-00056n-Fe@jessica.w3.org>
To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16341

Rafael Weinstein <rafaelw@chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rafaelw@chromium.org,
                   |                            |tross@microsoft.com
            Summary|[Templates]: Add the        |[Templates]:
                   |desired property of keeping |[Non-normative] Clarify
                   |template contents out of    |that template contents
                   |document traversal and      |cannot be matched against
                   |selectors                   |"selector" queries in their
                   |                            |host documents.

--- Comment #1 from Rafael Weinstein <rafaelw@chromium.org> 2012-08-16 18:33:54 UTC ---
E.g.

document.getElementByTagName("div") won't match div.id == 'foo'.

<template>
  <div id="foo">
</template>

this applies to getElementById, querySelector, querySelectorAll,
getElementsByTagName, etc...

One challenge this presents is that DocumentFragment doesn't hvave th

-- 
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:33:55 GMT

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