Changeset 263845 in webkit
- Timestamp:
- Jul 2, 2020, 7:52:20 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/layoutformattingcontext/table-fixed-row-height-simple-expected.html (added)
-
LayoutTests/fast/layoutformattingcontext/table-fixed-row-height-simple.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/layout/tableformatting/TableLayout.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r263844 r263845 1 2020-07-02 Zalan Bujtas <zalan@apple.com> 2 3 [LFC][IFC] Use <tr> computed height as minimum height for the row 4 https://bugs.webkit.org/show_bug.cgi?id=213880 5 6 Reviewed by Antti Koivisto. 7 8 * fast/layoutformattingcontext/table-fixed-row-height-simple-expected.html: Added. 9 * fast/layoutformattingcontext/table-fixed-row-height-simple.html: Added. 10 1 11 2020-07-02 Youenn Fablet <youenn@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r263844 r263845 1 2020-07-02 Zalan Bujtas <zalan@apple.com> 2 3 [LFC][IFC] Use <tr> computed height as minimum height for the row 4 https://bugs.webkit.org/show_bug.cgi?id=213880 5 6 Reviewed by Antti Koivisto. 7 8 Test: fast/layoutformattingcontext/table-fixed-row-height-simple.html 9 10 * layout/tableformatting/TableLayout.cpp: 11 (WebCore::Layout::TableFormattingContext::TableLayout::distributedVerticalSpace): 12 1 13 2020-07-02 Youenn Fablet <youenn@apple.com> 2 14 -
trunk/Source/WebCore/layout/tableformatting/TableLayout.cpp
r263805 r263845 268 268 auto maximumColumnAscent = InlineLayoutUnit { }; 269 269 auto maximumColumnDescent = InlineLayoutUnit { }; 270 // Initial minimum height is the computed height if available <tr style="height: 100px"><td></td></tr> 271 rowHeight[rowIndex] = formattingContext().geometry().computedHeight(rows.list()[rowIndex].box(), availableVerticalSpace).valueOr(0_lu); 270 272 for (size_t columnIndex = 0; columnIndex < columns.size(); ++columnIndex) { 271 273 auto& slot = *m_grid.slot({ columnIndex, rowIndex });
Note:
See TracChangeset
for help on using the changeset viewer.