Bugzilla Bug 70857 [XUL Syntax] Replace <boxDerivedTag align="horizontal|vertical"> with
authortimeless%mac.com
Mon, 09 Jul 2001 14:38:54 -0400
changeset 40 69f8fb633c4590d64b6052877538429b9677a7b2
parent 39 4f10ad08740cedf93a65693406c1f27bfb4b651e
child 41 4407e924aa003d4b8531156da5213aef04af6929
push id1
push usersdwilsh@shawnwilsher.com
push dateTue, 08 Jul 2008 16:35:39 +0000
bugs70857
Bugzilla Bug 70857 [XUL Syntax] Replace <boxDerivedTag align="horizontal|vertical"> with <boxDerivedTag orient="horizontal|vertical"> patch by andersma@luther.edu r=timeless sr=blake
resources/content/inspector.xul
resources/content/inspectorOverlay.xul
resources/content/keysetOverlay.xul
resources/content/prefs/pref-inspector.xul
resources/content/prefs/pref-sidebar.xul
resources/content/prefs/prefs.xul
resources/content/prefs/prefsOverlay.xul
resources/content/search/modules/commandOverlay.xul
resources/content/search/modules/findFiles/dialog.xul
resources/content/search/modules/junkImgs/dialog.xul
resources/content/search/modules/popupOverlay.xul
resources/content/sidebar/sidebar.xul
resources/content/statusbarOverlay.xul
resources/content/tests/allskin.xul
resources/content/toolboxOverlay.xul
resources/content/utilWindow.xul
resources/content/viewers/dom/columnsDialog.xul
resources/content/viewers/dom/commandOverlay.xul
resources/content/viewers/dom/findDialog.xul
resources/content/viewers/dom/keysetOverlay.xul
resources/content/viewers/dom/popupOverlay.xul
resources/content/viewers/styleRules/commandOverlay.xul
resources/content/viewers/styleRules/keysetOverlay.xul
resources/content/viewers/styleRules/popupOverlay.xul
resources/content/viewers/styleRules/styleRules.xul
--- a/resources/content/inspector.xul
+++ b/resources/content/inspector.xul
@@ -30,14 +30,14 @@
   <keyset id="ksGlobalKeyset"/>
   <broadcasterset id="brsGlobalCommands"/>
 
   <toolbox id="tbxInsToolbox">
     <menubar id="mbrInspectorMain"/>
     <toolbar id="tbInspectorPrimary"/>
   </toolbox>
 
-  <box id="bxInspectorMain" flex="1"/>
+  <hbox id="bxInspectorMain" flex="1"/>
   
-  <box id="bxStatus"/>
+  <hbox id="bxStatus"/>
 </window>
 
         
--- a/resources/content/inspectorOverlay.xul
+++ b/resources/content/inspectorOverlay.xul
@@ -23,54 +23,54 @@
   <script type="application/x-javascript" src="chrome://inspector/content/jsutil/system/file.js"/>
   <script type="application/x-javascript" src="chrome://inspector/content/search/inSearchService.js"/>
   <script type="application/x-javascript" src="chrome://inspector/content/search/inSearchModule.js"/>
   <script type="application/x-javascript" src="chrome://inspector/content/jsutil/xul/inFormManager.js"/>
   <script type="application/x-javascript" src="chrome://inspector/content/search/inSearchUtils.js"/>
   <script type="application/x-javascript" src="chrome://inspector/content/search/inSearchTreeBuilder.js"/>
   <script type="application/x-javascript" src="chrome://inspector/content/jsutil/xul/inTreeTableBuilder.js"/>
 
-  <box id="bxInspectorMain" orient="vertical">
+  <vbox id="bxInspectorMain">
 
-    <box id="bxInspectorPanes" orient="horizontal" flex="1" hide="true">
-      <box id="bxDocPane" class="viewer-pane" flex="1" orient="vertical">
-        <box id="bxDocHeader" class="viewer-pane-header" autostretch="never">
+    <hbox id="bxInspectorPanes" flex="1" hide="true">
+      <vbox id="bxDocPane" class="viewer-pane" flex="1">
+        <hbox id="bxDocHeader" class="viewer-pane-header" autostretch="never">
           <menubutton class="viewer-list" ins-role="viewer-list" disabled="true"/>
           <text class="viewer-title" ins-role="viewer-title" flex="1"/>
           <menubutton class="viewer-menu" ins-role="viewer-menu" disabled="true"/>
