<div dir="ltr">I have successfully imported all W3C tests for the template element as of <a href="http://trac.webkit.org/changeset/160037" target="_blank">http://trac.webkit.org/changeset/160037</a>.<div><div><br></div><div>

In fact, WebKit is the first major Web browser engine to pass all the tests.</div></div><div><br></div><div>With the only remaining issue (in form control association) pending on a HTML5 parser change: <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-December/041682.html">http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-December/041682.html</a> and existing on both Gecko and Blink, I&#39;m enabling the feature on all ports by default now.</div>

<div><br></div><div class="gmail_extra"><div>- R. Niwa</div>
<br><div class="gmail_quote">On Wed, Nov 20, 2013 at 1:20 AM, Ryosuke Niwa <span dir="ltr">&lt;<a href="mailto:rniwa@webkit.org" target="_blank">rniwa@webkit.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr">Hi all,<div><br></div><div>I&#39;m going to enable the template element by default in <a href="https://bugs.webkit.org/show_bug.cgi?id=123851" target="_blank">https://bugs.webkit.org/show_bug.cgi?id=123851</a> on all ports.</div>


<div><br></div><div><div>HTMLTemplateElement has been shipped by Chrome and Firefox for a while</div><div>and the specification has been quite stable at this point: <a href="http://www.w3.org/TR/html-templates/" target="_blank">http://www.w3.org/TR/html-templates/</a></div>


<div><br></div><div>The feature adds the minimum amount of changes to the HTML parser to allow JS libraries to work-around HTML parser quirkiness such as tr being removed outside of table element.</div><div><br></div><div>


I&#39;m merging Blink patches for the template element I could find so that we interoperate before enabling it by default.  You can see the blockers on the bug to see those patches.</div><div><br></div><div>I&#39;ll check if we can get more tests from Microsoft/Mozilla/Opera via W3C, and will import them as needed.</div>


<div><br></div></div><div><div>- R. Niwa</div><div><br></div>
</div></div>
</blockquote></div><br></div></div>