зеркало из https://github.com/mozilla/pjs.git
Zero the saved frame when creating a new line iterator for a new column. Bug 695861, r=roc
This commit is contained in:
Родитель
2aebf9cdf8
Коммит
50ed6f94a5
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body onload="document.documentElement.offsetHeight; document.getElementById('s').style.textTransform='uppercase'; document.documentElement.offsetHeight; ">
|
||||
|
||||
<div style="white-space: pre-wrap; -moz-column-count: 2;"><span id="s" style="unicode-bidi: -moz-isolate;">
|
||||
<div style="direction: rtl;"></div></span></div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -343,3 +343,4 @@ load 665837.html
|
|||
load 668941.xhtml
|
||||
load 670226.html
|
||||
asserts(2) load 675246-1.xhtml # Bug 675713
|
||||
load 695861.html
|
||||
|
|
|
@ -643,6 +643,7 @@ nsBidiPresUtils::Resolve(nsBlockFrame* aBlockFrame)
|
|||
block->RemoveStateBits(NS_BLOCK_NEEDS_BIDI_RESOLUTION);
|
||||
nsBlockInFlowLineIterator lineIter(block, block->begin_lines(), false);
|
||||
bpd.mPrevFrame = nsnull;
|
||||
bpd.GetSubParagraph()->mPrevFrame = nsnull;
|
||||
TraverseFrames(aBlockFrame, &lineIter, block->GetFirstPrincipalChild(), &bpd);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче