<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WebGL based canvases composite incorrectly after changing size"
   href="https://bugs.webkit.org/show_bug.cgi?id=152556#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WebGL based canvases composite incorrectly after changing size"
   href="https://bugs.webkit.org/show_bug.cgi?id=152556">bug 152556</a>
              from <span class="vcard"><a class="email" href="mailto:gman&#64;chromium.org" title="Gregg Tavares &lt;gman&#64;chromium.org&gt;"> <span class="fn">Gregg Tavares</span></a>
</span></b>
        <pre>Also note, setting the containers CSS dimensions fixes the issue although it appears compositing has to happen at least once. In other words

    container.style.width = &quot;401px&quot;; container.style.width = &quot;400px&quot;;

doesn't work but

    container.style.width = &quot;401px&quot;;  // change container size temporarily
    setTimeout(function() {
      container.style.width = &quot;400px&quot;:  // change it back
    }, 200);

Sounds like some internal flag just needs to be set to fix this</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>