[Webkit-unassigned] [Bug 239689] Setting white-space to non-default value dynamically on an empty IFC does not work correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 24 21:16:49 PDT 2022


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

--- Comment #2 from zalan <zalan at apple.com> ---
We don't create RenderText renderers for the whitespace/new line only content.

It looks like in RenderTreeUpdater::updateRenderTree
bool mayNeedUpdateWhitespaceOnlyRenderer = renderingParent().didCreateOrDestroyChildRenderer && text.data().isAllSpecialCharacters<isHTMLSpace>();
may need to be updated so that certain parent styles (e.g. white-space) are also taken into account when checking if the text node needs a renderer.

-- 
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/20220425/56f588a2/attachment.htm>


More information about the webkit-unassigned mailing list