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

> > Recall that our position has been that people should be always using closed shadow roots, not open shadow roots.
> 
> This quite surprises me. All popular documentation on shadow roots currently says that closed shadow roots are to be avoided.

We have been pretty consistent about our position for the past 6-8 years (e.g. see [Maciej's www-style reply in 2014](https://lists.w3.org/Archives/Public/www-style/2014Feb/0225.html) for example, which references [his reply in 2012](https://lists.w3.org/Archives/Public/public-webapps/2012OctDec/0316.html)).

> IIRC even some of Apple's publicly facing statements exclusively documented open mode, though I can't find it now. (It would have been in 2016…? WWDC 2016 didn't have a "What's new in Safari" talk that year, apparently.…)
> 
> Now that I go looking, your blog post from 2015 is the only documentation I've ever seen recommending closed shadow roots.

I used closed mode by default and open mode for debugging purposes only in [my blog post in 2015](https://webkit.org/blog/4096/introducing-shadow-dom-api/) if that's what you're referring to.

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

Received on Tuesday, 11 August 2020 06:13:30 UTC