<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Changing canvas height immediately after page load does not relayout canvas"
   href="https://bugs.webkit.org/show_bug.cgi?id=156097#c14">Comment # 14</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Changing canvas height immediately after page load does not relayout canvas"
   href="https://bugs.webkit.org/show_bug.cgi?id=156097">bug 156097</a>
              from <span class="vcard"><a class="email" href="mailto:graouts&#64;webkit.org" title="Antoine Quint &lt;graouts&#64;webkit.org&gt;"> <span class="fn">Antoine Quint</span></a>
</span></b>
        <pre>Per the spec, all replaced content, which &lt;canvas&gt; is considered to be, have their width and height attributes affect their layout values should there not be any CSS properties set to control them. So in this case, there is definitely a bug since width and height are &quot;auto&quot;. RenderImage::repaintOrMarkForLayout() does what we want here, we may need to bring this up to RenderReplaced.</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>