mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 20:55:39 +00:00
Bug 1369704 - Menulist items aren't highlighted r=mconley
MozReview-Commit-ID: 3rrWq4zhBhF --HG-- extra : rebase_source : 3d3450b468ca8debcf18f7709154df2517a62ee5
This commit is contained in:
parent
49a7bff27a
commit
7b7036e509
@ -13,7 +13,7 @@ var gSearchResultsPane = {
|
||||
init() {
|
||||
let controller = this.getSelectionController();
|
||||
this.findSelection = controller.getSelection(Ci.nsISelectionController.SELECTION_FIND);
|
||||
this.findSelection.setColors("currentColor", "#ffe900", "currentColor", "#540ead");
|
||||
this.findSelection.setColors("currentColor", "#ffe900", "currentColor", "#003eaa");
|
||||
this.searchResultsCategory = document.getElementById("category-search-results");
|
||||
|
||||
this.searchInput = document.getElementById("searchInput");
|
||||
@ -303,7 +303,10 @@ var gSearchResultsPane = {
|
||||
this.listSearchTooltips.push(nodeObject);
|
||||
}
|
||||
|
||||
if (nodeObject.tagName == "button" && (labelResult || valueResult || keywordsResult)) {
|
||||
if ((nodeObject.tagName == "button" ||
|
||||
nodeObject.tagName == "menulist" ||
|
||||
nodeObject.tagName == "menuitem") &&
|
||||
(labelResult || valueResult || keywordsResult)) {
|
||||
nodeObject.setAttribute("highlightable", "true");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user