[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

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 UTC