mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Zero the saved frame when creating a new line iterator for a new column. Bug 695861, r=roc
This commit is contained in:
parent
65c8b48385
commit
47095245f8
9
layout/base/crashtests/695861.html
Normal file
9
layout/base/crashtests/695861.html
Normal file
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user