mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
7ed9862dea
commit
036c9171d0
@ -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*
|
||||
|
Loading…
Reference in New Issue
Block a user