-        </box>
+        </hbox>
         <iframe id="ifDocViewer" class="viewer-iframe" flex="1" ins-role="viewer-iframe"/>
-      </box>
+      </vbox>
       
       <splitter orient="vertical" collapse="before">
         <grippy/>
       </splitter>
 
-      <box id="bxObjectPane" class="viewer-pane" flex="1" orient="vertical">
-        <box id="bxObjHeader" class="viewer-pane-header" autostretch="never">
+      <vbox id="bxObjectPane" class="viewer-pane" flex="1">
+        <hbox id="bxObjHeader" class="viewer-pane-header" autostretch="never">
           <menubutton class="viewer-list" ins-role="viewer-list" disabled="true"/>
           <text class="viewer-title" ins-role="viewer-title" flex="1"/>
           <menubutton class="viewer-menu" ins-role="viewer-menu" disabled="true"/>
-        </box>
+        </hbox>
         <iframe id="ifObjViewer" class="viewer-iframe" flex="1" ins-role="viewer-iframe"/>
-      </box>
-    </box>
+      </vbox>
+    </hbox>
 
     <splitter id="splBrowser" class="titled-splitter" 
         onopen="inspector.onSplitterOpen(this)"
         value="Browser" closebutton="true" collapse="after"/>
-    <box id="bxBrowser" flex="1">
+    <hbox id="bxBrowser" flex="1">
       <browser id="ifBrowser" type="content-primary" flex="1" src="about:blank"/>
-    </box>
+    </hbox>
 
     <splitter id="splSearch" class="titled-splitter" 
         onopen="inspector.onSplitterOpen(this)"
         value="Search Results" closebutton="true" collapse="after"/>
-    <box id="bxSearch" orient="vertical">
+    <vbox id="bxSearch">
       <tree id="trSearch" flex="1" context="ppSearchResults" datasources="rdf:null">
         <template/>
       </tree>
     
       <!-- TEMPORARY UNTIL FIX FOR 54237 -->
       <browser id="inSearchServiceLoader" height="1"/>
-    </box>
-  </box>
+    </vbox>
+  </vbox>
 </overlay>
--- a/resources/content/keysetOverlay.xul
+++ b/resources/content/keysetOverlay.xul
@@ -31,9 +31,9 @@
             observes="?observes" oncommand="?oncommand"/>
         </action>
       </rule>
     </template>
   </keyset>
 
 </overlay>
 
-        
\ No newline at end of file
+        
--- a/resources/content/prefs/pref-inspector.xul
+++ b/resources/content/prefs/pref-inspector.xul
@@ -23,61 +23,61 @@
     {
       parent.initPanel("chrome://inspector/content/prefs/pref-inspector.xul");
     }
 
     AddColorPicker(initFunction);
 
   ]]/>
 
-  <box class="box-smallheader" title="&Inspector.label;"/>
+  <hbox class="box-smallheader" title="&Inspector.label;"/>
 
-  <box id="bxGeneralPrefs">
-    <titledbox>
+  <hbox id="bxGeneralPrefs">
+    <groupbox>
       <label value="Element Blinking"/>
-      <box orient="vertical">
+      <vbox>
         <grid>
           <columns>
             <column/>
             <column flex="1"/>
           </columns>
           <rows>
             <row autostretch="never">
               <text value="Border Color"/>
-              <box autostretch="never">
+              <hbox autostretch="never">
                 <colorpicker id="cprElBorderColor" type="button"
                   pref="true" preftype="color" prefstring="inspector.blink.border-color" prefattribute="color"/>
-              </box>
+              </hbox>
             </row>
             <row autostretch="never">
               <text value="Border Width"/>
-              <box autostretch="never">
+              <hbox autostretch="never">
                 <textbox id="txfElBorderWidth" style="width: 4em"
                   pref="true" preftype="int" prefstring="inspector.blink.border-width" prefattribute="value"/>
                 <text value="(px)"/>
