Changeset 143542 in webkit
- Timestamp:
- Feb 20, 2013, 5:22:43 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r143541 r143542 1 2013-02-20 Christian Biesinger <cbiesinger@chromium.org> 2 3 Incorrect rendering for flex boxes with percentage height in a table cell 4 https://bugs.webkit.org/show_bug.cgi?id=110389 5 6 Reviewed by Tony Chang. 7 8 * css3/flexbox/flex-percentage-height-in-table-expected.html: Added. 9 * css3/flexbox/flex-percentage-height-in-table-standards-mode-expected.html: Added. 10 * css3/flexbox/flex-percentage-height-in-table-standards-mode.html: Added. 11 * css3/flexbox/flex-percentage-height-in-table.html: Added. 12 1 13 2013-02-20 Philip Rogers <pdr@google.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r143541 r143542 1 2013-02-20 Christian Biesinger <cbiesinger@chromium.org> 2 3 Incorrect rendering for flex boxes with percentage height in a table cell 4 https://bugs.webkit.org/show_bug.cgi?id=110389 5 6 Reviewed by Tony Chang. 7 8 Tests: css3/flexbox/flex-percentage-height-in-table-standards-mode.html 9 css3/flexbox/flex-percentage-height-in-table.html 10 11 * rendering/RenderFlexibleBox.cpp: 12 (WebCore::RenderFlexibleBox::layoutAndPlaceChildren): 13 Always update the logical height of the flex box, not just when it is 14 auto. If necessary, the later updateLogicalHeight() call will adjust 15 it. 16 1 17 2013-02-20 Philip Rogers <pdr@google.com> 2 18 -
trunk/Source/WebCore/rendering/RenderFlexibleBox.cpp
r143232 r143542 1135 1135 } else 1136 1136 childCrossAxisMarginBoxExtent = crossAxisExtentForChild(child) + crossAxisMarginExtentForChild(child); 1137 if (!isColumnFlow() && style()->logicalHeight().isAuto())1137 if (!isColumnFlow()) 1138 1138 setLogicalHeight(std::max(logicalHeight(), crossAxisOffset + flowAwareBorderAfter() + flowAwarePaddingAfter() + childCrossAxisMarginBoxExtent + crossAxisScrollbarExtent())); 1139 1139 maxChildCrossAxisExtent = std::max(maxChildCrossAxisExtent, childCrossAxisMarginBoxExtent);
Note:
See TracChangeset
for help on using the changeset viewer.