Changeset 145822 in webkit
- Timestamp:
- Mar 14, 2013 10:01:44 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r145820 r145822 1 2013-03-14 Robert Hogan <robert@webkit.org> 2 3 REGRESSION(r145305) Performance: 1.3% mac-release-10.6-webkit-latest/intl2/times/t change after rev 145300 4 https://bugs.webkit.org/show_bug.cgi?id=112125 5 6 Reviewed by Julien Chaffraix. 7 8 When detecting cases where a loaded image may need to move up into the padding created by the row's baseline 9 we don't need to do anything if the row doesn't have a baseline yet. 10 11 * rendering/RenderTableCell.cpp: 12 (WebCore::RenderTableCell::layout): 13 1 14 2013-03-14 Brady Eidson <beidson@apple.com> 2 15 -
trunk/Source/WebCore/rendering/RenderTableCell.cpp
r145596 r145822 252 252 // of them wrong. So if our content's intrinsic height has changed push the new content up into the intrinsic padding and relayout so that the rest of 253 253 // table and row layout can use the correct baseline and height for this cell. 254 if (isBaselineAligned() && cellBaselinePosition() > section()->rowBaseline(rowIndex())) {254 if (isBaselineAligned() && section()->rowBaseline(rowIndex()) && cellBaselinePosition() > section()->rowBaseline(rowIndex())) { 255 255 int newIntrinsicPaddingBefore = max<LayoutUnit>(0, intrinsicPaddingBefore() - max<LayoutUnit>(0, cellBaselinePosition() - oldCellBaseline)); 256 256 setIntrinsicPaddingBefore(newIntrinsicPaddingBefore);
Note: See TracChangeset
for help on using the changeset viewer.