<?xml version="1.0"?>

<bindings id="menulistBindings"
   xmlns="http://www.mozilla.org/xbl"
   xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<!-- 
  BINDING : menulist
  XUL REPRESENTATION : <menulist>
  -->
  <binding id="menulist" extends="chrome://global/content/menulistBindings.xml#menulist">
    <content excludes="template,observes,menupopup" flex="1">
      <xul:box class="menulist-internal-box" flex="1">
        <xul:box class="menulist-display-box" flex="1" valign="middle" autostretch="never">
          <xul:image class="menulist-icon" inherits="src"/>
          <xul:text class="menulist-text" inherits="value,accesskey,crop" crop="right"/>
        </xul:box>
        <xul:box class="menulist-dropmarker-box-1" valign="middle" inherits="open">
          <xul:box class="menulist-dropmarker-box-2" flex="1" autostretch="never" valign="middle" inherits="open">
            <xul:image class="menulist-dropmarker" inherits="disabled"/>
          </xul:box>
        </xul:box>
      </xul:box>
    </content>
  </binding>

  <binding id="menulistpopup">
    <content>
      <xul:box class="menulistpopup-internal-box" orient="vertical" flex="1" style="overflow: auto">
        <children/>
      </xul:box>
    </content>
  </binding>
   
</bindings>