Bug 413844. F6 doesn't switch between content and location bar anymore. r=mano, a=dsicore

This commit is contained in:
aaronleventhal@moonset.net 2008-01-29 20:24:08 -08:00
Родитель d709d02a70
Коммит c30679524c
4 изменённых файлов: 6 добавлений и 5 удалений

Просмотреть файл

@ -273,9 +273,13 @@
oninput="URLBarOnInput(event);"
ontextentered="return handleURLBarCommand(param);"
ontextreverted="return handleURLBarRevert();"
pageproxystate="invalid">
pageproxystate="invalid"
onfocus="document.getElementById('identity-box').style.MozUserFocus= 'normal'"
onblur="document.getElementById('identity-box').style.MozUserFocus = 'ignore';">
<!-- Use onclick instead of normal popup= syntax since the popup
code fires onmousedown, and hence eats our favicon drag events -->
code fires onmousedown, and hence eats our favicon drag events.
We only add the identity-box button to the tab order when the location bar
has focus, otherwise pressing F6 focuses it instead of the location bar -->
<box id="identity-box" role="button"
onclick="getIdentityHandler().handleIdentityButtonEvent(event);"
onkeypress="getIdentityHandler().handleIdentityButtonEvent(event);">

Просмотреть файл

@ -821,7 +821,6 @@ toolbar[iconsize="small"] #paste-button[disabled="true"] {
#identity-box {
background-color: -moz-dialog;
-moz-border-end: 1px solid ThreeDShadow;
-moz-user-focus: normal;
}
#identity-box:focus {

Просмотреть файл

@ -1308,7 +1308,6 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
#identity-box {
background: url("chrome://browser/skin/urlbar/startcap.png") left center no-repeat;
min-width: 42px;
-moz-user-focus: normal;
}
#identity-box:focus {

Просмотреть файл

@ -1710,7 +1710,6 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
/* currently, the identity box is always LTR */
-moz-outline-radius-topleft: 2px;
-moz-outline-radius-bottomleft: 2px;
-moz-user-focus: normal;
}
#identity-box:focus {