[Webkit-unassigned] [Bug 160331] Setter on style element's textContent or cssText doesn't trigger style recalc

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 25 12:34:19 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=160331

--- Comment #8 from Antti Koivisto <koivisto at iki.fi> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160925/28967853/attachment.html>


More information about the webkit-unassigned mailing list