mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-02 12:32:55 +00:00
Bug 527986: new tabs open with partial thumbnail of old tab [r=gavin.sharp]
This commit is contained in:
parent
6188a0718e
commit
940e5e328f
@ -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;
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user