<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Loading in-body stylesheets should not block rendering of elements before them"
href="https://bugs.webkit.org/show_bug.cgi?id=169345#c12">Comment # 12</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Loading in-body stylesheets should not block rendering of elements before them"
href="https://bugs.webkit.org/show_bug.cgi?id=169345">bug 169345</a>
from <span class="vcard"><a class="email" href="mailto:simon.fraser@apple.com" title="Simon Fraser (smfr) <simon.fraser@apple.com>"> <span class="fn">Simon Fraser (smfr)</span></a>
</span></b>
<pre>Comment on <span class=""><a href="attachment.cgi?id=303812&action=diff" name="attach_303812" title="wip">attachment 303812</a> <a href="attachment.cgi?id=303812&action=edit" title="wip">[details]</a></span>
wip
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=303812&action=review">https://bugs.webkit.org/attachment.cgi?id=303812&action=review</a>
<span class="quote">> Source/WebCore/dom/Document.cpp:1251
> + fprintf(stderr, "Document::setVisualUpdatesAllowed %d\n", visualUpdatesAllowed);</span >
You should add LOG(Style, ...) for logging like this that you find useful.
<span class="quote">> Source/WebCore/dom/Document.cpp:1824
> + if (m_renderView->needsLayout())
> + frameView.scheduleRelayout();</span >
How does needsLayout() become true without a layout already having been scheduled? This seems odd.
<span class="quote">> Source/WebCore/rendering/RenderBlock.cpp:1536
> + fprintf(stderr, "RenderBlock::paint isNotFinal\n");</span >
LOG(Style, ...)?
<span class="quote">> Source/WebCore/rendering/RenderLayer.cpp:3945
> + fprintf(stderr, "shouldSuppressPaintingLayer\n");</span >
Log(Style, ...)?
<span class="quote">> Source/WebCore/style/StyleTreeResolver.cpp:171
> + fprintf(stderr, "m_didSeePendingStylesheet not styling\n");</span >
LOG
<span class="quote">> Source/WebCore/style/StyleTreeResolver.cpp:184
> + fprintf(stderr, "m_didSeePendingStylesheet marking non-final\n");</span >
LOG</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>