зеркало из https://github.com/mozilla/pjs.git
Bug 133874: Remove link URL from status bar on blur.
r=Olli.Pettay sr=sicking
This commit is contained in:
Родитель
96bf6defd0
Коммит
96e3153c51
|
@ -1584,6 +1584,7 @@ nsGenericHTMLElement::PostHandleEventForAnchors(nsEventChainPostVisitor& aVisito
|
|||
// Set the status bar the same for focus and mouseover
|
||||
case NS_MOUSE_ENTER_SYNTH:
|
||||
aVisitor.mEventStatus = nsEventStatus_eConsumeNoDefault;
|
||||
// FALL THROUGH
|
||||
case NS_FOCUS_CONTENT:
|
||||
{
|
||||
nsAutoString target;
|
||||
|
@ -1597,11 +1598,13 @@ nsGenericHTMLElement::PostHandleEventForAnchors(nsEventChainPostVisitor& aVisito
|
|||
break;
|
||||
|
||||
case NS_MOUSE_EXIT_SYNTH:
|
||||
{
|
||||
aVisitor.mEventStatus = nsEventStatus_eConsumeNoDefault;
|
||||
rv = LeaveLink(aVisitor.mPresContext);
|
||||
}
|
||||
break;
|
||||
break;
|
||||
|
||||
case NS_BLUR_CONTENT:
|
||||
rv = LeaveLink(aVisitor.mPresContext);
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
|
|
Загрузка…
Ссылка в новой задаче