Bug 1525935 Comment 18 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

> I would expect that load is blocked on layout

You can't do that, because there may never be any layout at all (e.g. you could be a display:none iframe).

> and the fact that layout is blocked on l10n should be irrelevant

The real question is whether l10n should block the load event or not.  Generally things that kick off network loads and whatnot before the load event fires block that event firing...

> should it be triggered by load

We could do autofocus from the load event, sure, but if there's been no layout there is nothing to focus, so I suspect in this case (l10n blocking layout but not load) things would still not end up focus...
> I would expect that load is blocked on layout

You can't do that, because there may never be any layout at all (e.g. you could be a display:none iframe).

> and the fact that layout is blocked on l10n should be irrelevant

The real question is whether l10n should block the load event or not.  Generally things that kick off network loads and whatnot before the load event fires block that event firing...

> should it be triggered by load

We could do autofocus from the load event, sure, but if there's been no layout there is nothing to focus, so I suspect in this case (l10n blocking layout but not load) things would still not end up focused...

Back to Bug 1525935 Comment 18