зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
29d7cbcb35
Коммит
ca3ebe5c0b
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче