Bug 404140. Avoid assertions about comparing line iterators from different lists by comparing nsLineBox* pointers. r+sr=dbaron

git-svn-id: svn://10.0.0.236/trunk@247805 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
roc+%cs.cmu.edu
2008-03-14 08:12:26 +00:00
parent 0082efdd7e
commit 0bc07a5e0f
3 changed files with 9 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
<!DOCTYPE HTML>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head><body onload="document.body.style.height = '2px';" style="float: right; height: 2px; -moz-column-width: 0pt;">
<div style="overflow: -moz-hidden-unscrollable;">a b</div>
</body></html>

View File

@@ -85,6 +85,7 @@ load 398181-1.html
load 398181-2.html
load 400232-1.html
load 403576-1.html
load 404140-1.html
load 404146-1.html
load 404204-1.html
load 406380.html

View File

@@ -964,7 +964,7 @@ BuildTextRuns(gfxContext* aContext, nsTextFrame* aForFrame,
scanner.ScanFrame(child);
child = child->GetNextSibling();
}
if (forwardIterator.GetContainer() == aLineContainer && line == startLine) {
if (line.get() == startLine.get()) {
seenStartLine = PR_TRUE;
}
if (seenStartLine) {