Bug 1087845 - Dispatch the visually complete event after the inserted DOM is localized

https://bugzilla.mozilla.org/show_bug.cgi?id=1087845