Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 506eebf66fe61f22a66873261267e3833f5c2b43 https://github.com/WebKit/WebKit/commit/506eebf66fe61f22a66873261267e3833f5c2b43 Author: Alan Baradlay <za...@apple.com> Date: 2023-08-29 (Tue, 29 Aug 2023)
Changed paths: M Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp M Source/WebCore/layout/formattingContexts/inline/InlineLine.h M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp Log Message: ----------- [IFC] Add Line::Run::isContentfulOrHasDecoration https://bugs.webkit.org/show_bug.cgi?id=260809 Reviewed by Antti Koivisto. This is in preparation for static position out-of-flow box computation where the static (logical) vertical position depends on whether the out-of-flow box has a previous sibling with content and/or decoration. (This also addresses the box-decoration case for spanning line boxes.) * Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp: (WebCore::Layout::Line::lineHasVisuallyNonEmptyContent const): (WebCore::Layout::Line::Run::isContentfulOrHasDecoration): * Source/WebCore/layout/formattingContexts/inline/InlineLine.h: * Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp: (WebCore::Layout::LineBoxBuilder::constructInlineLevelBoxes): Canonical link: https://commits.webkit.org/267401@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes