Bug 261955

Summary: shape-outside-margin-box-border-radius-{007, 008}.html assert on debug builds
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Tim Nguyen (:ntim) 2023-09-22 09:48:27 PDT
ASSERTION FAILED: m_hasValidTop && (m_hasPrecomputedMarginBefore || m_hasValidVerticalMargin)
/Volumes/Data/Code/Safari/OpenSource/Source/WebCore/layout/layouttree/LayoutBoxGeometry.h(211) : LayoutUnit WebCore::Layout::BoxGeometry::top() const
1   0x13af2c930 WTFCrash
2   0x2a75473bc WebCore::AudioWorkletGlobalScope::~AudioWorkletGlobalScope()
3   0x2a82bd5c8 WebCore::Layout::BoxGeometry::top() const
4   0x2a82bd24c WebCore::Layout::BoxGeometry::borderBoxRect(WebCore::Layout::BoxGeometry const&)
5   0x2a90757e8 WebCore::LayoutIntegration::LineLayout::enclosingBorderBoxRectFor(WebCore::RenderInline const&) const
6   0x2a9ff3660 WebCore::RenderInline::linesBoundingBox() const
7   0x2a858a5f4 WebCore::Position::hasRenderedNonAnonymousDescendantsWithHeight(WebCore::RenderElement const&)
8   0x2a8588808 WebCore::Position::isCandidate() const
9   0x2a86d6000 WebCore::previousVisuallyDistinctCandidate(WebCore::Position const&)
10  0x2a87ac538 WebCore::VisiblePosition::previous(WebCore::EditingBoundaryCrossingRule, bool*) const
11  0x2a7735e78 WebCore::VisiblePosition::characterBefore() const
12  0x2a87b73f8 WebCore::previousBoundary(WebCore::VisiblePosition const&, unsigned int (*)(WTF::StringView, unsigned int, WebCore::BoundarySearchContextAvailability, bool&), WebCore::NeedsContextAtParagraphStart)
13  0x2a87b2f3c WebCore::startOfWord(WebCore::VisiblePosition const&, WebCore::WordSide)
14  0x2a87bc03c WebCore::withinTextUnitOfGranularity(WebCore::VisiblePosition const&, WebCore::TextGranularity, WebCore::SelectionDirection)
15  0x2a87bd420 WebCore::enclosingTextUnitOfGranularity(WebCore::VisiblePosition const&, WebCore::TextGranularity, WebCore::SelectionDirection)
16  0x2a87bde40 WebCore::wordRangeFromPosition(WebCore::VisiblePosition const&)
17  0x2a870a5e0 WebCore::Editor::stringForCandidateRequest() const
18  0x11cfd9120 WebKit::WebPage::getPlatformEditorState(WebCore::LocalFrame&, WebKit::EditorState&) const
19  0x11df2ca4c WebKit::WebPage::editorState(WebKit::WebPage::ShouldPerformLayout) const
20  0x11df46e88 WebKit::WebPage::sendEditorStateUpdate()
21  0x11df49818 WebKit::WebPage::flushPendingEditorStateUpdate()
22  0x11dba3d08 WebKit::WebContextMenu::show()
23  0x11dbd3428 WebKit::WebFrame::handleContextMenuEvent(WebCore::PlatformMouseEvent const&)
24  0x11dbd3608 WebKit::WebFrame::handleMouseEvent(WebKit::WebMouseEvent const&)
Comment 1 Radar WebKit Bug Importer 2023-09-22 09:48:35 PDT
<rdar://problem/115898767>