[Webkit-unassigned] [Bug 154765] ::slotted doesn't work in nested shadow trees
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Feb 28 06:53:57 PST 2016
https://bugs.webkit.org/show_bug.cgi?id=154765
--- Comment #8 from Antti Koivisto <koivisto at iki.fi> ---
Comment on attachment 272449
--> https://bugs.webkit.org/attachment.cgi?id=272449
patch
View in context: https://bugs.webkit.org/attachment.cgi?id=272449&action=review
> LayoutTests/fast/shadow-dom/css-scoping-shadow-slotted-nested.html:55
> + var outerHost = document.querySelector('outer-host');
> + outerShadow = outerHost.attachShadow({mode: 'closed'});
> + 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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160228/7ce0f4fa/attachment-0001.html>
More information about the webkit-unassigned
mailing list