This is the usual starting point for tree resolve.
Created attachment 208524 [details] patch
Comment on attachment 208524 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=208524&action=review r=me > Source/WebCore/style/StyleResolveTree.cpp:299 > + for (Node* child = document->firstChild(); child; child = child->nextSibling()) { > + if (!child->isElementNode()) > + continue; > + Element* elementChild = toElement(child); We should make ElementTraversal support this case.
http://trac.webkit.org/changeset/153938