[webkit-dev] strange problem when inserting nodes to DOM tree

Luka Napotnik luka.napotnik at gmail.com
Thu Aug 6 07:35:57 PDT 2009


Hello.

I have strange problems when HTMLParser tries to insert new nodes. And
as a result, the HTML page isn't rendered correctly. The
ContainerNode::addChild() returns NULL on "#text" and "HTML" nodes.

The second problem is in HTMLParser::parseToken(). There's a token
that gets into the parseToken() method which contains basically the
whole HTML page without the HTML tag elements. So it looks parsed and
includes javascript code that is a part of the HTML page.

Any ideas on what's going on or what could cause this action?

Greets,
Luka


More information about the webkit-dev mailing list