I don't understand what does this have to do with XUL? The same bug might, I think, happen on HTML too.
But special casing XUL documents to wait until StartLayout() might be good enough here.
I don't understand what does this have to do with XUL? The same bug might,
I think, happen on HTML too.
But special casing XUL documents to wait until StartLayout() might be good
enough here.