<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Setter on style element's textContent or cssText doesn't trigger style recalc"
href="https://bugs.webkit.org/show_bug.cgi?id=160331#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Setter on style element's textContent or cssText doesn't trigger style recalc"
href="https://bugs.webkit.org/show_bug.cgi?id=160331">bug 160331</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>The main reason this fails is a simple bug. We don't signal text content mutations to parent in shadow trees:
void CharacterData::dispatchModifiedEvent(const String& oldData)
{
...
if (!isInShadowTree()) {
if (parentNode()) {
...
parentNode()->childrenChanged(change);
}
Fixing this makes the page render mostly correctly. Generally we should have a reduced test case available before trying to analyze the cause.</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>