Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3a66f0082150f5853aa62459e279a05d463434f3
https://github.com/WebKit/WebKit/commit/3a66f0082150f5853aa62459e279a05d463434f3
Author: Alan Baradlay <[email protected]>
Date: 2023-11-01 (Wed, 01 Nov 2023)
Changed paths:
A LayoutTests/fast/block/out-of-flow-with-text-indent-expected.html
A LayoutTests/fast/block/out-of-flow-with-text-indent.html
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
Log Message:
-----------
[IFC] Large negative margin (text-indent) may prevent placing out of flow
content
https://bugs.webkit.org/show_bug.cgi?id=264039
Reviewed by Antti Koivisto.
Large enough text-indent value can seemingly make the line have overflow and
force us to trim
"overflowing" out of flow boxes. Overflowing should only be considered when the
line actually has some content.
* LayoutTests/fast/block/out-of-flow-with-text-indent-expected.html: Added.
* LayoutTests/fast/block/out-of-flow-with-text-indent.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::placeInlineAndFloatContent):
Canonical link: https://commits.webkit.org/270075@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes