temp fix bug 80352 untill simon@softel.co.il come out the real fix

We cannot pass in PR_TRUE to force reflow here. Otherwise, we will incrase stylechange reflow right after
we visit a link from a page which have frameset or iframe
r/sr=vidur sr=jst
This commit is contained in:
ftang%netscape.com 2001-05-15 12:13:57 +00:00
Родитель 29d7cbcb35
Коммит ca3ebe5c0b
2 изменённых файлов: 12 добавлений и 0 удалений

Просмотреть файл

@ -4928,7 +4928,13 @@ NS_IMETHODIMP DocumentViewerImpl::SetBidiOptions(PRUint32 aBidiOptions)
{
#ifdef IBMBIDI
if (mPresContext) {
#if 1
// forcing reflow will cause bug 80352. Temp turn off force reflow and
// wait for simon@softel.co.il to find the real solution
mPresContext->SetBidi(aBidiOptions, PR_FALSE);
#else
mPresContext->SetBidi(aBidiOptions, PR_TRUE); // force reflow
#endif
}
// now set bidi on all children of mContainer
CallChildren(SetChildBidiOptions, (void*) aBidiOptions);

Просмотреть файл

@ -4928,7 +4928,13 @@ NS_IMETHODIMP DocumentViewerImpl::SetBidiOptions(PRUint32 aBidiOptions)
{
#ifdef IBMBIDI
if (mPresContext) {
#if 1
// forcing reflow will cause bug 80352. Temp turn off force reflow and
// wait for simon@softel.co.il to find the real solution
mPresContext->SetBidi(aBidiOptions, PR_FALSE);
#else
mPresContext->SetBidi(aBidiOptions, PR_TRUE); // force reflow
#endif
}
// now set bidi on all children of mContainer
CallChildren(SetChildBidiOptions, (void*) aBidiOptions);