Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0020e0dcb8ba2051f84d2eeb45a1d7c02c05c3b4
https://github.com/WebKit/WebKit/commit/0020e0dcb8ba2051f84d2eeb45a1d7c02c05c3b4
Author: Alan Baradlay <[email protected]>
Date: 2026-09-14 (Mon, 14 Sep 2026)
Changed paths:
M Source/WebCore/editing/SimplifyMarkupCommand.cpp
M Source/WebCore/rendering/RenderInline.cpp
M Source/WebCore/rendering/RenderInline.h
Log Message:
-----------
[cleanup] mayAffectLayout() belongs to SimplifyMarkupCommand, not to
RenderInline
https://bugs.webkit.org/show_bug.cgi?id=324015
<rdar://problem/187249403>
Reviewed by Antti Koivisto.
mayAffectLayout() asks whether an inline box contributes anything to the
geometry of the lines it sits on, which is not a question the render tree ever
needs answered.
* Source/WebCore/editing/SimplifyMarkupCommand.cpp:
(WebCore::mayAffectLayout):
(WebCore::SimplifyMarkupCommand::doApply):
* Source/WebCore/rendering/RenderInline.cpp:
(WebCore::RenderInline::mayAffectLayout const): Deleted.
* Source/WebCore/rendering/RenderInline.h:
Canonical link: https://commits.webkit.org/321130@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications