Summary: | [LFC] Box::establishesBlockFormattingContext should check isInitialContainingBlock | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | zalan <zalan> | ||||
Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
zalan
2020-03-21 21:52:35 PDT
Created attachment 394193 [details]
Patch
Comment on attachment 394193 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=394193&action=review > Source/WebCore/layout/layouttree/LayoutBox.cpp:74 > + if (isInitialContainingBlock()) > return true; Maybe ASSERT(parent()) after? (In reply to Antti Koivisto from comment #3) > Comment on attachment 394193 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=394193&action=review > > > Source/WebCore/layout/layouttree/LayoutBox.cpp:74 > > + if (isInitialContainingBlock()) > > return true; > > Maybe ASSERT(parent()) after? In the upcoming patch, parent() is going to return const Container&. Committed r258836: <https://trac.webkit.org/changeset/258836> All reviewed patches have been landed. Closing bug and clearing flags on attachment 394193 [details]. |