title: this.innerHTML in custom elements
body: <p>I have a web component created with customElements and imported with</p>
  
  <p><code>&lt;link rel="import" href="component.html"&gt;</code></p>
  
  <p>I have this tag <code>&lt;tag-name&gt;test&lt;/tag-name&gt;</code></p>
  
  <p>In constructor I have <code>console.log(this.innerHTML);</code> but I don't see in console 'text' the console is empty.</p>
  
  <pre><code>   (function (thisDoc) {
  
  customElements.define('my-tag', class extends HTMLElement {
  
              constructor() {
              super();
              var templ = thisDoc.getElementById('templId').content.cloneNode(true);
  
              this.attachShadow({
                  mode: 'open'
              }).appendChild(templ);
  
              console.log(this.innerHTML);
  
          }
  
      });
  })(document.currentScript.ownerDocument);
  </code></pre>