<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Updating class name of a shadow host does not update the style applied by :host()"
href="https://bugs.webkit.org/show_bug.cgi?id=158900#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Updating class name of a shadow host does not update the style applied by :host()"
href="https://bugs.webkit.org/show_bug.cgi?id=158900">bug 158900</a>
from <span class="vcard"><a class="email" href="mailto:koivisto@iki.fi" title="Antti Koivisto <koivisto@iki.fi>"> <span class="fn">Antti Koivisto</span></a>
</span></b>
<pre><span class="quote">> Is there a solid guarantee that authorStyle is non-null? I noticed this
> pattern repeating in the code so the question applies not just here but at
> many other sites too.</span >
Yes, StyleResolver constructor calls resetAuthorStyle() which creates authorStyle. There is no path to delete it. Definitely something that could be cleaned up.
<span class="quote">> Can we skip this work if mayAffectStyle is already true?</span >
Yes, though not super important.</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>