title: Focusin and focusout methods not working in firefox
body: <p>I have a list like this:</p>
  
  <pre><code>&lt;ul class="tabs-dropdown"&gt;
      &lt;li&gt;&lt;a href="/home"&gt;Home&lt;/a&gt;&lt;/li&gt;
  
      &lt;li&gt;
          &lt;a href="javascript:"&gt;French Alps&lt;/a&gt;
          &lt;div&gt;
              &lt;ul&gt;
                  &lt;li&gt;&lt;a href="/region/french-alps/about"&gt;About&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="/region/french-alps/properties"&gt;Properties&lt;/a&gt;&lt;/li&gt;
              &lt;/ul&gt;
          &lt;/div&gt;
      &lt;/li&gt;
  
      &lt;li&gt;
          &lt;a href="javascript:"&gt;Swiss Alps&lt;/a&gt;
          &lt;div&gt;
              &lt;ul&gt;
                  &lt;li&gt;&lt;a href="/region/swiss-alps/about"&gt;About&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="/region/swiss-alps/properties"&gt;Properties&lt;/a&gt;&lt;/li&gt;
              &lt;/ul&gt;
          &lt;/div&gt;
      &lt;/li&gt;
  
      &lt;li&gt;&lt;a href="/finance"&gt;Finance&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/contact"&gt;Contact Us&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>and some javascript like this:</p>
  
  <pre><code>var element = angular.element(document.querySelector('ul'));
  
  element.children().on('focusin', function () {
      angular.element(this).addClass('focused');
  }).on('focusout', function () {
      angular.element(this).removeClass('focused');
  });
  </code></pre>
  
  <p><a href="http://jsfiddle.net/an57D/3/" rel="nofollow">Here is the fiddle with all the code</a></p>
  
  <p>Basically, I want the first level list elements to become red when any of their descendents have focus. I am listening for the focusin and focusout events on the first level list elements to achieve this.</p>
  
  <p>The best way to apply focus to the elements in the example is to tab to them.</p>
  
  <p>This works fine in Chrome and IE but not in Firefox and I can't think why.</p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>If you are wondering why I am doing this in AngularJS and not jQuery, its because this code is part of an Angular directive and this is just the bit that doesn't work.</p>