зеркало из https://github.com/mozilla/gecko-dev.git
Fixing bug in the incremental layout notification code in the sink (no bug #). The sink context was calling DidAddContent() before decrementing the mInMonolithicContainer member in the sink if we were closing a monolithic container. This made the document never incrementally reflow changes after closing a monolithic container. Fix done by Vidur, sr=vidur@netscape.com/jst@netscape.com, r=harishd@netscape.com
This commit is contained in:
Родитель
c2ffe7fa93
Коммит
fd3dbdee7e
|
@ -1525,12 +1525,12 @@ SinkContext::CloseContainer(const nsIParserNode& aNode)
|
|||
mNotifyLevel = mStackPos-1;
|
||||
}
|
||||
|
||||
DidAddContent(content, PR_FALSE);
|
||||
|
||||
if (mSink->IsMonolithicContainer(nodeType)) {
|
||||
--mSink->mInMonolithicContainer;
|
||||
}
|
||||
|
||||
DidAddContent(content, PR_FALSE);
|
||||
|
||||
// Special handling for certain tags
|
||||
switch (nodeType) {
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче