<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Shadow DOM: Rendering issues for distributed inputs in deep slots"
href="https://bugs.webkit.org/show_bug.cgi?id=160427#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Shadow DOM: Rendering issues for distributed inputs in deep slots"
href="https://bugs.webkit.org/show_bug.cgi?id=160427">bug 160427</a>
from <span class="vcard"><a class="email" href="mailto:rniwa@webkit.org" title="Ryosuke Niwa <rniwa@webkit.org>"> <span class="fn">Ryosuke Niwa</span></a>
</span></b>
<pre>I'm so sorry. This is a terrible bug :(
For now, you can work around it by running:
var originalValue = shadowHost.style.display;
shadowHost.style.display = 'none'; // Any value different from the current one would do.
getComputedStyle(shadowHost).color; // Any property would do.
shadowHost.style.display = originalValue;
This would force style recall on the entire shadow tree.</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>