[webkit-changes] [WebKit/WebKit] 6f3345: SIGTRAP in WebCore::RenderFlexibleBox::marginBoxAs...
pratiksha-99
noreply at github.com
Mon Oct 28 13:40:06 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6f3345017b9769e62019a4910e8376d7b8dba03b
https://github.com/WebKit/WebKit/commit/6f3345017b9769e62019a4910e8376d7b8dba03b
Author: Pratiksha Choudhury <p_choudhury at apple.com>
Date: 2024-10-28 (Mon, 28 Oct 2024)
Changed paths:
A LayoutTests/fast/rendering/render-flexiblebox-margin-crash-expected.txt
A LayoutTests/fast/rendering/render-flexiblebox-margin-crash.html
M Source/WebCore/rendering/RenderFlexibleBox.cpp
Log Message:
-----------
SIGTRAP in WebCore::RenderFlexibleBox::marginBoxAscentForChild
https://bugs.webkit.org/show_bug.cgi?id=281992
rdar://137178953
Reviewed by Alan Baradlay.
Changed to use a combination of min and max to avoid any invalid range for the flexItem.
* LayoutTests/fast/rendering/render-flexiblebox-margin-crash-expected.txt: Added.
* LayoutTests/fast/rendering/render-flexiblebox-margin-crash.html: Added.
* Source/WebCore/rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::marginBoxAscentForFlexItem):
Canonical link: https://commits.webkit.org/285786@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list