Changeset 249083 in webkit
- Timestamp:
- Aug 24, 2019, 6:24:29 AM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
layout/blockformatting/BlockMarginCollapse.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r249082 r249083 1 2019-08-24 Zalan Bujtas <zalan@apple.com> 2 3 [LFC][BFC] Non-inline formatting context(table, grid etc) root container should not collapse through. 4 https://bugs.webkit.org/show_bug.cgi?id=201099 5 <rdar://problem/54658946> 6 7 Reviewed by Antti Koivisto. 8 9 I didn't manage to find it in the spec, but surely formatting contexts like table, grid and flex should behave like 10 block so that their vertical margins are not adjoining, when they have at least one inflow child. 11 12 * layout/blockformatting/BlockMarginCollapse.cpp: 13 (WebCore::Layout::BlockFormattingContext::MarginCollapse::marginsCollapseThrough): 14 1 15 2019-08-24 Zalan Bujtas <zalan@apple.com> 2 16 -
trunk/Source/WebCore/layout/blockformatting/BlockMarginCollapse.cpp
r248200 r249083 409 409 } 410 410 411 if (establishesBlockFormattingContext(layoutBox))412 return false;411 // A root of a non-inline formatting context (table, flex etc) with inflow descendants should not collapse through. 412 return false; 413 413 } 414 414
Note:
See TracChangeset
for help on using the changeset viewer.