зеркало из https://github.com/mozilla/pjs.git
Disable parts of the patch for bug 307875 to fix the caret & IME regressions in bug 310227 and bug 310318, r+sr=bz
This commit is contained in:
Родитель
d910a57b16
Коммит
b4f25477b2
|
@ -3660,8 +3660,10 @@ nsTextFrame::SetSelected(nsPresContext* aPresContext,
|
|||
nsSpread aSpread)
|
||||
{
|
||||
DEBUG_VERIFY_NOT_DIRTY(mState);
|
||||
#if 0 //XXXrbs disable due to bug 310318
|
||||
if (mState & NS_FRAME_IS_DIRTY)
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
#endif
|
||||
|
||||
if (aSelected && ParentDisablesSelection())
|
||||
return NS_OK;
|
||||
|
@ -3927,8 +3929,10 @@ nsTextFrame::GetChildFrameContainingOffset(PRInt32 inContentOffset,
|
|||
nsIFrame **outChildFrame)
|
||||
{
|
||||
DEBUG_VERIFY_NOT_DIRTY(mState);
|
||||
#if 0 //XXXrbs disable due to bug 310227
|
||||
if (mState & NS_FRAME_IS_DIRTY)
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
#endif
|
||||
|
||||
if (nsnull == outChildFrame)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
|
|
Загрузка…
Ссылка в новой задаче