mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Bug 274857 Pressing Ctrl+Backspace twice in an RTL textarea crashes the browser
r=roc sr=roc
This commit is contained in:
parent
3014f0bbad
commit
f5d4c7abbd
@ -4059,6 +4059,10 @@ nsFrame::GetFrameFromDirection(nsPresContext* aPresContext, nsPeekOffsetStruct *
|
||||
if (aPos->mDirection == eDirNext)
|
||||
{
|
||||
aPos->mPreferLeft = (PRBool)!(aPos->mPreferLeft);//drift to other side
|
||||
#ifdef IBMBIDI
|
||||
if (lineIsRTL)
|
||||
aPos->mAmount = eSelectNoAmount;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user