Changeset 120354 in webkit
- Timestamp:
- Jun 14, 2012 1:08:26 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r120350 r120354 1 2012-06-14 Emil A Eklund <eae@chromium.org> 2 3 Change RenderTableSection::calcRowLogicalHeight to round rather than floor height 4 https://bugs.webkit.org/show_bug.cgi?id=88813 5 6 Reviewed by Julien Chaffraix. 7 8 Add new test ensuring that rows are laid out the desired height when 9 given a height that maps to a device pixel value. 10 11 * fast/sub-pixel/table-rows-have-stable-height-expected.txt: Added. 12 * fast/sub-pixel/table-rows-have-stable-height.html: Added. 13 1 14 2012-06-14 Zan Dobersek <zandobersek@gmail.com> 2 15 -
trunk/Source/WebCore/ChangeLog
r120347 r120354 1 2012-06-14 Emil A Eklund <eae@chromium.org> 2 3 Change RenderTableSection::calcRowLogicalHeight to round rather than floor height 4 https://bugs.webkit.org/show_bug.cgi?id=88813 5 6 Reviewed by Julien Chaffraix. 7 8 Change RenderTableSection::calcRowLogicalHeight to round the 9 logicalHeight instead of flooring it. This matches our rounding logic 10 elsewhere and results in table rows better matching the expected height. 11 12 Test: fast/sub-pixel/table-rows-have-stable-height.html 13 14 * rendering/RenderTableSection.cpp: 15 (WebCore::RenderTableSection::calcRowLogicalHeight): 16 1 17 2012-06-14 Andrey Adaikin <aandrey@chromium.org> 2 18 -
trunk/Source/WebCore/rendering/RenderTableSection.cpp
r119967 r120354 334 334 335 335 // Our base size is the biggest logical height from our cells' styles (excluding row spanning cells). 336 m_rowPos[r + 1] = max(m_rowPos[r] + minimum IntValueForLength(m_grid[r].logicalHeight, 0, viewRenderer), 0);336 m_rowPos[r + 1] = max(m_rowPos[r] + minimumValueForLength(m_grid[r].logicalHeight, 0, viewRenderer).round(), 0); 337 337 338 338 Row& row = m_grid[r].row;
Note: See TracChangeset
for help on using the changeset viewer.