Re: [whatwg/dom] Declarative Shadow DOM (#510)

Since the list of allowed contexts doesn't contain any elements that require parser insertion mode adjustment it seems like we don't need `<template>` machinery for the `<shadowroot>` at all. From the first sight we just need to add amendments to node insertions logic, like we have for foster parenting at the moment: https://html.spec.whatwg.org/multipage/parsing.html#foster-parent, make `<shadowroot>` a [scoping element](https://html.spec.whatwg.org/multipage/parsing.html#has-an-element-in-scope), move to it to special category and maintain a stack of insertion points for nested roots.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/510#issuecomment-330546229

Received on Tuesday, 19 September 2017 13:53:59 UTC