-              </box>
+              </hbox>
             </row>
             <row autostretch="never">
               <text value="Blink Duration"/>
-              <box autostretch="never">
+              <hbox autostretch="never">
                 <textbox id="txfElDuration" style="width: 4em"
                   pref="true" preftype="int" prefstring="inspector.blink.duration" prefattribute="value"/>
                 <text value="(s)"/>
-              </box>
+              </hbox>
             </row>
             <row autostretch="never">
               <text value="Blink Speed"/>
-              <box autostretch="never">
+              <hbox autostretch="never">
                 <textbox id="txfElSpeed" style="width: 4em"
                   pref="true" preftype="int" prefstring="inspector.blink.speed" prefattribute="value"/>
                 <text value="(ms)"/>
-               </box>
+               </hbox>
             </row>
           </rows>
         </grid>
-        <box autostretch="never">
+        <hbox autostretch="never">
           <checkbox id="cbElOn" label="Blink Selected Element"
               pref="true" preftype="bool" prefstring="inspector.blink.on" prefattribute="checked"/>
-        </box>
-      </box>
-    </titledbox>
-  </box>
+        </hbox>
+      </vbox>
+    </groupbox>
+  </hbox>
 </window>
--- a/resources/content/prefs/pref-sidebar.xul
+++ b/resources/content/prefs/pref-sidebar.xul
@@ -7,20 +7,20 @@
 
 <window id="winPrefSidebar" orient="vertical"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
   <script type="application/x-javascript" src="chrome://inspector/content/jsutil/xpcom/XPCU.js"/>
   <script type="application/x-javascript" src="chrome://inspector/content/jsutil/rdf/RDFU.js"/>
   <script type="application/x-javascript" src="chrome://inspector/content/prefs/pref-sidebar.js"/>
 
-  <box class="box-smallheader" title="&Sidebar.label;"/>
+  <hbox class="box-smallheader" title="&Sidebar.label;"/>
 
-  <box id="bxSidebarPrefs">
-    <box id="bxSidebarInstalled" collapsed="true" flex="1">
+  <hbox id="bxSidebarPrefs">
+    <hbox id="bxSidebarInstalled" collapsed="true" flex="1">
       <text value="The sidebar panel is currently installed."/>
-    </box>
-    <box id="bxSidebarNotInstalled" collapsed="true" flex="1" orient="vertical">
+    </hbox>
+    <vbox id="bxSidebarNotInstalled" collapsed="true" flex="1">
       <text value="The sidebar panel is not currently installed.  Click the 'Install' button to add it to your sidebar."/>
       <button label="Install" onclick="gSidebarPrefs.installSidebar()"/>
-    </box>
-  </box>
+    </vbox>
+  </hbox>
 </window>
--- a/resources/content/prefs/prefs.xul
+++ b/resources/content/prefs/prefs.xul
@@ -13,10 +13,10 @@
 
   <script type="application/x-javascript" src="chrome://inspector/content/prefs/InspectorPrefs.js"/>
 
   <tabbox flex="1">
     <tabs id="tabsPrefs"/>
     <tabpanels id="tabpanelsPrefs" flex="1"/>
   </tabbox>
 
-  <box id="okCancelButtonsRight"/>
+  <hbox id="okCancelButtonsRight"/>
 </window>
--- a/resources/content/prefs/prefsOverlay.xul
+++ b/resources/content/prefs/prefsOverlay.xul
@@ -17,9 +17,9 @@
           </treerow>
         </treeitem>
       </treechildren>
     </treeitem>
   </treechildren>
 
 </overlay>
 
-        
\ No newline at end of file
+        
--- a/resources/content/search/modules/commandOverlay.xul
+++ b/resources/content/search/modules/commandOverlay.xul
@@ -15,9 +15,9 @@
 
     <broadcaster id="cmd:startFindFiles"
       oncommand="inspector.startSearchModule('chrome://inspector/content/search/modules/findFiles/findFiles.xml')"/>
 
   </broadcasterset>
 
 </overlay>
 
