title: Capture two events in two overlapped elements
body: <p>I have two divs that are overlapped with two mouse-events. Is it possible to capture both events? I'm only able to capture A or B, but not A and B at the same time.</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-js lang-js prettyprint-override"><code>function adown() {
    console.log('A')
  }
  
  function bdown() {
    console.log('B')
  }</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#a {
    pointer-events: all;
    width: 200px;
    height: 200px;
    background: red;
    position: absolute;
  }
  
  #b {
    pointer-events: all;
    width: 200px;
    height: 200px;
    background: blue;
    position: absolute;
    opacity: 0.5;
    top: 50px;
    left: 50px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="a" onmousedown="adown()"&gt;&lt;/div&gt;
  &lt;div id="b" onmousedown="bdown()"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>