if (mTypes? (mTypes[mCurrentIdx] | nsISelectionController::SELECTION_NORMAL): (mCurrentIdx == (PRUint32)mDetails->mStart)) {
if (mTypes? (mTypes[mCurrentIdx] & nsISelectionController::SELECTION_NORMAL): (mCurrentIdx == (PRUint32)mDetails->mStart)) {
DrawSelectionIterator::CurrentBackGroundColor(nscolor &aColor, PRBool *aIsTransparent){   //Find color based on mTypes[mCurrentIdx];  *aIsTransparent = PR_FALSE;  if (mTypes? (mTypes[mCurrentIdx] | nsISelectionController::SELECTION_NORMAL): (mCurrentIdx == (PRUint32)mDetails->mStart)) {    aColor = mOldStyle.mSelectionBGColor;    if (mSelectionPseudoStyle) {      aColor = mSelectionPseudoBGcolor;      *aIsTransparent = mSelectionPseudoBGIsTransparent;    }    if (mSelectionStatus==nsISelectionController::SELECTION_ATTENTION)      aColor = mAttentionColor;    else if (mSelectionStatus != nsISelectionController::SELECTION_ON)      aColor = mDisabledColor;    return PR_TRUE;  }  return PR_FALSE;}