Bug 204944 (a11y) - Sidebar History >View not keyboard accessible. sr=neil
git-svn-id: svn://10.0.0.236/trunk@171455 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
72349108a3
commit
b74a723586
@ -81,10 +81,9 @@
|
||||
|
||||
<hbox align="center">
|
||||
<label value="&find.label;" accesskey="&find.accesskey;" control="search-box"/>
|
||||
<textbox id="search-box" flex="1"
|
||||
type="timed" timeout="500"
|
||||
<textbox id="search-box" flex="1" type="timed" timeout="500"
|
||||
oncommand="searchHistory(gSearchBox.value);"/>
|
||||
<toolbarbutton id="viewButton" type="menu" label="&view.label;" selectedsort="day" persist="selectedsort">
|
||||
<button id="viewButton" style="min-width:0px !important;" type="menu" label="&view.label;" accesskey="w" selectedsort="day" persist="selectedsort">
|
||||
<menupopup>
|
||||
<menuitem id="bydayandsite" label="&byDayAndSite.label;" accesskey="&byDayAndSite.accesskey;" type="radio"
|
||||
oncommand="this.parentNode.parentNode.setAttribute('selectedsort', 'dayandsite'); GroupBy('dayandsite');"/>
|
||||
@ -103,7 +102,7 @@
|
||||
oncommand="this.parentNode.parentNode.setAttribute('selectedsort', 'lastvisited');
|
||||
GroupBy('lastvisited');"/>
|
||||
</menupopup>
|
||||
</toolbarbutton>
|
||||
</button>
|
||||
</hbox>
|
||||
<tree id="historyTree" flex="1" class="plain"
|
||||
context="historyContextMenu" seltype="multiple"
|
||||
|
||||
@ -205,7 +205,12 @@
|
||||
</children>
|
||||
</xul:hbox>
|
||||
</content>
|
||||
</binding>
|
||||
|
||||
<handlers>
|
||||
<handler event="keypress" keycode="VK_RETURN" action="this.open = true;"/>
|
||||
<handler event="keypress" key=" " action="this.open = true;"/>
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
<binding id="menu-button-base"
|
||||
extends="chrome://global/content/bindings/button.xml#button-base">
|
||||
|
||||
@ -147,6 +147,8 @@ button[type="menu-button"] {
|
||||
.button-menubutton-dropmarker {
|
||||
margin: 1px;
|
||||
background-image: url("chrome://global/skin/arrow/arrow-dn.gif");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
min-width:11px;
|
||||
min-height:11px;
|
||||
}
|
||||
|
||||
@ -219,7 +219,12 @@
|
||||
</children>
|
||||
</xul:hbox>
|
||||
</content>
|
||||
</binding>
|
||||
|
||||
<handlers>
|
||||
<handler event="keypress" keycode="VK_RETURN" action="this.open = true;"/>
|
||||
<handler event="keypress" key=" " action="this.open = true;"/>
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
<binding id="menu-button-base"
|
||||
extends="chrome://global/content/bindings/button.xml#button-base">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user