title: Hover event isnt being triggerd for all divs
body: <p>I'm trying to make a page with a background and a content div, one overlapping the other. The div with a class of "content" receives the hover event however the div with a class of "background" receives nothing. I'm not actively disrupting the event in js in any way.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.container {
    height: 100%;
    width: 100%;
    opacity: 1;
  }
  
  .background {
    height: 100%;
    width: 100%;
    position: absolute;
  }
  
  .content {
    height: 100%;
    width: 100%;
    position: absolute;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="container"&gt;
    &lt;div class="background" onmouseover="test(this)"&gt;
    &lt;/div&gt;
    &lt;div class="content"&gt;
      &lt;!-- PANELS --&gt;
      &lt;div class="facePanel" onmouseover="hoveringFacePanel(this)" onmouseleave="hoveringFacePanelOff(this)"&gt;
        &lt;img class="imageShown" src="https://i.pinimg.com/736x/70/d4/22/70d422d5972596f603a94c0faf24a43d--advertising-design-advertising-campaign.jpg" /&gt;
        &lt;img src="https://apple.insidercdn.com/gallery/21413-24435-Screenshot_1-l.jpg" class="imageShown" /&gt;
      &lt;/div&gt;
      &lt;!-- PANELS --&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Fiddle:  <a href="https://jsfiddle.net/6ardv95r/" rel="nofollow noreferrer">https://jsfiddle.net/6ardv95r/</a></p>
  
  <p>UPDATE:</p>
  
  <p>The bubbling nature of events was brought up however this doesnt answer why this behaviour still occurs even when the html is turned into this:</p>
  
  <pre><code> &lt;div class="container"&gt;
          &lt;div class="background" onmouseover="test(this)"&gt;
          &lt;/div&gt;
          &lt;div class="content"&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>In this case the content class doesnt capture any hover event but still no event triggers the background class. Upon removal of the content class the background class works as expected..</p>