Minor logic fix in ve.createDocumentFromHTML()

iframe.contentDocument doesn't seem to have a key called 'document' at
all; I assume a different nesting was intended.

Change-Id: Ia37e3719d5247408bac2dfad1717d9193fb84c06
Merge "Minor logic fix in ve.createDocumentFromHTML()"