<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><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> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - ::slotted doesn't work in nested shadow trees"
href="https://bugs.webkit.org/show_bug.cgi?id=154765">bug 154765</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Attachment #272449 Flags</td>
<td>review?
</td>
<td>review+
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - ::slotted doesn't work in nested shadow trees"
href="https://bugs.webkit.org/show_bug.cgi?id=154765#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - ::slotted doesn't work in nested shadow trees"
href="https://bugs.webkit.org/show_bug.cgi?id=154765">bug 154765</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>Comment on <span class=""><a href="attachment.cgi?id=272449&action=diff" name="attach_272449" title="patch">attachment 272449</a> <a href="attachment.cgi?id=272449&action=edit" title="patch">[details]</a></span>
patch
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=272449&action=review">https://bugs.webkit.org/attachment.cgi?id=272449&action=review</a>
<span class="quote">>> LayoutTests/fast/shadow-dom/css-scoping-shadow-slotted-nested.html:55
>> + outerShadow.appendChild(document.getElementById('outer-host-template').content.cloneNode(true));
>
> BTW, I feel the current set of specs desperately needs a declarative way to attach shadow based on a template. Something like <outer-host shadow="outer-host-template"> to replace all this boilerplate.</span >
Indeed. We've suggested that three years but we've agreed to punt it in v1 so I guess that's that :(
It's really silly that attachShadow or defineElement doesn't take an optional argument though.
e.g.
document.defineElement('my-element', MyElementClass, {template: MyElementClass.template});
would go a long way to simplify this whole setup.</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>