Jacek Caban : mshtml: Moved state flags to HTMLDocumentObj.