Changeset 156608 in webkit for trunk/Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp
- Timestamp:
- Sep 28, 2013, 11:30:16 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp
r155689 r156608 1009 1009 DEFINE_STATIC_LOCAL(AtomicString, ellipsisAndSpaceStr, (ellipsisAndSpace, 2)); 1010 1010 DEFINE_STATIC_LOCAL(AtomicString, ellipsisStr, (&horizontalEllipsis, 1)); 1011 const Font& font = style(numVisibleLines == 1)->font(); 1011 const RenderStyle& lineStyle = numVisibleLines == 1 ? *firstLineStyle() : *style(); 1012 const Font& font = lineStyle.font(); 1012 1013 1013 1014 // Get ellipsis width, and if the last child is an anchor, it will go after the ellipsis, so add in a space and the anchor width too
Note:
See TracChangeset
for help on using the changeset viewer.