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

One interesting question about the proposal is how does it affect all the other weird html parsing things like table fixups and what not. If I have `<template shadowroot="open"><td>Foo</td></template>`, what is the final dom?

(Other than that kind of stuff, I agree that this is something worth addressing)

Also, it seems a bit weird/unfortunate that you are forced to have a template for every shadow host, when I assume the common thing for a given component is to always have the same shadow root... But I don't have a great solution for that off-hand, maybe you should be able to reference a template from the host by ID? Something else?

cc @hsivonen @smaug---- @edgarchen

-- 
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/831#issuecomment-583957526

Received on Monday, 10 February 2020 05:08:04 UTC