Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 49185535d39fd2754a3bed9b8a42d7d8ae607738
https://github.com/WebKit/WebKit/commit/49185535d39fd2754a3bed9b8a42d7d8ae607738
Author: Alan Baradlay <[email protected]>
Date: 2025-09-09 (Tue, 09 Sep 2025)
Changed paths:
M Source/WebCore/rendering/TextBoxPainter.cpp
Log Message:
-----------
[cleanup] Replace LayoutBoxLocation with
OptionSet<TextBoxFragmentLocationWithinLayoutBox> in TextBoxPainter
https://bugs.webkit.org/show_bug.cgi?id=298577
Reviewed by Antti Koivisto.
LayoutBoxLocation is a bit verbose with a truly unexpected value of "unknown".
Let's use a more compact OptionSet with first and last, where first+last
indicates the box is the only display box in its layout box (renderer), and
empty indicates it lies in the middle with adjacent boxes from the same layout
box (renderer).
* Source/WebCore/rendering/TextBoxPainter.cpp:
(WebCore::textBoxFragmentLocationWithinLayoutBox):
(WebCore::TextBoxPainter::fillCompositionUnderline const):
(WebCore::layoutBoxSequenceLocation): Deleted.
Canonical link: https://commits.webkit.org/299774@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes