зеркало из https://github.com/mozilla/gecko-dev.git
Don't overshoot the last sibling when iterating frames. Bug 663295 (whitespace change with correct bug number)
This commit is contained in:
Родитель
e7e3561393
Коммит
ebb4d3b611
|
@ -805,7 +805,7 @@ nsBidiPresUtils::TraverseFrames(nsBlockFrame* aBlockFrame,
|
|||
* If the frame ends before the new line, save the text and move
|
||||
* into the next continuation
|
||||
*/
|
||||
while (end < endLine && nextSibling) {
|
||||
while (end < endLine && nextSibling) {
|
||||
mBuffer.Append(Substring(text, start, end - start));
|
||||
|
||||
AdvanceAndAppendFrame(&frame, aLineIter, &nextSibling);
|
||||
|
|
Загрузка…
Ссылка в новой задаче