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:
7
mozilla/layout/generic/crashtests/404140-1.html
Normal file
7
mozilla/layout/generic/crashtests/404140-1.html
Normal 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>
|
||||
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user