[Webkit-unassigned] [Bug 239689] Setting white-space to non-default value dynamically on a blank (whitespace/new line) IFC does not work correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Dec 31 07:16:20 PST 2022


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

--- Comment #6 from zalan <zalan at apple.com> ---
(In reply to zalan from comment #2)
> 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.
Let's see what Antti thinks.

-- 
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/20221231/f3aee1b6/attachment.htm>


More information about the webkit-unassigned mailing list