Changeset 184446 in webkit
- Timestamp:
- May 17, 2015 11:16:58 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r184440 r184446 1 2015-05-17 Manuel Rego Casasnovas <rego@igalia.com> 2 3 [CSS Grid Layout] Add scrollbar width in intrinsic logical widths computation 4 https://bugs.webkit.org/show_bug.cgi?id=145021 5 6 Reviewed by Sergio Villar Senin. 7 8 * fast/css-grid-layout/compute-intrinsic-widths-scrollbar-expected.txt: Added. 9 * fast/css-grid-layout/compute-intrinsic-widths-scrollbar.html: Added. 10 1 11 2015-05-16 Zalan Bujtas <zalan@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r184444 r184446 1 2015-05-17 Manuel Rego Casasnovas <rego@igalia.com> 2 3 [CSS Grid Layout] Add scrollbar width in intrinsic logical widths computation 4 https://bugs.webkit.org/show_bug.cgi?id=145021 5 6 Like for flexboxes we've to take into account the scrollbar logical 7 width while computing the intrinsic min and max logical widths. 8 9 Reviewed by Sergio Villar Senin. 10 11 Test: fast/css-grid-layout/compute-intrinsic-widths-scrollbar.html 12 13 * rendering/RenderGrid.cpp: 14 (WebCore::RenderGrid::computeIntrinsicLogicalWidths): Add scrollbar 15 logical width. 16 1 17 2015-05-17 Xabier Rodriguez Calvar <calvaris@igalia.com> and Youenn Fablet <youenn.fablet@crf.canon.fr> 2 18 -
trunk/Source/WebCore/rendering/RenderGrid.cpp
r183660 r184446 302 302 minLogicalWidth += minTrackBreadth; 303 303 maxLogicalWidth += maxTrackBreadth; 304 305 // FIXME: This should add in the scrollbarWidth (e.g. see RenderFlexibleBox). 306 } 304 } 305 306 LayoutUnit scrollbarWidth = intrinsicScrollbarLogicalWidth(); 307 minLogicalWidth += scrollbarWidth; 308 maxLogicalWidth += scrollbarWidth; 307 309 308 310 if (!wasPopulated)
Note: See TracChangeset
for help on using the changeset viewer.