Bug 519961 - Get rid of XUL box for hbox element contained an inline img child warning, r=Standard8, a=philor
authorPhil Ringnalda <philringnalda@gmail.com>
Tue, 06 Oct 2009 20:53:55 -0700
changeset 4065 1ea1a945d4a0fb05c8701b6677ba3a61dd52f45c
parent 4064 11eb8c57e70068832920d08eea53a5a66a7b2cce
child 4066 2ba64b8ebd490cab3bf69f3dc39a56ea31d7bb21
push idunknown
push userunknown
push dateunknown
reviewersStandard8, philor
bugs519961
Bug 519961 - Get rid of XUL box for hbox element contained an inline img child warning, r=Standard8, a=philor
mail/components/addrbook/content/addressbook.xul
--- a/mail/components/addrbook/content/addressbook.xul
+++ b/mail/components/addrbook/content/addressbook.xul
@@ -733,22 +733,20 @@
       
       <!-- card view -->
       <hbox id="CardViewOuterBox" flex="1" minheight="100" height="200" persist="height"> 
         <vbox id="CardViewBox" flex="1">
           <vbox id="CardViewInnerBox" collapsed="true" flex="1">
             <description id="CardTitle"/>
             <hbox flex="1">
               <vbox id="cvbPhoto" class="cardViewGroup">
-                <hbox style="min-width: 10ch; max-width: 10ch;">
-                  <spacer flex="1"/>
-                  <html:img align="center" src="" id="cvPhoto"
-                            style="max-width: 10ch; max-height: 10ch; min-width: 1ch;"/>
-                  <spacer flex="1"/>
-                </hbox>
+                <description style="min-width: 10ch; max-width: 10ch; text-align: center;">
+                  <html:img id="cvPhoto"
+                            style="max-width: 10ch; max-height: 10ch;"/>
+                </description>
               </vbox>
               <vbox flex="1">
                 <vbox id="cvbContact" class="cardViewGroup">
                   <description class="CardViewHeading" id="cvhContact">&contact.heading;</description>          
                   <description class="CardViewLink" id="cvListNameBox">
                     <html:p><html:a href="" id="cvListName"/></html:p>
                   </description>
                   <description class="CardViewText" id="cvDisplayName"/>