Improve responsiveness by being willing to break out of the tokenizer. (This patch was landed already
and subsequently backed out).
Reviewed by kocienda
* khtml/html/html_baseimpl.cpp:
(HTMLBodyElementImpl::insertedIntoDocument):
* khtml/html/htmltokenizer.cpp:
(khtml::HTMLTokenizer::reset):
(khtml::HTMLTokenizer::scriptHandler):
(khtml::HTMLTokenizer::scriptExecution):
(khtml::HTMLTokenizer::write):
(khtml::HTMLTokenizer::continueProcessing):
(khtml::HTMLTokenizer::timerEvent):
(khtml::HTMLTokenizer::notifyFinished):
* khtml/html/htmltokenizer.h:
* khtml/khtmlview.cpp:
(KHTMLViewPrivate::KHTMLViewPrivate):
(KHTMLViewPrivate::reset):
(KHTMLView::clear):
(KHTMLView::layout):
(KHTMLView::timerEvent):
(KHTMLView::scheduleRelayout):
(KHTMLView::layoutPending):
(KHTMLView::haveDelayedLayoutScheduled):
(KHTMLView::unscheduleRelayout):
* khtml/khtmlview.h:
* khtml/xml/dom_docimpl.cpp:
(DocumentImpl::DocumentImpl):
(DocumentImpl::close):
(DocumentImpl::setParsing):
(DocumentImpl::shouldScheduleLayout):
(DocumentImpl::minimumLayoutDelay):
(DocumentImpl::write):
(DocumentImpl::finishParsing):
(DocumentImpl::stylesheetLoaded):
(DocumentImpl::updateStyleSelector):
* khtml/xml/dom_docimpl.h:
(DOM::DocumentImpl::parsing):
* kwq/KWQDateTime.mm:
(KWQUIEventTime::uiEventPending):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8031
268f45cc-cd09-0410-ab3c-
d52691b4dbfc