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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlockFlow.h

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/LayoutBlockFlow.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h
index 68e235505e8c1d701348566a949e63623bd338a4..0668d9b41129beaee0aa0e90869043ec57bab63d 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h
@@ -940,6 +940,18 @@ class CORE_EXPORT LayoutBlockFlow : public LayoutBlock {
const BidiStatus& endLineStatus);
void deleteEllipsisLineBoxes();
void checkLinesForTextOverflow();
+ void tryPlacingEllipsisOnAtomicInlines(RootInlineBox*,
+ LayoutUnit blockRightEdge,
+ LayoutUnit blockLeftEdge,
+ LayoutUnit width,
+ const AtomicString&);
+ void placeEllipsis(RootInlineBox* curr,
+ LayoutUnit blockLeftEdge,
+ LayoutUnit blockRightEdge,
+ const AtomicString& selectedEllipsisStr,
+ LayoutUnit ellipsisWidth,
+ LayoutUnit logicalLeftOffset,
+ bool foundBox);
void markLinesDirtyInBlockRange(LayoutUnit logicalTop,
LayoutUnit logicalBottom,
RootInlineBox* highest = nullptr);

Powered by Google App Engine
This is Rietveld 408576698