-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IFC] ASSERTION FAILED inlineItem.layoutBox().isInlineLevelBox() in I…
…nlineFormattingUtils::inlineItemWidth https://bugs.webkit.org/show_bug.cgi?id=266387 Reviewed by Antti Koivisto. Do not try to measure out-of-flow content while rebuilding the line due to "revert to last breaking position" type of content. * LayoutTests/fast/inline/inline-content-with-out-of-flow-assert-expected.txt: Added. * LayoutTests/fast/inline/inline-content-with-out-of-flow-assert.html: Added. * Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp: (WebCore::Layout::LineBuilder::rebuildLineWithInlineContent): Canonical link: https://commits.webkit.org/272031@main
- Loading branch information
1 parent
aeda796
commit 2dbd2d5
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
LayoutTests/fast/inline/inline-content-with-out-of-flow-assert-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
PASS if no crash or assert | ||
This should not assert. |
13 changes: 13 additions & 0 deletions
13
LayoutTests/fast/inline/inline-content-with-out-of-flow-assert.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<style> | ||
div { | ||
font-family: Monospace; | ||
font-size: 10px; | ||
width: 100px; | ||
} | ||
</style> | ||
PASS if no crash or assert | ||
<div>This <div style="position: absolute;"></div> should <span style="white-space: pre">not assert.</span></div> | ||
<script> | ||
if (window.testRunner) | ||
testRunner.dumpAsText(); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters