Bug 1661544 Comment 7 Edit History

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

I have a fairly straightforward fix for this, but not that it does not fix the related case where there is a meta-viewport tag with an explicit width. In that case, `innerWidth` may be evaluated before the `DOMMetaAdded` event for the meta-viewport tag arrives, in which case the info from the tag isn't available yet.
I have a fairly straightforward fix for this, but note that it does not fix the related case where there is a meta-viewport tag with an explicit width. In that case, `innerWidth` may be evaluated before the `DOMMetaAdded` event for the meta-viewport tag arrives, in which case the info from the tag isn't available yet.

Back to Bug 1661544 Comment 7