<?xml version="1.0"?>

<bindings id="classicBindings"
          xmlns="http://www.mozilla.org/xbl"
          xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <binding id="textdisabled" extends="xul:text">
    <content excludes="observes,template">
      <xul:stack>
        <xul:text class="text-bottom" inherits="value,accesskey,crop"/>
        <xul:text class="text-top" inherits="value,accesskey,crop"/>
      </xul:stack>
    </content>
  </binding>

  <binding id="toolbargrippy" extends="xul:box">
    <content orient="vertical">
      <xul:box autostretch="never" halign="center">
        <xul:image class="toolbargrippy-twisty"/>
      </xul:box>
      <xul:spring class="toolbargrippy-texture" flex="1"/>
    </content>
  </binding>
  
  <binding id="radio" extends="chrome://global/content/radioBindings.xml#radio">
    <content excludes="observes">
      <xul:box flex="1" class="radio-internal-box" autostretch="never" valign="middle">
        <xul:box class="radio-checkmark-box-1" autostretch="never" inherits="disabled">
          <xul:box class="radio-checkmark-box-2" autostretch="never" flex="1">
            <xul:image class="radio-check" inherits="checked,disabled"/>
          </xul:box>
        </xul:box>
        <xul:image class="radio-icon" inherits="src,disabled"/>
        <xul:html class="radio-text" inherits="value,accesskey,crop,disabled" flex="1">
          <children/>
        </xul:html>
      </xul:box>
    </content>
  </binding>

  <binding id="checkbox" extends="chrome://global/content/xulBindings.xml#checkbox">
    <content excludes="observes">
      <xul:box flex="1" class="checkbox-internal-box" autostretch="never" valign="middle">
        <xul:box class="checkbox-checkmark-box-1" autostretch="never" inherits="disabled">
          <xul:box class="checkbox-checkmark-box-2" autostretch="never" flex="1">
            <xul:image class="checkbox-check" inherits="checked,disabled"/>
          </xul:box>
        </xul:box>
        <xul:image class="checkbox-icon" inherits="src,disabled"/>
        <xul:html class="checkbox-text" inherits="value,accesskey,crop,disabled" flex="1">
          <children/>
        </xul:html>
      </xul:box>
    </content>
  </binding>

  <binding id="thumb" extends="xul:button">
    <content>
      <xul:box class="thumb-box" autostretch="never" orient="vertical" flex="1">
        <xul:spring class="thumb-spring" flex="1"/>
      </xul:box>
    </content>
  </binding>

  <binding id="scrollbar">
    <content>
      <xul:scrollbarbutton type="decrement" inherits="align:sborient"/>
      <xul:slider flex="1" inherits="curpos,maxpos,pageincrement,increment">
	      <xul:thumb inherits="align,src" flex="1"/>
      </xul:slider>
      <xul:scrollbarbutton type="increment" inherits="align:sborient"/>
    </content>
  </binding>
  
  <binding id="scrollbarbutton">
    <content>
      <xul:box class="scrollbarbutton-box" flex="1">
        <xul:image class="scrollbarbutton-icon" inherits="src"/>
      </xul:box>
    </content>
  </binding>

  <binding id="slider">
    <content>
	    <xul:button class="slider-button"/>
  	</content>
  </binding>
  
  <binding id="grippy">
    <content>
      <xul:box class="grippy-box" flex="1">
        <xul:image class="grippy-image" inherits="src" />
      </xul:box>
    </content>
  </binding>
  
</bindings>
