Bug 833870 - Avoid hacking document style when translating html files.

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