<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - JS implementation of TemplatePart"
href="https://bugs.webkit.org/show_bug.cgi?id=167135#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - JS implementation of TemplatePart"
href="https://bugs.webkit.org/show_bug.cgi?id=167135">bug 167135</a>
from <span class="vcard"><a class="email" href="mailto:rniwa@webkit.org" title="Ryosuke Niwa <rniwa@webkit.org>"> <span class="fn">Ryosuke Niwa</span></a>
</span></b>
<pre>WebIDL:
callback TemplateProcessor = void (TemplateInstance instance, sequence<TemplatePart> parts, any parameters);
interface TemplatePart {
stringier attribute DOMString value;
readonly attribute DOMString expression;
}
interface AttributeTemplatePart : TemplatePart {
}
interface NodeTemplatePart : TemplatePart {
void replace(sequence<Node>);
void replaceHTML(DOMString html);
}
partial interface HTMLTemplateElement {
TemplateInstance createInstance(any parameters, optional TemplateProcessor processor);
}
interface TemplateInstance : DocumentFragment {
void update(any parameters);
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>