-        
\ No newline at end of file
+        
--- a/resources/content/search/modules/findFiles/dialog.xul
+++ b/resources/content/search/modules/findFiles/dialog.xul
@@ -12,25 +12,25 @@
         persist="screenX screenY"    
         orient="vertical"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
   <script type="application/x-javascript" src="chrome://inspector/content/search/modules/findFiles/dialog.js"/>
   <script type="application/x-javascript" src="chrome://inspector/content/jsutil/xpcom/XPCU.js"/>
   <script type="application/x-javascript" src="chrome://inspector/content/jsutil/system/FilePickerUtils.js"/>
   
-  <box orient="vertical">
-    <box autostretch="never">
+  <vbox>
+    <hbox autostretch="never">
       <text id="txSearchFor" value="&txSearchFor.label;"/>
       <textbox id="txfSearchFor" style="width: 25em;" persist="true"/>
-    </box>
-    <box autostretch="never">
+    </hbox>
+    <hbox autostretch="never">
       <text id="txSearchPath" value="&txSearchPath.label;"/>
       <textbox id="txfSearchPath" style="width: 25em;" persist="true"/>
       <button id="btnSearchPathBrowser" label="Browse" onclick="dialog.browse()" persist="true"/>
-    </box>
-    <box autostretch="never">
+    </hbox>
+    <hbox autostretch="never">
       <checkbox id="cbRecurse" label="&cbRecurse.label;"/>
-    </box>    
-  </box>
+    </hbox>    
+  </vbox>
 
-  <box id="okCancelButtonsRight"/>
+  <hbox id="okCancelButtonsRight"/>
 </window>
--- a/resources/content/search/modules/junkImgs/dialog.xul
+++ b/resources/content/search/modules/junkImgs/dialog.xul
@@ -12,28 +12,28 @@
         persist="screenX screenY"    
         orient="vertical"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
   <script type="application/x-javascript" src="chrome://inspector/content/search/modules/junkImgs/dialog.js"/>
   <script type="application/x-javascript" src="chrome://inspector/content/jsutil/xpcom/XPCU.js"/>
   <script type="application/x-javascript" src="chrome://inspector/content/jsutil/system/FilePickerUtils.js"/>
 
-  <box orient="vertical">
+  <vbox>
     <html style="width: 400px">&junkImgsDescription;</html>
-    <box autostretch="never">
+    <hbox autostretch="never">
       <text id="txSearchPath" value="Search Path:"/>
       <textbox id="txfSearchPath" flex="1" style="width: 25em;" persist="true"/>
       <button id="btnSearchPathBrowser" value="Browse" onclick="dialog.browse()"/>
-    </box>
+    </hbox>
     <!--
-    <box autostretch="never">
+    <hbox autostretch="never">
       <text id="txRemotePath" value="Target URL:"/>
       <textbox id="txfRemotePath" flex="1" persist="true"/>
-    </box>
-    <box autostretch="never">
+    </hbox>
+    <hbox autostretch="never">
       <checkbox id="cbIsSkin" label="Target is a Skin" checked="true" persist="true"/>
-    </box>
+    </hbox>
     -->
-  </box>
+  </vbox>
 
-  <box id="okCancelButtonsRight"/>
+  <hbox id="okCancelButtonsRight"/>
 </window>
--- a/resources/content/search/modules/popupOverlay.xul
+++ b/resources/content/search/modules/popupOverlay.xul
@@ -20,9 +20,9 @@
       observes="cmd:startJunkImgs"/>
     
     <menuseparator position="3"/>
     
   </menupopup>
 
 </overlay>
 
-        
\ No newline at end of file
+        
--- a/resources/content/sidebar/sidebar.xul
+++ b/resources/content/sidebar/sidebar.xul
@@ -38,28 +38,28 @@
   <broadcasterset id="brsGlobalCommands"/>
 
   <tabbox id="tabboxInspectorSidebar" flex="1">
     <tabs>
       <tab label="Document"/>
       <tab label="Node"/>
     </tabs>
     <tabpanels flex="1">
