Bug 1557281 - Clean up MozTabbrowserTab fragment markup. r=dao
authorKaran Sapolia <sapoliakaran@gmail.com>
Fri, 07 Jun 2019 12:34:26 +0000
changeset 477824 73da718bba57cadbdcb0744f6c3b8a6d1cc43cc6
parent 477823 530e97722d13c6706c7895df8f7096416471f3f1
child 477825 1731c1e39b8c6d3d100a6cb10d1a96a5a33fb7c8
push id36125
push userapavel@mozilla.com
push dateFri, 07 Jun 2019 22:00:07 +0000
treeherdermozilla-central@d820bbb356aa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1557281
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1557281 - Clean up MozTabbrowserTab fragment markup. r=dao Differential Revision: https://phabricator.services.mozilla.com/D33957
browser/base/content/tabbrowser-tab.js
--- a/browser/base/content/tabbrowser-tab.js
+++ b/browser/base/content/tabbrowser-tab.js
@@ -59,37 +59,37 @@ class MozTabbrowserTab extends MozElemen
     };
   }
 
   get fragment() {
     if (!this._fragment) {
       this._fragment = MozXULElement.parseXULToFragment(`
         <stack class="tab-stack" flex="1">
           <vbox class="tab-background">
-            <hbox class="tab-line"></hbox>
-            <spacer flex="1" class="tab-background-inner"></spacer>
-            <hbox class="tab-bottom-line"></hbox>
+            <hbox class="tab-line"/>
+            <spacer flex="1" class="tab-background-inner"/>
+            <hbox class="tab-bottom-line"/>
           </vbox>
-          <hbox class="tab-loading-burst"></hbox>
+          <hbox class="tab-loading-burst"/>
           <hbox class="tab-content" align="center">
-            <hbox class="tab-throbber" layer="true"></hbox>
-            <hbox class="tab-icon-pending"></hbox>
-            <image class="tab-icon-image" validate="never" role="presentation"></image>
-            <image class="tab-sharing-icon-overlay" role="presentation"></image>
-            <image class="tab-icon-overlay" role="presentation"></image>
+            <hbox class="tab-throbber" layer="true"/>
+            <hbox class="tab-icon-pending"/>
+            <image class="tab-icon-image" validate="never" role="presentation"/>
+            <image class="tab-sharing-icon-overlay" role="presentation"/>
+            <image class="tab-icon-overlay" role="presentation"/>
             <hbox class="tab-label-container"
                   onoverflow="this.setAttribute('textoverflow', 'true');"
                   onunderflow="this.removeAttribute('textoverflow');"
                   flex="1">
-              <label class="tab-text tab-label" role="presentation"></label>
+              <label class="tab-text tab-label" role="presentation"/>
             </hbox>
             <image class="tab-icon-pip"
-                   role="presentation"></image>
-            <image class="tab-icon-sound" role="presentation"></image>
-            <image class="tab-close-button close-icon" role="presentation"></image>
+                   role="presentation"/>
+            <image class="tab-icon-sound" role="presentation"/>
+            <image class="tab-close-button close-icon" role="presentation"/>
           </hbox>
         </stack>
       `);
     }
     return this.ownerDocument.importNode(this._fragment, true);
   }
 
   connectedCallback() {