зеркало из https://github.com/mozilla/pjs.git
Don't resolve bidi paragraph in preformatted text until we really get to the end of the line. Bug 670226, r=roc
This commit is contained in:
Родитель
0ae6d3eeed
Коммит
060fccf93b
|
@ -817,8 +817,13 @@ nsBidiPresUtils::TraverseFrames(nsBlockFrame* aBlockFrame,
|
|||
NS_MIN(end, endLine) - start));
|
||||
}
|
||||
|
||||
if (end < endLine) {
|
||||
mPrevContent = nsnull;
|
||||
break;
|
||||
}
|
||||
|
||||
PRBool createdContinuation = PR_FALSE;
|
||||
if (end >= endLine && PRUint32(endLine) < text.Length()) {
|
||||
if (PRUint32(endLine) < text.Length()) {
|
||||
/*
|
||||
* Timing is everything here: if the frame already has a bidi
|
||||
* continuation, we need to make the continuation fluid *before*
|
||||
|
|
Загрузка…
Ссылка в новой задаче