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
parent 6188a0718e
commit 940e5e328f
3 changed files with 10 additions and 12 deletions

View File

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

View File

@ -700,7 +700,8 @@ box[type="documenttab"] {
box[type="documenttab"] .documenttab-canvas { box[type="documenttab"] .documenttab-canvas {
/* keep the unselected thumbnails aligned with the selected one */ /* 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 { box[type="documenttab"][selected="true"] .documenttab-canvas {

View File

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