Changeset 83095 in webkit
- Timestamp:
- Apr 6, 2011 1:47:51 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r83091 r83095 1 2011-04-06 David Hyatt <hyatt@apple.com> 2 3 Reviewed by Dan Bernstein. 4 5 https://bugs.webkit.org/show_bug.cgi?id=57975 6 7 The "More..." link for line clamping no longer shows up in Safari RSS. Fix the isLink() check 8 to just look at the style, so that it can find the InlineTextBox and not care that it's a child 9 of the link element and not the line box for the link element itself (since that line box got 10 culled). 11 12 * rendering/RenderFlexibleBox.cpp: 13 (WebCore::RenderFlexibleBox::applyLineClamp): 14 1 15 2011-04-06 Brady Eidson <beidson@apple.com> 2 16 -
trunk/Source/WebCore/rendering/RenderFlexibleBox.cpp
r81992 r83095 971 971 int totalWidth; 972 972 InlineBox* anchorBox = lastLine->lastChild(); 973 if (anchorBox && anchorBox->renderer()-> node() && anchorBox->renderer()->node()->isLink())973 if (anchorBox && anchorBox->renderer()->style()->isLink()) 974 974 totalWidth = anchorBox->logicalWidth() + font.width(TextRun(ellipsisAndSpace, 2)); 975 975 else {
Note: See TracChangeset
for help on using the changeset viewer.