diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml index 89c5b3cc287..62c54c5c90d 100644 --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -111,11 +111,10 @@ - - + + + @@ -215,68 +214,15 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - @@ -897,7 +843,7 @@ var i = 0; for ( ; i < this.parentNode.parentNode.childNodes.length; i++) { - if (this.parentNode.parentNode.childNodes[i].firstChild.nextSibling == this) + if (this.parentNode.parentNode.childNodes[i].firstChild == this) break; } @@ -1037,19 +983,6 @@ - - - - - - - @@ -1172,14 +1105,13 @@ b.setAttribute("autocompletepopup", this.getAttribute("autocompletepopup")); // Add the Message and the Browser to the box - var vbox = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", - "vbox"); - vbox.setAttribute("flex", "1"); - vbox.appendChild(this._createMessage("top")); - vbox.appendChild(b); - vbox.appendChild(this._createMessage("bottom")); + var notificationbox = document.createElementNS( + "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", + "notificationbox"); + notificationbox.setAttribute("flex", "1"); + notificationbox.appendChild(b); b.setAttribute("flex", "1"); - this.mPanelContainer.appendChild(vbox); + this.mPanelContainer.appendChild(notificationbox); b.addEventListener("DOMTitleChanged", this.onTitleChanged, false); @@ -2213,7 +2145,7 @@