[Bug 16787] [Templates]: Specify that XML parsing doesn't do anything special with <template>

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

--- Comment #3 from Rafael Weinstein <rafaelw@chromium.org> 2012-10-04 00:03:32 UTC ---
@Samuel, in XHTML, the template element will behave the same placed in the DOM,
however, the difference is that XML parser allows for no element-specific
parsing behavior, thus the XML parser is incapable of directing tokens to the
|content| of the template.

Thus, the following:

<template><div></div></template>

when served in XHTML will produce a template with a div firstChild, where as
HTML will produce a template with no children and a |content| DocumentFragment
with a div as its firstChild.

-- 
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, 4 October 2012 00:03:34 UTC