Changeset 207343 in webkit
- Timestamp:
- Oct 14, 2016 9:23:18 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r207334 r207343 1 2016-10-14 Manuel Rego Casasnovas <rego@igalia.com> 2 3 [css-grid] Changing the argument on fit-content() doesn't cause the grid to be relayout 4 https://bugs.webkit.org/show_bug.cgi?id=163434 5 6 Reviewed by Sergio Villar Senin. 7 8 * fast/css-grid-layout/grid-change-fit-content-argument-expected.txt: Added. 9 * fast/css-grid-layout/grid-change-fit-content-argument.html: Added. 10 1 11 2016-10-14 Joseph Pecoraro <pecoraro@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r207342 r207343 1 2016-10-14 Manuel Rego Casasnovas <rego@igalia.com> 2 3 [css-grid] Changing the argument on fit-content() doesn't cause the grid to be relayout 4 https://bugs.webkit.org/show_bug.cgi?id=163434 5 6 Reviewed by Sergio Villar Senin. 7 8 When fit-content() was implemented a new attribute 9 m_fitContentTrackBreadth was added to GridTrackSize. 10 However we forgot to include it in the == operator implementation, 11 so we were missing the changes on that value. 12 13 Now if you change the argument of a fit-content() track, 14 the track size is properly recomputed. 15 16 Test: fast/css-grid-layout/grid-change-fit-content-argument.html 17 18 * rendering/style/GridTrackSize.h: 19 (WebCore::GridTrackSize::operator==): Check m_fitContentTrackBreadth. 20 1 21 2016-10-14 Commit Queue <commit-queue@webkit.org> 2 22 -
trunk/Source/WebCore/rendering/style/GridTrackSize.h
r207288 r207343 94 94 bool operator==(const GridTrackSize& other) const 95 95 { 96 return m_type == other.m_type && m_minTrackBreadth == other.m_minTrackBreadth && m_maxTrackBreadth == other.m_maxTrackBreadth; 96 return m_type == other.m_type && m_minTrackBreadth == other.m_minTrackBreadth && m_maxTrackBreadth == other.m_maxTrackBreadth 97 && m_fitContentTrackBreadth == other.m_fitContentTrackBreadth; 97 98 } 98 99
Note: See TracChangeset
for help on using the changeset viewer.