Changeset 267133 in webkit
- Timestamp:
- Sep 15, 2020 9:33:04 PM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r267131 r267133 1 2020-09-15 Zalan Bujtas <zalan@apple.com> 2 3 [LFC] Use isBlockBox() in Box::establishesBlockFormattingContext 4 https://bugs.webkit.org/show_bug.cgi?id=216595 5 6 Reviewed by Simon Fraser. 7 8 Let's use the Box::isBlockBox() function (now that we have it) to check if a box establishes a new BFC (this matches spec language now). 9 10 * layout/layouttree/LayoutBox.cpp: 11 (WebCore::Layout::Box::establishesBlockFormattingContext const): 12 1 13 2020-09-15 Aditya Keerthi <akeerthi@apple.com> 2 14 -
trunk/Source/WebCore/layout/layouttree/LayoutBox.cpp
r267076 r267133 96 96 } 97 97 98 if (isBlockContainer() && !isBlock LevelBox())99 return true; 100 101 if (isBlock LevelBox() && !isOverflowVisible())98 if (isBlockContainer() && !isBlockBox()) 99 return true; 100 101 if (isBlockBox() && !isOverflowVisible()) 102 102 return true; 103 103
Note: See TracChangeset
for help on using the changeset viewer.