title: Is it possible to attach a click event to a document fragment?
body: <p>What I have tried:</p>
  
  <pre><code>// creating elements
  var container = document.createDocumentFragment();
  var headline = document.createElement('h1');
  headline.innerHTML = 'This is a headline.';
  
  // attaching to DOM
  container.appendChild(headline);
  document.body.appendChild(container);
  
  // attaching click event
  container.addEventListener('click', function () {
      console.log(arguments);
  });
  </code></pre>
  
  <p>This example does not work. The event is not triggered.</p>
  
  <p><strong>Is there any way to attach a click event to a document fragment or is it simply not possible?</strong></p>