<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Allow the page to render before &lt;link&gt; stylesheet tags in body"
   href="https://bugs.webkit.org/show_bug.cgi?id=149157#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Allow the page to render before &lt;link&gt; stylesheet tags in body"
   href="https://bugs.webkit.org/show_bug.cgi?id=149157">bug 149157</a>
              from <span class="vcard"><a class="email" href="mailto:koivisto&#64;iki.fi" title="Antti Koivisto &lt;koivisto&#64;iki.fi&gt;"> <span class="fn">Antti Koivisto</span></a>
</span></b>
        <pre><span class="quote">&gt; Is this comment accurate with &lt;link rel=&quot;stylesheet&quot;&gt; in the body? Won't we
&gt; force renderer construction anyway?</span >

In normal case we only compute style (and so construct renderers) up to the loading in-body stylesheet. Call to updateLayoutIgnorePendingStylesheet() forces renderer construction for all elements. In that case we generate renderers with non-final style.

<span class="quote">&gt; Wehre is this cleared? I see no calls to
&gt; m_document.setHasNodesWithNonFinalStyle(false)</span >

Document::resolveStyle() has

m_hasNodesWithNonFinalStyle = false;</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>