Bug 527986: new tabs open with partial thumbnail of old tab [r=gavin.sharp]

This commit is contained in:
Vivien Nicolas 2009-11-22 23:27:31 -05:00
Родитель 6188a0718e
Коммит 940e5e328f
3 изменённых файлов: 10 добавлений и 12 удалений

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

@ -2334,12 +2334,11 @@ ProgressController.prototype = {
}
// if we are idle at this point, be sure to kick start the prefetcher
if (Browser._browserView._idleServiceObserver.isIdle()) {
//dump("kicking off restartPrefetchCrawl\n");
Browser._browserView._tileManager.restartPrefetchCrawl();
}
this._tab.updateThumbnail();
if (Browser._browserView._idleServiceObserver.isIdle())
Browser._browserView._tileManager.restartPrefetchCrawl();
if (this.browser.currentURI.spec != "about:blank")
this._tab.updateThumbnail();
},
_documentStop: function() {
@ -2514,9 +2513,6 @@ Tab.prototype = {
},
startLoading: function() {
//if (this._loading)
// dump("!!! Already loading this tab, please file a bug\n");
this._loading = true;
this._browserViewportState.zoomChanged = false;

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

@ -700,7 +700,8 @@ box[type="documenttab"] {
box[type="documenttab"] .documenttab-canvas {
/* keep the unselected thumbnails aligned with the selected one */
border: 0.8mm solid transparent;
border: 0.8mm solid #36373b;
background-color: white;
}
box[type="documenttab"][selected="true"] .documenttab-canvas {

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

@ -445,11 +445,12 @@ autocompleteresult.allbookmarks > .autocomplete-item-url {
box[type="documenttab"] .documenttab-canvas {
/* keep the unselected thumbnails aligned with the selected one */
border: 1.0mm solid transparent;
border: 0.8mm solid #36373b;
background-color: white;
}
box[type="documenttab"][selected="true"] .documenttab-canvas {
border: 1.0mm solid #262629;
border: 0.8mm solid #262629;
-moz-border-radius: 4px;
}