author Sriram Ramasubramanian <>
Tue, 02 Apr 2013 15:55:09 -0700
changeset 133328 ba4b5ba5492b1679347251a1eb169bc12546842f
parent 96742 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 857342 - Don't animate the tab counter if the BrowserToolbar isn't visible. r=mfinkle, a=akeybl

<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at -->

<bindings id="splitterBindings"

  <binding id="splitter" extends="xul:splitter">
      <stylesheet src="chrome://global/skin/splitter.css"/>

  <binding id="grippy" extends="xul:button">
      <stylesheet src="chrome://global/skin/splitter.css"/>
      <handler event="command">
          var splitter = this.parentNode;
          if (splitter) {
            var state = splitter.getAttribute("state");
            if (state == "collapsed")
              splitter.setAttribute("state", "open");
              splitter.setAttribute("state", "collapsed");