-      <box id="bxDocPane" flex="1" orient="vertical">
-        <box id="bxDocHeader" autostretch="never">
+      <vbox id="bxDocPane" flex="1">
+        <hbox id="bxDocHeader" autostretch="never">
           <menubutton class="viewer-list" ins-role="viewer-list" disabled="true"/>
           <text class="viewer-title" ins-role="viewer-title" flex="1"/>
           <menubutton class="viewer-menu" ins-role="viewer-menu" disabled="true"/>
-        </box>
+        </hbox>
         <iframe id="ifDocViewer" class="viewer-iframe" flex="1" ins-role="viewer-iframe"/>
-      </box>
+      </vbox>
       
-      <box id="bxObjectPane" flex="1" orient="vertical">
-        <box id="bxObjHeader" autostretch="never">
+      <vbox id="bxObjectPane" flex="1">
+        <hbox id="bxObjHeader" autostretch="never">
           <menubutton class="viewer-list" ins-role="viewer-list" disabled="true"/>
           <text class="viewer-title" ins-role="viewer-title" flex="1"/>
           <menubutton class="viewer-menu" ins-role="viewer-menu" disabled="true"/>
-        </box>
+        </hbox>
         <iframe id="ifObjViewer" class="viewer-iframe" flex="1" ins-role="viewer-iframe"/>
-      </box>
+      </vbox>
     </tabpanels>
   </tabbox>
 </window>
--- a/resources/content/statusbarOverlay.xul
+++ b/resources/content/statusbarOverlay.xul
@@ -1,11 +1,11 @@
 <?xml version="1.0"?> 
 
 <overlay id="ovStatusbar"
          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <box id="bxStatus">
+  <hbox id="bxStatus">
     <progressmeter id="pmStatus" mode="normal" value="0"/>
     <text id="txStatus" value="Ready"/>
-  </box>
+  </hbox>
 
 </overlay>
--- a/resources/content/tests/allskin.xul
+++ b/resources/content/tests/allskin.xul
@@ -74,9 +74,9 @@
 
 <window orient="vertical"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
   
   <text value="All skin css files are now loaded."/>
 
 </window>
 
-        
\ No newline at end of file
+        
--- a/resources/content/toolboxOverlay.xul
+++ b/resources/content/toolboxOverlay.xul
@@ -46,27 +46,27 @@
     <menu id="mnHelp" label="&mnHelp.label;" accesskey="&mnHelp.accesskey;">
       <menupopup id="mppHelp"/>
     </menu>
 
   </menubar>
 
   <toolbar id="tbInspectorPrimary">
 
-    <box id="bxURLBar" flex="1" autostretch="never" valign="middle">
+    <hbox id="bxURLBar" flex="1" autostretch="never" valign="middle">
       <text id="txDocument" class="toolbar-header1" value="&txDocument.label;"/>
-      <box id="bxURLBarContainer" flex="1">
-        <box autostretch="never" valign="middle" flex="1">
+      <hbox id="bxURLBarContainer" flex="1">
+        <hbox autostretch="never" valign="middle" flex="1">
           <image id="imgURLBarIcon"/>
 
           <textbox
             id="tfURLBar" class="plain" flex="1" 
             observes="cmdGotoURL"
             tooltip="PPTooltip" tooltiptext="Enter a URL to inspect"/>  
-        </box>
+        </hbox>
 
         <menubutton id="mbHistory" class="menubutton-icon">
 
           <menupopup 
             id="mppHistory"
             popupalign="topright" popupanchor="bottomright"
             datasources="rdf:null" ref="inspector:history">
 
@@ -82,16 +82,16 @@
                   <menuitem uri="?item" label="?url" oncommand="inspector.goToHistoryItem(this)"/>
                 </action>
               </rule>
             </template>
           
           </menupopup>
 
         </menubutton>
-      </box>
+      </hbox>
 
       <button class="button-toolbar-3" label="&btnInspect.label;" observes="cmdGotoURL"/>
-    </box>
+    </hbox>
 
   </toolbar>
 
 </overlay>
--- a/resources/content/utilWindow.xul
+++ b/resources/content/utilWindow.xul
@@ -3,18 +3,18 @@
 <window id="inspectorUtilWindow"
         width="200" height="200"
         persist="screenX screenY width height sizemode"
         onload="opener.UtilWindowOpenListener(window)"
         orient="vertical"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <spring flex="1"/>
