Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 20873ff7d538cb07f1884fb71e545be386860125
https://github.com/WebKit/WebKit/commit/20873ff7d538cb07f1884fb71e545be386860125
Author: Alan Baradlay <[email protected]>
Date: 2024-09-11 (Wed, 11 Sep 2024)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
M
Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.cpp
Log Message:
-----------
[IFC] Do not fudge the available width value for min-content width computation
https://bugs.webkit.org/show_bug.cgi?id=279462
Reviewed by Antti Koivisto.
This patch ensures that line breaker sees 0px as available space when computing
for min-content.
(epsilon is required to fix float vs. LayoutUnit precision see comment in
LineBuilder::availableWidth)
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::handleInlineContent):
* Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.cpp:
(WebCore::Layout::TextOnlySimpleLineBuilder::availableWidth const):
Canonical link: https://commits.webkit.org/283484@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