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

> @rniwa In your declarative custom element proposal, it looks like the way to define a shadow root is via Javascript: `customElements.define(..., ..., here)`. Does that mean you're definitely opposed to any way to attach a shadow root to a non-custom-element in straight HTML?

That was not the design we wanted to have. We proposed that version as a simple enough addition in v1 as opposed to adding the full declarative syntax which has been discussed numerous times in the standards groups since 2010. The real declarative syntax for custom elements shouldn't involve making `customElements.define` call in JS manually as that won't be *declarative*.

-- 
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-332045643

Received on Monday, 25 September 2017 23:50:45 UTC