- From: Jan Miksovsky <notifications@github.com>
- Date: Mon, 07 Mar 2016 16:39:21 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Tuesday, 8 March 2016 00:40:15 UTC
Wouldn't a global rule like `:potentiallycustom { display: block; }` mean that elements that *want* to be `display: inline-block` will still cause FOUC? Same thing for elements that want to be `flex`, etc. If you're using custom elements from mixture of sources, there's no way to anticipate the `display` setting desired by each element. We agree that `display: block` is very common, but it's not universal. FWIW, in practice nearly every element we create includes a shadow tree, so to prevent FOUC we end up needing to hide unresolved elements anyway. So point #1 hasn't been an issue for us. By the time the element is visible, it's applied its desired `display` setting. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/224#issuecomment-193527875
Received on Tuesday, 8 March 2016 00:40:15 UTC