-    <box id="bxOuter" orient="horizontal" flex="1">
+    <hbox id="bxOuter" flex="1">
       <spring flex="1"/>
-      <box id="bxCenter" autostretch="never"/>
+      <hbox id="bxCenter" autostretch="never"/>
       <spring flex="1"/>
-    </box>
+    </hbox>
     <spring flex="1"/>
 
 </window>
 
-        
\ No newline at end of file
+        
--- a/resources/content/viewers/dom/columnsDialog.xul
+++ b/resources/content/viewers/dom/columnsDialog.xul
@@ -11,12 +11,12 @@
   
   <script type="application/x-javascript" src="chrome://inspector/content/viewers/dom/columnsDialog.js"/>
   <script type="application/x-javascript" src="chrome://inspector/content/utils.js"/>
   <script type="application/x-javascript" src="chrome://inspector/content/jsutil/xpcom/XPCU.js"/>
   <script type="application/x-javascript" src="chrome://inspector/content/jsutil/rdf/RDFU.js"/>
   <script type="application/x-javascript" src="chrome://inspector/content/jsutil/xul/inTreeTableBuilder.js"/>
   <script type="application/x-javascript" src="chrome://inspector/content/jsutil/xul/DNDUtils.js"/>
 
-  <box id="bxColumns" flex="1" orient="vertical"
+  <vbox id="bxColumns" flex="1"
     ondragdrop="dialog.onDragDropIn(event);"
     ondraggesture="dialog.onDragGesture(event);"/>
 </window>
--- a/resources/content/viewers/dom/commandOverlay.xul
+++ b/resources/content/viewers/dom/commandOverlay.xul
@@ -22,9 +22,9 @@
       oncommand="inspector.getViewer('dom').toggleAnonContent()"/>
 
     <broadcaster id="cmd:showColumns" viewer="dom"
       oncommand="inspector.getViewer('dom').showColumnsDialog()"/>
   </broadcasterset>
 
 </overlay>
 
-        
\ No newline at end of file
+        
--- a/resources/content/viewers/dom/findDialog.xul
+++ b/resources/content/viewers/dom/findDialog.xul
@@ -19,49 +19,49 @@
     <broadcaster id="cmdFind" oncommand="dialog.doFind()" onkeypress="if (event.keyCode == 13) dialog.doFind()"/>
     <broadcaster id="cmdClose" oncommand="dialog.close()"/>
   </broadcasterset>
 
   <keyset id="ksKeys">
     <key id="kClose" keycode="VK_ESCAPE" observes="cmdClose"/>
   </keyset>
 
-  <box orient="vertical" autostretch="never">
+  <vbox autostretch="never">
     <grid>
       <columns>
         <column/>
         <column flex="1"/>
       </columns>
       <rows>
         <row id="rwRow1">
           <text id="txText1" value=""/>
           <textbox id="tfText1" observes="cmdFind"/>
         </row>
         <row id="rwRow2">
           <text id="txText2" value=""/>
           <textbox id="tfText2" observes="cmdFind"/>
         </row>
       </rows>
     </grid>
-    <box orient="horizontal" autostretch="never" style="vertical-align: top">
-      <titledbox id="tbxType">
+    <hbox autostretch="never" style="vertical-align: top">
+      <groupbox id="tbxType">
         <label value="Search By"/>
         <radiogroup id="rgType" orient="vertical">
           <radio id="rdType_id" label="ID" oncommand="dialog.toggleType('id')"/>
           <radio id="rdType_tag" label="Tag" oncommand="dialog.toggleType('tag')"/>
           <radio id="rdType_attr" label="Attribute" oncommand="dialog.toggleType('attr')"/>
         </radiogroup>
-      </titledbox>
-      <titledbox id="tbxDirection" hide="true">
+      </groupbox>
+      <groupbox id="tbxDirection" hide="true">
         <label value="Direction"/>
         <radiogroup id="rgDirection" orient="horizontal">
           <radio id="rdDir_up" label="Up"/>
           <radio id="rdDir_down" label="Down"/>
         </radiogroup>
