mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix very long-standing bug with incorrect insertion indices reported by the HTML content sink. Bug 404553, r+sr=peterv, a=schrep
This commit is contained in:
parent
7e6f8996ee
commit
fff5ab679b
@ -1391,7 +1391,7 @@ SinkContext::FlushTags()
|
||||
nsIContent* child = mStack[stackPos + 1].mContent;
|
||||
mSink->NotifyInsert(content,
|
||||
child,
|
||||
mStack[stackPos].mInsertionPoint);
|
||||
mStack[stackPos].mInsertionPoint - 1);
|
||||
} else {
|
||||
mSink->NotifyAppend(content, mStack[stackPos].mNumFlushed);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user