[webkit-changes] [WebKit/WebKit] fe11bc: Inline box may not be present in the enclosing for...
Alan Baradlay
noreply at github.com
Mon Mar 25 21:23:48 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fe11bcadadbf8b7ad5f95d337b6842b4b42982ec
https://github.com/WebKit/WebKit/commit/fe11bcadadbf8b7ad5f95d337b6842b4b42982ec
Author: Alan Baradlay <zalan at apple.com>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M Source/WebCore/rendering/RenderInline.cpp
Log Message:
-----------
Inline box may not be present in the enclosing formatting context
https://bugs.webkit.org/show_bug.cgi?id=268525
rdar://119921061
Reviewed by Antti Koivisto.
Speculative fix when the (potentially damaged) inline box is not present in the enclosing formatting context.
This may happen when RenderInline::linesBoundingBox is called on a dirty tree after moving an inline box (<span>)
from a block to an other (but before clearing the tree by running layout).
* Source/WebCore/rendering/RenderInline.cpp:
(WebCore::RenderInline::linesBoundingBox const):
Originally-landed-as: 272448.456 at safari-7618-branch (66b364de9dfc). rdar://124553574
Canonical link: https://commits.webkit.org/276674@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list