-      </titledbox>
-    </box>
-  </box>
+      </groupbox>
+    </hbox>
+  </vbox>
 
-  <box orient="vertical">
+  <vbox>
     <button label="Find" observes="cmdFind" default="true"/>
     <button label="Close" observes="cmdClose"/>
-  </box>
+  </vbox>
 </window>
--- a/resources/content/viewers/dom/keysetOverlay.xul
+++ b/resources/content/viewers/dom/keysetOverlay.xul
@@ -7,9 +7,9 @@
 
   <keyset id="ksGlobalKeyset">
     <key id="key:find" xulkey="true" key="&cmdShowFindDialog.accelkey;" observes="cmd:find" modifiers="accel"/>
     <key id="key:findNext" keycode="VK_F3" observes="cmd:findNext"/>
   </keyset>
 
 </overlay>
 
-        
\ No newline at end of file
+        
--- a/resources/content/viewers/dom/popupOverlay.xul
+++ b/resources/content/viewers/dom/popupOverlay.xul
@@ -64,9 +64,9 @@
       type="checkbox"
       label="&cmdToggleAnonContent.label;"
       accesskey="&cmdToggleAnonContent.accesskey;"
       observes="cmd:toggleAnon"/>
   </menupopup>
 
 </overlay>
 
-        
\ No newline at end of file
+        
--- a/resources/content/viewers/styleRules/commandOverlay.xul
+++ b/resources/content/viewers/styleRules/commandOverlay.xul
@@ -5,9 +5,9 @@
 <overlay id="ovStyleRulesViewerCommands"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
   <broadcasterset id="brsGlobalCommands">
   </broadcasterset>
 
 </overlay>
 
-        
\ No newline at end of file
+        
--- a/resources/content/viewers/styleRules/keysetOverlay.xul
+++ b/resources/content/viewers/styleRules/keysetOverlay.xul
@@ -7,9 +7,9 @@
 
   <keyset id="ksGlobalKeyset">
     <key id="key:find" xulkey="true" key="&cmdShowFindDialog.accelkey;" observes="cmd:find" modifiers="accel"/>
     <key id="key:findNext" keycode="VK_F3" observes="cmd:findNext"/>
   </keyset>
 
 </overlay>
 
-        
\ No newline at end of file
+        
--- a/resources/content/viewers/styleRules/popupOverlay.xul
+++ b/resources/content/viewers/styleRules/popupOverlay.xul
@@ -8,9 +8,9 @@
   <popupset id="ppsGlobalPopupset">
   </popupset>
 
   <menupopup id="mppSearch">
   </menupopup>
 
 </overlay>
 
-        
\ No newline at end of file
+        
--- a/resources/content/viewers/styleRules/styleRules.xul
+++ b/resources/content/viewers/styleRules/styleRules.xul
@@ -38,17 +38,17 @@
       <menuitem label="Delete" oncommand="viewer.cmdDeleteSelectedProperty()"/>
       <menuseparator/>
       <menuitem label="Toggle !important" oncommand="viewer.cmdToggleSelectedImportant()"/>
     </popup>
   </popupset>
 
   <!--============================= CONTENT ============================== -->
 
-  <box orient="vertical">
+  <vbox>
     <tree id="trStyleRules"
       flex="1" context="ppStyleRuleContext"
       onselect="viewer.onRuleSelect()"
       datasources="rdf:null" ref="inspector:RuleRoot">
 
       <template>
         <rule>
           <conditions>
@@ -94,17 +94,17 @@
           <treecell class="treecell-header" label="File"/>
           <treecell class="treecell-header" label="Weight"/>
           <treecell class="treecell-header" label="Line"/>
         </treerow>
       </treehead>
 
       <treechildren flex="1"/>
     </tree>
-  </box>
+  </vbox>
 
   <splitter orient="horizontal" collapse="after">
     <grippy/>
   </splitter>
 
   <tree id="trStyleDec" class="tree-editable"
     onafteredit="viewer.cmdSetSelectedPropertyValue(event.editingItem, event.newValue)"
     flex="1" context="ppStyleDecContext"