Bug 601409: Add a comment to some confusing search.xml code
authorGavin Sharp <gavin@gavinsharp.com>
Sat, 04 Jan 2014 16:45:29 -0500
changeset 162169 0653ee9db9f20436f38ec1f568e96fbd7b67db32
parent 162168 c15febfd8b291cae342029b2515fb875389a5f35
child 162170 e40099b1ffa219bb620dd565763b7f906d7144cf
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
bugs601409
milestone29.0a1
Bug 601409: Add a comment to some confusing search.xml code
browser/components/search/content/search.xml
--- a/browser/components/search/content/search.xml
+++ b/browser/components/search/content/search.xml
@@ -37,16 +37,21 @@
                    autocompletesearch="search-autocomplete"
                    autocompletesearchparam="searchbar-history"
                    timeout="250"
                    maxrows="10"
                    completeselectedindex="true"
                    showcommentcolumn="true"
                    tabscrolling="true"
                    xbl:inherits="disabled,disableautocomplete,searchengine,src,newlines">
+        <!--
+        Empty <box> to properly position the icon within the autocomplete
+        binding's anonymous children (the autocomplete binding positions <box>
+        children differently)
+        -->
         <xul:box>
           <xul:button class="searchbar-engine-button"
                       type="menu"
                       anonid="searchbar-engine-button">
             <xul:image class="searchbar-engine-image" xbl:inherits="src"/>
             <xul:image class="searchbar-dropmarker-image"/>
             <xul:menupopup class="searchbar-popup"
                            anonid="searchbar-popup">