зеркало из https://github.com/mozilla/pjs.git
Bug 429857 - Don't show entry divisor for last entry in location bar autocomplete. r=gavin
This commit is contained in:
Родитель
ba1cc8ffd6
Коммит
7f64b97cd8
|
@ -1057,13 +1057,14 @@
|
|||
<body>
|
||||
<![CDATA[
|
||||
var controller = this.mInput.controller;
|
||||
var matchCount = this._matchCount;
|
||||
var existingItemsCount = this.richlistbox.childNodes.length;
|
||||
|
||||
// Process maxRows per chunk to improve performance and user experience
|
||||
for (let i = 0; i < this.maxRows; i++) {
|
||||
if (this._currentIndex >= this._matchCount)
|
||||
if (this._currentIndex >= matchCount)
|
||||
return;
|
||||
|
||||
var existingItemsCount = this.richlistbox.childNodes.length;
|
||||
var item;
|
||||
|
||||
// trim the leading/trailing whitespace
|
||||
|
|
|
@ -148,10 +148,13 @@ treechildren.autocomplete-treebody::-moz-tree-cell-text(selected) {
|
|||
|
||||
.autocomplete-richlistitem {
|
||||
padding: 1px 2px;
|
||||
border-bottom: 1px solid ThreeDLightShadow;
|
||||
color: MenuText;
|
||||
}
|
||||
|
||||
.autocomplete-richlistitem:not(:first-child) {
|
||||
border-top: 1px solid ThreeDLightShadow;
|
||||
}
|
||||
|
||||
.ac-site-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
|
|
|
@ -139,7 +139,10 @@ treechildren.autocomplete-treebody::-moz-tree-cell-text(selected) {
|
|||
|
||||
.autocomplete-richlistitem {
|
||||
padding: 1px 2px;
|
||||
border-bottom: 1px solid ThreeDLightShadow;
|
||||
}
|
||||
|
||||
.autocomplete-richlistitem:not(:first-child) {
|
||||
border-top: 1px solid ThreeDLightShadow;
|
||||
}
|
||||
|
||||
.ac-site-icon {
|
||||
|
|
|
@ -137,7 +137,10 @@ treechildren.autocomplete-treebody::-moz-tree-cell-text(selected) {
|
|||
|
||||
.autocomplete-richlistitem {
|
||||
padding: 1px 2px;
|
||||
border-bottom: 1px solid ThreeDLightShadow;
|
||||
}
|
||||
|
||||
.autocomplete-richlistitem:not(:first-child) {
|
||||
border-top: 1px solid ThreeDLightShadow;
|
||||
}
|
||||
|
||||
.ac-site-icon {
|
||||
|
|
Загрузка…
Ссылка в новой задаче