Bug 1063265 - Stop Blinking the Text Caret when it isn't visible. r=roc

This commit is contained in:
Mason Chang 2014-09-06 12:25:00 +02:00
parent 881a3238b0
commit dcdc17025a

View File

@ -548,7 +548,7 @@ void nsCaret::ResetBlinking()
{
mIsBlinkOn = true;
if (mReadOnly) {
if (mReadOnly || !mVisible) {
StopBlinking();
return;
}