[Webkit-unassigned] [Bug 222406] Render tree updates for Text node content mutations should not be synchronous

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 25 13:38:55 PST 2021


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

--- Comment #6 from Antti Koivisto <koivisto at iki.fi> ---
> Shouldn't this be handled by the next step triggering a render tree update?

In theory yes, but it is very difficult to discover all the paths that would need it as there is no guarantee test coverage is complete. In practice missing cases would be discover via regressions.

> It's going to be hard for author of new code to know if they have to call
> updateStyleIfNeeded() or not.

These just maintain the existing behaviour (sync render tree update on Text content mutations). 

Anyone working on this code needs to be careful about updates in any case, this patch in no way changes that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210225/6f117440/attachment.htm>


More information about the webkit-unassigned mailing list