The html parser now sends the intended parent when requesting a new
element to be created. This will ensure that elements are created using
the proper document.