On Mon, Aug 3, 2015 at 12:37 AM, Jonas Sicking <[email protected]> wrote:

> On Mon, Aug 3, 2015 at 12:32 AM, Anne van Kesteren <[email protected]>
> wrote:
> > On Mon, Aug 3, 2015 at 9:23 AM, Jonas Sicking <[email protected]> wrote:
> >> I think something like a <meta name="do-not-render"> might be a
> >> simpler solution here. Coupled with either simply removing the <meta>
> >> from the DOM, or having a function which indicates that rendering is
> >> ok.
> >
> > Neither of those deal well with multiple libraries being included in
> > the page, which is likely going forward with custom elements et al.
>
> I suspect it's better for the various components to indicate when they
> are done loading and let the page indicate which components are
> critical, and which ones aren't.
>

Agreed. I think it would be very strange for a library to block all
rendering. The <meta> tag (with removal to indicate readiness) sounds good
to me - then we don't even need a separate event.
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to