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

Unified Diff: third_party/WebKit/Source/core/layout/line/RootInlineBox.h

Issue 2699393002: Place ellipsis correctly inside inline-blocks (Closed)
Patch Set: bug 133700 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/line/RootInlineBox.h
diff --git a/third_party/WebKit/Source/core/layout/line/RootInlineBox.h b/third_party/WebKit/Source/core/layout/line/RootInlineBox.h
index b4dd122f7f3c7d1d8e83367952a582ac2e5b2d58..1567b093eb95d099a69653b8dddde0c925aafc8e 100644
--- a/third_party/WebKit/Source/core/layout/line/RootInlineBox.h
+++ b/third_party/WebKit/Source/core/layout/line/RootInlineBox.h
@@ -112,14 +112,17 @@ class RootInlineBox : public InlineFlowBox {
bool ltr,
LayoutUnit blockLeftEdge,
LayoutUnit blockRightEdge,
- LayoutUnit ellipsisWidth);
+ LayoutUnit ellipsisWidth,
+ LayoutUnit logicalLeftOffset,
+ bool foundBox);
// Return the position of the EllipsisBox or -1.
LayoutUnit placeEllipsisBox(bool ltr,
LayoutUnit blockLeftEdge,
LayoutUnit blockRightEdge,
LayoutUnit ellipsisWidth,
LayoutUnit& truncatedWidth,
- bool& foundBox) final;
+ bool& foundBox,
+ LayoutUnit logicalLeftOffset) final;
using InlineBox::hasEllipsisBox;
EllipsisBox* ellipsisBox() const;

Powered by Google App Engine
This is Rietveld 408576698