Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c6d75c202f1a68a6775a31e789ce687cee6549d5
https://github.com/WebKit/WebKit/commit/c6d75c202f1a68a6775a31e789ce687cee6549d5
Author: Alan Baradlay <[email protected]>
Date: 2023-02-01 (Wed, 01 Feb 2023)
Changed paths:
M
Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.cpp
Log Message:
-----------
[IFC] InlineFormattingGeometry::staticPositionForOutOfFlowBlockLevelBox
should be able to handle empty content
https://bugs.webkit.org/show_bug.cgi?id=251477
<rdar://104797919>
Reviewed by Antti Koivisto.
This is the block level box variant of webkit.org/b/248158 (<- inline level
box).
While line-clamp does not produce empty IFCs anymore (changed at
webkit.org/b/250270), accessing line[0] unconditionally may not be such a great
idea.
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.cpp:
(WebCore::Layout::InlineFormattingGeometry::staticPositionForOutOfFlowBlockLevelBox
const):
Canonical link: https://commits.webkit.org/259684@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes