[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
Mon Sep 26 16:55:18 PDT 2016


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

--- Comment #18 from Antti Koivisto <koivisto at iki.fi> ---
> It seems easy to make this kind of mistake and call setNeedsStyleRecalc() on
> a ShadowRoot. Would it make sense to either override
> ShadowRoot::setNeedsStyleRecalc() and have it call
> Element::setNeedsStyleRecalc() on its children or mark
> ShadowRoot::setNeedsStyleRecalc() as "delete"d to cause a compile-time error
> when ShadowRoot::setNeedsStyleRecalc() is called.

Good idea, will do something like that later.

-- 
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/20160926/d2bddf84/attachment.html>


More information about the webkit-unassigned mailing list