-
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.
ASAN_SEGV | Hard null deref |LayoutIntegration::BoxTree::layoutBoxFor…
…Renderer; LayoutIntegration::LineLayout::enclosingBorderBoxRectFor; WebCore::RenderInline::linesBoundingBox. https://bugs.webkit.org/show_bug.cgi?id=266567. rdar://114586645. Reviewed by Alan Baradlay. similar to 107979394, apply handling for repainting a freshly inserted sticky inline box. * LayoutTests/fast/inline/sticky-inline-box-invalidation-repaint-crash-expected.txt: Added. * LayoutTests/fast/inline/sticky-inline-box-invalidation-repaint-crash.html: Added. * LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/dynamic-childlist-002-expected.txt: re-baseline for rdar://119187070. * Source/WebCore/rendering/RenderInline.cpp: (WebCore::RenderInline::linesBoundingBox const): Originally-landed-as: 272448.75@safari-7618-branch (2534e02). rdar://124556813 Canonical link: https://commits.webkit.org/276404@main
- Loading branch information
1 parent
e095431
commit 81b0d44
Showing
4 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
LayoutTests/fast/inline/sticky-inline-box-invalidation-repaint-crash-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 @@ | ||
PASS if no crash. |
15 changes: 15 additions & 0 deletions
15
LayoutTests/fast/inline/sticky-inline-box-invalidation-repaint-crash.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,15 @@ | ||
<style> | ||
*, image { path('M 0') -1px; border-top-left-radius: 1vmax } | ||
#htmlvar00006 { display: inline; separate; position: sticky; } | ||
#htmlvar00003, #htmlvar00003 { content: url(#svgvar00008); } | ||
#htmlvar00008 { path('M -1'); 0em; position: fixed; } | ||
</style> | ||
<script> | ||
if (window.testRunner) | ||
testRunner.dumpAsText(); | ||
</script> | ||
<q list="htmlvar00002">PASS if no crash.</q> | ||
<p id="htmlvar00003" focus="true"></p> | ||
<form id="htmlvar00006" behavior="scroll"> | ||
<legend id="htmlvar00008" mayscript="false"></legend> | ||
</form> |
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
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