Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(832)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp

Issue 2699393002: Place ellipsis correctly inside inline-blocks (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp b/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
index ae2eadfc902ce6e935f2d21b54182063f5168300..697ce090f68bdc40dcdf379503a3fc5a9ad0dab5 100644
--- a/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
@@ -1184,7 +1184,8 @@ void LayoutDeprecatedFlexibleBox::applyLineClamp(FlexBoxIterator& iterator,
LayoutUnit blockLeftEdge = destBlock.logicalLeftOffsetForLine(
lastVisibleLine->y(), DoNotIndentText);
lastVisibleLine->placeEllipsis(ellipsisStr, leftToRight, blockLeftEdge,
- blockRightEdge, LayoutUnit(totalWidth));
+ blockRightEdge, LayoutUnit(totalWidth),
+ LayoutUnit(), false);
destBlock.setHasMarkupTruncation(true);
}
}

Powered by Google App Engine
This is Rietveld 408576698