- From: ojan <notifications@github.com>
- Date: Mon, 07 Mar 2016 23:43:19 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Tuesday, 8 March 2016 07:44:01 UTC
We have ample evidence that almost every custom element authors create is a block. So, it's a shame for ergonomics to force them to specify it. It's also a shame for custom elements to require a style element just for this one rule. My experience is that it's quite common for this to be the only style rule in a custom element. Aside from ergonomics, the extra style element has real performance overhead. Even just having the extra style node to do style recalc on ads up when every element on your page is a custom element. You have 2x the DOM for 1x the necessary DOM. Let's make authors lives a easier and avoid this. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/224#issuecomment-193651565
Received on Tuesday, 8 March 2016 07:44:01 UTC