зеркало из https://github.com/mozilla/gecko-dev.git
Bug #282506 --> Inline spell check words go blank while message is being sent
because the text frame is hiding selection text for disabled text nodes. We should never hide the selection if it is of type spellcheck. sr=dbaron
This commit is contained in:
Родитель
ddab8fa00e
Коммит
290343e6a9
|
@ -3384,7 +3384,7 @@ nsTextFrame::PaintAsciiText(nsPresContext* aPresContext,
|
|||
sdptr = sdptr->mNext;
|
||||
}
|
||||
|
||||
if (!hideStandardSelection) {
|
||||
if (!hideStandardSelection || displaySelection) {
|
||||
//ITS OK TO CAST HERE THE RESULT WE USE WILLNOT DO BAD CONVERSION
|
||||
DrawSelectionIterator iter(content, details,(PRUnichar *)text,(PRUint32)textLength,aTextStyle,
|
||||
selectionValue, aPresContext, mStyleContext);
|
||||
|
|
Загрузка…
Ссылка в новой задаче