[Webkit-unassigned] [Bug 66287] Element without renderer as documentElement triggers NULL ptr

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 19 01:45:23 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=66287





--- Comment #5 from Hyungwook Lee <withlhw at gmail.com>  2011-08-19 01:45:23 PST ---
The WebKit browser automatically put <html>, <head>, <body> element in HTML tree builder.

But in this case, We remove all childs such as <html> by "document.open();" DOM API after page loads.

When we call "document.insertBefore(oHead, null);", the document doens't has any childs.
Hence, <head> element be inserted into the first child position of the document and then it gonna be document element which doens't not has its own renderer.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list