Changeset 139693 in webkit
- Timestamp:
- Jan 14, 2013 5:19:14 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r139692 r139693 1 2013-01-14 Ojan Vafai <ojan@chromium.org> 2 3 RenderListItem does not need to override computePreferredLogicalWidth 4 https://bugs.webkit.org/show_bug.cgi?id=106839 5 6 Reviewed by Levi Weintraub. 7 8 Apparently there was a time when the list marker was considered part of 9 the list item's preferred width, but that is no longer the case. 10 This code was added in r3421. The code around preferred widths has change 11 a lot since then. 12 13 * rendering/RenderListItem.cpp: 14 * rendering/RenderListItem.h: 15 1 16 2013-01-14 Dima Gorbik <dgorbik@apple.com> 2 17 -
trunk/Source/WebCore/rendering/RenderListItem.cpp
r137336 r139693 273 273 } 274 274 } 275 }276 277 void RenderListItem::computePreferredLogicalWidths()278 {279 ASSERT(preferredLogicalWidthsDirty());280 281 updateMarkerLocation();282 283 RenderBlock::computePreferredLogicalWidths();284 275 } 285 276 -
trunk/Source/WebCore/rendering/RenderListItem.h
r126048 r139693 66 66 67 67 virtual void layout(); 68 virtual void computePreferredLogicalWidths();69 68 70 69 void positionListMarker();
Note: See TracChangeset
for help on using the changeset viewer.