• hyatt's avatar
    Move text measurement and layout beyond onload. This · 5159d9c2
    hyatt authored
    	shoudl speed up i-bench substantially and morrison's
    	PLT test slightly.
    
    	Also allow <table>s as children of <p> and <h1>-<h6>.
    	This fixes floats on slashdot.org (the left side) and
    	the floating tables in articles on wired.com.
    
            * khtml/html/dtd.cpp:
            (DOM::checkChild):
            * khtml/html/html_documentimpl.cpp:
            (HTMLDocumentImpl::HTMLDocumentImpl):
            (HTMLDocumentImpl::close):
            * khtml/html/html_documentimpl.h:
            * khtml/html/htmlparser.cpp:
            (KHTMLParser::insertNode):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2680 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    5159d9c2
dtd.cpp 24.1 KB