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:
rbs%maths.uq.edu.au 2005-10-01 05:17:20 +00:00
parent 43b0384f31
commit da44abd930

View File

@ -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;