[Webkit-unassigned] [Bug 119308] Avoid scanning really wide DOMs in textRendererIsNeeded

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 24 02:46:28 PDT 2022


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

Ahmad Saleem <ahmad.saleem792 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ahmad.saleem792 at gmail.com

--- Comment #1 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
*** In Text.cpp ***

containsOnlyWhitespace does not exist but it exists in:

https://github.com/WebKit/WebKit/blob/43e883ca6575a2913f7d63b35b4fd02ffbe68681/Source/WebCore/editing/cocoa/DataDetection.mm#L381

I tried to find it via "WS" or "Whitespace" but nothing came up.

While I found "isFloatingOrOutOfFlowPositioned" else where in the code but I think below one matches more closely:

https://github.com/WebKit/WebKit/blob/61a1009d68c4718583337288956333b630f6e904/Source/WebCore/rendering/updating/RenderTreeBuilder.cpp#L104

____

Just wanted to share - Is it something still go to do or it can be ignored? Thanks!

-- 
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/20220924/bf912e98/attachment.htm>


More information about the webkit-unassigned mailing list